Interface CfnTrustAnchor.NotificationSettingProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTrustAnchor.NotificationSettingProperty.Jsii$Proxy
- Enclosing class:
CfnTrustAnchor
@Stability(Stable)
public static interface CfnTrustAnchor.NotificationSettingProperty
extends software.amazon.jsii.JsiiSerializable
Customizable notification settings that will be applied to notification events.
IAM Roles Anywhere consumes these settings while notifying across multiple channels - CloudWatch metrics, EventBridge, and AWS Health Dashboard .
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.rolesanywhere.*;
NotificationSettingProperty notificationSettingProperty = NotificationSettingProperty.builder()
.enabled(false)
.event("event")
// the properties below are optional
.channel("channel")
.threshold(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTrustAnchor.NotificationSettingPropertystatic final classAn implementation forCfnTrustAnchor.NotificationSettingProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEnabled
Indicates whether the notification setting is enabled.Returns union: either
BooleanorIResolvable- See Also:
-
getEvent
The event to which this notification setting is applied.- See Also:
-
getChannel
The specified channel of notification.IAM Roles Anywhere uses CloudWatch metrics, EventBridge, and AWS Health Dashboard to notify for an event.
In the absence of a specific channel, IAM Roles Anywhere applies this setting to 'ALL' channels.
- See Also:
-
getThreshold
The number of days before a notification event.This value is required for a notification setting that is enabled.
- See Also:
-
builder
-