Interface CfnTrustAnchorPropsMixin.NotificationSettingProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTrustAnchorPropsMixin.NotificationSettingProperty.Jsii$Proxy
- Enclosing class:
CfnTrustAnchorPropsMixin
@Stability(Stable)
public static interface CfnTrustAnchorPropsMixin.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.mixins.preview.services.rolesanywhere.mixins.*;
NotificationSettingProperty notificationSettingProperty = NotificationSettingProperty.builder()
.channel("channel")
.enabled(false)
.event("event")
.threshold(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTrustAnchorPropsMixin.NotificationSettingPropertystatic final classAn implementation forCfnTrustAnchorPropsMixin.NotificationSettingProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe specified channel of notification.default ObjectIndicates whether the notification setting is enabled.default StringgetEvent()The event to which this notification setting is applied.default NumberThe number of days before a notification event.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
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:
-
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:
-
getThreshold
The number of days before a notification event.This value is required for a notification setting that is enabled.
- See Also:
-
builder
-