interface NotificationConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.AutoScaling.Mixins.CfnAutoScalingGroupPropsMixin.NotificationConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsautoscaling/mixins#CfnAutoScalingGroupPropsMixin_NotificationConfigurationProperty |
Java | software.amazon.awscdk.mixins.preview.services.autoscaling.mixins.CfnAutoScalingGroupPropsMixin.NotificationConfigurationProperty |
Python | aws_cdk.mixins_preview.aws_autoscaling.mixins.CfnAutoScalingGroupPropsMixin.NotificationConfigurationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_autoscaling » mixins » CfnAutoScalingGroupPropsMixin » NotificationConfigurationProperty |
A structure that specifies an Amazon SNS notification configuration for the NotificationConfigurations property of the AWS::AutoScaling::AutoScalingGroup resource.
For an example template snippet, see Configure Amazon EC2 Auto Scaling resources .
For more information, see Get Amazon SNS notifications when your Auto Scaling group scales in the Amazon EC2 Auto Scaling User Guide .
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as autoscaling_mixins } from '@aws-cdk/mixins-preview/aws-autoscaling';
const notificationConfigurationProperty: autoscaling_mixins.CfnAutoScalingGroupPropsMixin.NotificationConfigurationProperty = {
notificationTypes: ['notificationTypes'],
topicArn: 'topicArn',
};
Properties
| Name | Type | Description |
|---|---|---|
| notification | string[] | A list of event types that send a notification. Event types can include any of the following types. |
| topic | string | The Amazon Resource Name (ARN) of the Amazon SNS topic. |
notificationTypes?
Type:
string[]
(optional)
A list of event types that send a notification. Event types can include any of the following types.
Allowed values :
autoscaling:EC2_INSTANCE_LAUNCHautoscaling:EC2_INSTANCE_LAUNCH_ERRORautoscaling:EC2_INSTANCE_TERMINATEautoscaling:EC2_INSTANCE_TERMINATE_ERRORautoscaling:TEST_NOTIFICATION
topicArn?
Type:
string
(optional)
The Amazon Resource Name (ARN) of the Amazon SNS topic.

.NET
Go
Java
Python
TypeScript