interface NotificationSettingProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.RolesAnywhere.CfnTrustAnchorPropsMixin.NotificationSettingProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsrolesanywhere#CfnTrustAnchorPropsMixin_NotificationSettingProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.rolesanywhere.CfnTrustAnchorPropsMixin.NotificationSettingProperty |
Python | aws_cdk.cfn_property_mixins.aws_rolesanywhere.CfnTrustAnchorPropsMixin.NotificationSettingProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_rolesanywhere » 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 Health Dashboard .
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_rolesanywhere as rolesanywhere } from '@aws-cdk/cfn-property-mixins';
const notificationSettingProperty: rolesanywhere.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 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