Interface NotificationConfiguration
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
NotificationConfiguration.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-06T23:25:04.711Z")
@Stability(Stable)
public interface NotificationConfiguration
extends software.amazon.jsii.JsiiSerializable
AutoScalingGroup fleet change notifications configurations.
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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forNotificationConfiguration
static final class
An implementation forNotificationConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default ScalingEvents
Which fleet scaling events triggers a notification.getTopic()
SNS topic to send notifications about fleet scaling events.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getTopic
SNS topic to send notifications about fleet scaling events. -
getScalingEvents
Which fleet scaling events triggers a notification.Default: ScalingEvents.ALL
-
builder
- Returns:
- a
NotificationConfiguration.Builder
ofNotificationConfiguration
-