Skip to content
v2.274.0

NotificationConfiguration Struct ​

AutoScalingGroup fleet change notifications configurations.

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

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';
import { aws_sns as sns } from 'aws-cdk-lib';

declare const scalingEvents: autoscaling.ScalingEvents;
declare const topic: sns.Topic;
const notificationConfiguration: autoscaling.NotificationConfiguration = {
  topic: topic,

  // the properties below are optional
  scalingEvents: scalingEvents,
};

Properties ​

scalingEventsScalingEventsscaling_eventsScalingEventsscalingEventsScalingEventsScalingEventsScalingEventsScalingEventsScalingEvents= ScalingEvents.ALL#
Which fleet scaling events triggers a notification.
topicITopictopicITopictopicITopicTopicITopicTopicITopicrequired#
SNS topic to send notifications about fleet scaling events.