Interface CfnAutoScalingGroup.INotificationConfigurationProperty
- Namespace
- Amazon.CDK.AWS.AutoScaling
- Assembly
- Amazon.CDK.AWS.AutoScaling.dll
A structure that specifies an Amazon SNS notification configuration for the NotificationConfigurations
property of the AWS::AutoScaling::AutoScalingGroup resource.
public interface CfnAutoScalingGroup.INotificationConfigurationProperty
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AutoScaling;
var notificationConfigurationProperty = new NotificationConfigurationProperty {
TopicArn = "topicArn",
// the properties below are optional
NotificationTypes = new [] { "notificationTypes" }
};
Remarks
For an example template snippet, see Auto scaling template snippets .
For more information, see Get Amazon SNS notifications when your Auto Scaling group scales in the Amazon EC2 Auto Scaling User Guide .
ExampleMetadata: fixture=_generated
Properties
NotificationTypes
A list of event types that send a notification. Event types can include any of the following types.
string[]? NotificationTypes { get; }
Property Value
- string[]
Remarks
Allowed values :
TopicArn
The Amazon Resource Name (ARN) of the Amazon SNS topic.
string TopicArn { get; }