Table of Contents

Interface INotificationConfiguration

Namespace
Amazon.CDK.AWS.AutoScaling
Assembly
Amazon.CDK.AWS.AutoScaling.dll

AutoScalingGroup fleet change notifications configurations.

public interface INotificationConfiguration

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;
             using Amazon.CDK.AWS.SNS;

             ScalingEvents scalingEvents;
             Topic topic;

             var notificationConfiguration = new NotificationConfiguration {
                 Topic = topic,

                 // the properties below are optional
                 ScalingEvents = scalingEvents
             };

Remarks

You can configure AutoScaling to send an SNS notification whenever your Auto Scaling group scales.

ExampleMetadata: fixture=_generated

Properties

ScalingEvents

Which fleet scaling events triggers a notification.

ScalingEvents? ScalingEvents { get; }

Property Value

ScalingEvents

Remarks

Default: ScalingEvents.ALL

Topic

SNS topic to send notifications about fleet scaling events.

ITopic Topic { get; }

Property Value

ITopic