Skip to content

NotificationSetting

Source code in docs_src/capo_rolesanywhere/types/notification_setting.py
class NotificationSetting(TypedDict, closed=True):
    enabled: "bool"
    """<p>Indicates whether the notification setting is enabled.</p>"""
    event: "capo_rolesanywhere.types.notification_event.NotificationEvent"
    """<p>The event to which this notification setting is applied.</p>"""
    threshold: NotRequired["int"]
    """<p>The number of days before a notification event. This value is required for a notification setting that is enabled.</p>"""
    channel: NotRequired[
        "capo_rolesanywhere.types.notification_channel.NotificationChannel"
    ]
    """<p>The specified channel of notification. IAM Roles Anywhere uses CloudWatch metrics, EventBridge, and Health Dashboard to notify for an event.</p> <note> <p>In the absence of a specific channel, IAM Roles Anywhere applies this setting to 'ALL' channels.</p> </note>"""

channel instance-attribute

channel: NotRequired[NotificationChannel]

The specified channel of notification. IAM Roles Anywhere uses CloudWatch metrics, EventBridge, and Health Dashboard to notify for an event.

In the absence of a specific channel, IAM Roles Anywhere applies this setting to 'ALL' channels.

enabled instance-attribute

enabled: bool

Indicates whether the notification setting is enabled.

event instance-attribute

The event to which this notification setting is applied.

threshold instance-attribute

threshold: NotRequired[int]

The number of days before a notification event. This value is required for a notification setting that is enabled.