Interface CfnAutoScalingGroupPropsMixin.NotificationConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAutoScalingGroupPropsMixin.NotificationConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnAutoScalingGroupPropsMixin
@Stability(Stable)
public static interface CfnAutoScalingGroupPropsMixin.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.cfnpropertymixins.services.autoscaling.*;
NotificationConfigurationProperty notificationConfigurationProperty = NotificationConfigurationProperty.builder()
.notificationTypes(List.of("notificationTypes"))
.topicArn("topicArn")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnAutoScalingGroupPropsMixin.NotificationConfigurationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getNotificationTypes
A list of event types that send a notification. Event types can include any of the following types.Allowed values :
autoscaling:EC2_INSTANCE_LAUNCHautoscaling:EC2_INSTANCE_LAUNCH_ERRORautoscaling:EC2_INSTANCE_TERMINATEautoscaling:EC2_INSTANCE_TERMINATE_ERRORautoscaling:TEST_NOTIFICATION
- See Also:
-
getTopicArn
- See Also:
-
builder
@Stability(Stable) static CfnAutoScalingGroupPropsMixin.NotificationConfigurationProperty.Builder builder()
-