Show / Hide Table of Contents

Class NotificationConfiguration

AutoScalingGroup fleet change notifications configurations.

Inheritance
object
NotificationConfiguration
Implements
INotificationConfiguration
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.AutoScaling
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class NotificationConfiguration : INotificationConfiguration
Syntax (vb)
Public Class NotificationConfiguration Implements INotificationConfiguration
Remarks

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

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

             ScalingEvents scalingEvents;
             Topic topic;

             var notificationConfiguration = new NotificationConfiguration {
                 Topic = topic,

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

Synopsis

Constructors

NotificationConfiguration()

AutoScalingGroup fleet change notifications configurations.

Properties

ScalingEvents

Which fleet scaling events triggers a notification.

Topic

SNS topic to send notifications about fleet scaling events.

Constructors

NotificationConfiguration()

AutoScalingGroup fleet change notifications configurations.

public NotificationConfiguration()
Remarks

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

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

             ScalingEvents scalingEvents;
             Topic topic;

             var notificationConfiguration = new NotificationConfiguration {
                 Topic = topic,

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

Properties

ScalingEvents

Which fleet scaling events triggers a notification.

public ScalingEvents? ScalingEvents { get; set; }
Property Value

ScalingEvents

Remarks

Default: ScalingEvents.ALL

Topic

SNS topic to send notifications about fleet scaling events.

public ITopic Topic { get; set; }
Property Value

ITopic

Remarks

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

ExampleMetadata: fixture=_generated

Implements

INotificationConfiguration
Back to top Generated by DocFX