interface EventSubscriptionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.ResilienceHub.Mixins.CfnAppPropsMixin.EventSubscriptionProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsresiliencehub/mixins#CfnAppPropsMixin_EventSubscriptionProperty |
Java | software.amazon.awscdk.mixins.preview.services.resiliencehub.mixins.CfnAppPropsMixin.EventSubscriptionProperty |
Python | aws_cdk.mixins_preview.aws_resiliencehub.mixins.CfnAppPropsMixin.EventSubscriptionProperty |
TypeScript | @aws-cdk/mixins-preview » aws_resiliencehub » mixins » CfnAppPropsMixin » EventSubscriptionProperty |
Indicates an event you would like to subscribe and get notification for.
Currently, AWS Resilience Hub supports notifications only for Drift detected and Scheduled assessment failure events.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as resiliencehub_mixins } from '@aws-cdk/mixins-preview/aws-resiliencehub';
const eventSubscriptionProperty: resiliencehub_mixins.CfnAppPropsMixin.EventSubscriptionProperty = {
eventType: 'eventType',
name: 'name',
snsTopicArn: 'snsTopicArn',
};
Properties
| Name | Type | Description |
|---|---|---|
| event | string | The type of event you would like to subscribe and get notification for. |
| name? | string | Unique name to identify an event subscription. |
| sns | string | Amazon Resource Name (ARN) of the Amazon Simple Notification Service topic. |
eventType?
Type:
string
(optional)
The type of event you would like to subscribe and get notification for.
Currently, AWS Resilience Hub supports notifications only for Drift detected ( DriftDetected ) and Scheduled assessment failure ( ScheduledAssessmentFailure ) events.
name?
Type:
string
(optional)
Unique name to identify an event subscription.
snsTopicArn?
Type:
string
(optional)
Amazon Resource Name (ARN) of the Amazon Simple Notification Service topic.
The format for this ARN is: arn:partition:sns:region:account:topic-name . For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.

.NET
Go
Java
Python
TypeScript