NotificationConfiguration

class aws_cdk.aws_autoscaling.NotificationConfiguration(*, topic, scaling_events=None)

Bases: object

__init__(*, topic, scaling_events=None)

AutoScalingGroup fleet change notifications configurations.

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

Parameters
  • topic (ITopic) – SNS topic to send notifications about fleet scaling events.

  • scaling_events (Optional[ScalingEvents]) – Which fleet scaling events triggers a notification. Default: ScalingEvents.ALL

Return type

None

Attributes

scaling_events

Which fleet scaling events triggers a notification.

default :default: ScalingEvents.ALL

Return type

Optional[ScalingEvents]

topic

SNS topic to send notifications about fleet scaling events.

Return type

ITopic