Skip to content

NotificationSettingDetail

Source code in docs_src/capo_rolesanywhere/types/notification_setting_detail.py
class NotificationSettingDetail(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.</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>"""
    configured_by: NotRequired["str"]
    """<p>The principal that configured the notification setting. For default settings configured by IAM Roles Anywhere, the value is <code>rolesanywhere.amazonaws.com</code>, and for customized notifications settings, it is the respective account ID. </p>"""

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.

configured_by instance-attribute

configured_by: NotRequired[str]

The principal that configured the notification setting. For default settings configured by IAM Roles Anywhere, the value is rolesanywhere.amazonaws.com, and for customized notifications settings, it is the respective account ID.

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.