interface NotificationSettingProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.RolesAnywhere.Mixins.CfnTrustAnchorPropsMixin.NotificationSettingProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsrolesanywhere/mixins#CfnTrustAnchorPropsMixin_NotificationSettingProperty |
Java | software.amazon.awscdk.mixins.preview.services.rolesanywhere.mixins.CfnTrustAnchorPropsMixin.NotificationSettingProperty |
Python | aws_cdk.mixins_preview.aws_rolesanywhere.mixins.CfnTrustAnchorPropsMixin.NotificationSettingProperty |
TypeScript | @aws-cdk/mixins-preview » aws_rolesanywhere » mixins » CfnTrustAnchorPropsMixin » NotificationSettingProperty |
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 { mixins as rolesanywhere_mixins } from '@aws-cdk/mixins-preview/aws-rolesanywhere';
const notificationSettingProperty: rolesanywhere_mixins.CfnTrustAnchorPropsMixin.NotificationSettingProperty = {
channel: 'channel',
enabled: false,
event: 'event',
threshold: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| channel? | string | The specified channel of notification. |
| enabled? | boolean | IResolvable | Indicates whether the notification setting is enabled. |
| event? | string | The event to which this notification setting is applied. |
| threshold? | number | The number of days before a notification event. |
channel?
Type:
string
(optional)
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.
enabled?
Type:
boolean | IResolvable
(optional)
Indicates whether the notification setting is enabled.
event?
Type:
string
(optional)
The event to which this notification setting is applied.
threshold?
Type:
number
(optional)
The number of days before a notification event.
This value is required for a notification setting that is enabled.

.NET
Go
Java
Python
TypeScript