Class CfnAutoScalingGroup.NotificationConfigurationProperty
A structure that specifies an Amazon SNS notification configuration for the NotificationConfigurations
property of the AWS::AutoScaling::AutoScalingGroup resource.
Inheritance
Namespace: Amazon.CDK.AWS.AutoScaling
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class NotificationConfigurationProperty : Object, CfnAutoScalingGroup.INotificationConfigurationProperty
Syntax (vb)
Public Class NotificationConfigurationProperty
Inherits Object
Implements CfnAutoScalingGroup.INotificationConfigurationProperty
Remarks
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 .
ExampleMetadata: fixture=_generated
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" }
};
Synopsis
Constructors
NotificationConfigurationProperty() |
Properties
NotificationTypes | A list of event types that send a notification. Event types can include any of the following types. |
TopicArn | The Amazon Resource Name (ARN) of the Amazon SNS topic. |
Constructors
NotificationConfigurationProperty()
public NotificationConfigurationProperty()
Properties
NotificationTypes
A list of event types that send a notification. Event types can include any of the following types.
public string[] NotificationTypes { get; set; }
Property Value
System.String[]
Remarks
TopicArn
The Amazon Resource Name (ARN) of the Amazon SNS topic.
public string TopicArn { get; set; }
Property Value
System.String