@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)",
date="2023-03-22T19:35:48.008Z")
public interface NotificationConfiguration
You can configure AutoScaling to send an SNS notification whenever your Auto Scaling group scales.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.autoscaling.*; import software.amazon.awscdk.services.sns.*; ScalingEvents scalingEvents; Topic topic; NotificationConfiguration notificationConfiguration = NotificationConfiguration.builder() .topic(topic) // the properties below are optional .scalingEvents(scalingEvents) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
NotificationConfiguration.Builder
A builder for
NotificationConfiguration |
static class |
NotificationConfiguration.Jsii$Proxy
An implementation for
NotificationConfiguration |
Modifier and Type | Method and Description |
---|---|
static NotificationConfiguration.Builder |
builder() |
default ScalingEvents |
getScalingEvents()
Which fleet scaling events triggers a notification.
|
ITopic |
getTopic()
SNS topic to send notifications about fleet scaling events.
|
ITopic getTopic()
default ScalingEvents getScalingEvents()
Default: ScalingEvents.ALL
static NotificationConfiguration.Builder builder()
NotificationConfiguration.Builder
of NotificationConfiguration