Interface CfnAutoScalingGroup.NotificationConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAutoScalingGroup.NotificationConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnAutoScalingGroup
@Stability(Stable)
public static interface CfnAutoScalingGroup.NotificationConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
A structure that specifies an Amazon SNS notification configuration for the
NotificationConfigurations
property of the AWS::AutoScaling::AutoScalingGroup resource.
For an example template snippet, see Configure Amazon EC2 Auto Scaling resources .
For more information, see Get Amazon SNS notifications when your Auto Scaling group scales in the Amazon EC2 Auto Scaling User Guide .
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.*; NotificationConfigurationProperty notificationConfigurationProperty = NotificationConfigurationProperty.builder() .topicArn("topicArn") // the properties below are optional .notificationTypes(List.of("notificationTypes")) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnAutoScalingGroup.NotificationConfigurationProperty
static final class
An implementation forCfnAutoScalingGroup.NotificationConfigurationProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
A list of event types that send a notification.The Amazon Resource Name (ARN) of the Amazon SNS topic.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getTopicArn
The Amazon Resource Name (ARN) of the Amazon SNS topic.- See Also:
-
getNotificationTypes
A list of event types that send a notification. Event types can include any of the following types.Allowed values :
autoscaling:EC2_INSTANCE_LAUNCH
autoscaling:EC2_INSTANCE_LAUNCH_ERROR
autoscaling:EC2_INSTANCE_TERMINATE
autoscaling:EC2_INSTANCE_TERMINATE_ERROR
autoscaling:TEST_NOTIFICATION
- See Also:
-
builder
-