NotificationConfigurationProperty Struct
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
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_autoscaling as autoscaling } from 'aws-cdk-lib';
const notificationConfigurationProperty: autoscaling.CfnAutoScalingGroup.NotificationConfigurationProperty = {
topicArn: 'topicArn',
// the properties below are optional
notificationTypes: ['notificationTypes'],
};
Properties
notificationTypesoptionalstring[]notification_typesoptionaltyping.List[str]notificationTypesoptionalList<String>NotificationTypesoptionalstring[]NotificationTypesoptional*[]*string#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
The Amazon Resource Name (ARN) of the Amazon SNS topic.