Interface NotificationConfiguration
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
NotificationConfiguration.Jsii$Proxy
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-10T13:39:58.892Z")
@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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forNotificationConfigurationstatic final classAn implementation forNotificationConfiguration -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ScalingEventsWhich 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.BuilderofNotificationConfiguration
-