Class CfnLaunchConfigurationTemplate.PostLaunchActionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.mgn.CfnLaunchConfigurationTemplate.PostLaunchActionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLaunchConfigurationTemplate.PostLaunchActionsProperty>
- Enclosing interface:
CfnLaunchConfigurationTemplate.PostLaunchActionsProperty
@Stability(Stable)
public static final class CfnLaunchConfigurationTemplate.PostLaunchActionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLaunchConfigurationTemplate.PostLaunchActionsProperty>
A builder for
CfnLaunchConfigurationTemplate.PostLaunchActionsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.cloudWatchLogGroupName(String cloudWatchLogGroupName) deployment(String deployment) Sets the value ofCfnLaunchConfigurationTemplate.PostLaunchActionsProperty.getDeployment()s3LogBucket(String s3LogBucket) s3OutputKeyPrefix(String s3OutputKeyPrefix) ssmDocuments(List<? extends Object> ssmDocuments) ssmDocuments(IResolvable ssmDocuments)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cloudWatchLogGroupName
@Stability(Stable) public CfnLaunchConfigurationTemplate.PostLaunchActionsProperty.Builder cloudWatchLogGroupName(String cloudWatchLogGroupName) Sets the value ofCfnLaunchConfigurationTemplate.PostLaunchActionsProperty.getCloudWatchLogGroupName()- Parameters:
cloudWatchLogGroupName- AWS Systems Manager Command's CloudWatch log group name.- Returns:
this
-
deployment
@Stability(Stable) public CfnLaunchConfigurationTemplate.PostLaunchActionsProperty.Builder deployment(String deployment) Sets the value ofCfnLaunchConfigurationTemplate.PostLaunchActionsProperty.getDeployment()- Parameters:
deployment- Deployment type in which AWS Systems Manager Documents will be executed.- Returns:
this
-
s3LogBucket
@Stability(Stable) public CfnLaunchConfigurationTemplate.PostLaunchActionsProperty.Builder s3LogBucket(String s3LogBucket) - Parameters:
s3LogBucket- AWS Systems Manager Command's logs S3 log bucket.- Returns:
this
-
s3OutputKeyPrefix
@Stability(Stable) public CfnLaunchConfigurationTemplate.PostLaunchActionsProperty.Builder s3OutputKeyPrefix(String s3OutputKeyPrefix) - Parameters:
s3OutputKeyPrefix- AWS Systems Manager Command's logs S3 output key prefix.- Returns:
this
-
ssmDocuments
@Stability(Stable) public CfnLaunchConfigurationTemplate.PostLaunchActionsProperty.Builder ssmDocuments(IResolvable ssmDocuments) - Parameters:
ssmDocuments- AWS Systems Manager Documents to execute, in order.- Returns:
this
-
ssmDocuments
@Stability(Stable) public CfnLaunchConfigurationTemplate.PostLaunchActionsProperty.Builder ssmDocuments(List<? extends Object> ssmDocuments) - Parameters:
ssmDocuments- AWS Systems Manager Documents to execute, in order.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLaunchConfigurationTemplate.PostLaunchActionsProperty>- Returns:
- a new instance of
CfnLaunchConfigurationTemplate.PostLaunchActionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-