Class CfnAutoScalingGroupPropsMixin.NotificationConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.autoscaling.CfnAutoScalingGroupPropsMixin.NotificationConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAutoScalingGroupPropsMixin.NotificationConfigurationProperty>
- Enclosing interface:
CfnAutoScalingGroupPropsMixin.NotificationConfigurationProperty
@Stability(Stable)
public static final class CfnAutoScalingGroupPropsMixin.NotificationConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAutoScalingGroupPropsMixin.NotificationConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.notificationTypes(List<String> notificationTypes)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
notificationTypes
@Stability(Stable) public CfnAutoScalingGroupPropsMixin.NotificationConfigurationProperty.Builder notificationTypes(List<String> notificationTypes) Sets the value ofCfnAutoScalingGroupPropsMixin.NotificationConfigurationProperty.getNotificationTypes()- Parameters:
notificationTypes- 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
- Returns:
this
-
topicArn
@Stability(Stable) public CfnAutoScalingGroupPropsMixin.NotificationConfigurationProperty.Builder topicArn(String topicArn) - Parameters:
topicArn- The Amazon Resource Name (ARN) of the Amazon SNS topic.- Returns:
this
-
topicArn
@Stability(Stable) public CfnAutoScalingGroupPropsMixin.NotificationConfigurationProperty.Builder topicArn(ITopicRef topicArn) - Parameters:
topicArn- The Amazon Resource Name (ARN) of the Amazon SNS topic.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAutoScalingGroupPropsMixin.NotificationConfigurationProperty>- Returns:
- a new instance of
CfnAutoScalingGroupPropsMixin.NotificationConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-