Class CfnLaunchConfigurationTemplate.SsmDocumentProperty.Builder
java.lang.Object
software.amazon.awscdk.services.mgn.CfnLaunchConfigurationTemplate.SsmDocumentProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLaunchConfigurationTemplate.SsmDocumentProperty>
- Enclosing interface:
CfnLaunchConfigurationTemplate.SsmDocumentProperty
@Stability(Stable)
public static final class CfnLaunchConfigurationTemplate.SsmDocumentProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLaunchConfigurationTemplate.SsmDocumentProperty>
A builder for
CfnLaunchConfigurationTemplate.SsmDocumentProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactionName(String actionName) Sets the value ofCfnLaunchConfigurationTemplate.SsmDocumentProperty.getActionName()build()Builds the configured instance.externalParameters(Map<String, ? extends Object> externalParameters) externalParameters(IResolvable externalParameters) mustSucceedForCutover(Boolean mustSucceedForCutover) mustSucceedForCutover(IResolvable mustSucceedForCutover) parameters(Map<String, ? extends Object> parameters) Sets the value ofCfnLaunchConfigurationTemplate.SsmDocumentProperty.getParameters()parameters(IResolvable parameters) Sets the value ofCfnLaunchConfigurationTemplate.SsmDocumentProperty.getParameters()ssmDocumentName(String ssmDocumentName) Sets the value ofCfnLaunchConfigurationTemplate.SsmDocumentProperty.getSsmDocumentName()timeoutSeconds(Number timeoutSeconds) Sets the value ofCfnLaunchConfigurationTemplate.SsmDocumentProperty.getTimeoutSeconds()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
actionName
@Stability(Stable) public CfnLaunchConfigurationTemplate.SsmDocumentProperty.Builder actionName(String actionName) Sets the value ofCfnLaunchConfigurationTemplate.SsmDocumentProperty.getActionName()- Parameters:
actionName- User-friendly name for the AWS Systems Manager Document. This parameter is required.- Returns:
this
-
ssmDocumentName
@Stability(Stable) public CfnLaunchConfigurationTemplate.SsmDocumentProperty.Builder ssmDocumentName(String ssmDocumentName) Sets the value ofCfnLaunchConfigurationTemplate.SsmDocumentProperty.getSsmDocumentName()- Parameters:
ssmDocumentName- AWS Systems Manager Document name or full ARN. This parameter is required.- Returns:
this
-
externalParameters
@Stability(Stable) public CfnLaunchConfigurationTemplate.SsmDocumentProperty.Builder externalParameters(IResolvable externalParameters) - Parameters:
externalParameters- AWS Systems Manager Document external parameters.- Returns:
this
-
externalParameters
@Stability(Stable) public CfnLaunchConfigurationTemplate.SsmDocumentProperty.Builder externalParameters(Map<String, ? extends Object> externalParameters) - Parameters:
externalParameters- AWS Systems Manager Document external parameters.- Returns:
this
-
mustSucceedForCutover
@Stability(Stable) public CfnLaunchConfigurationTemplate.SsmDocumentProperty.Builder mustSucceedForCutover(Boolean mustSucceedForCutover) - Parameters:
mustSucceedForCutover- Whether Cutover is blocked when the document has failed.- Returns:
this
-
mustSucceedForCutover
@Stability(Stable) public CfnLaunchConfigurationTemplate.SsmDocumentProperty.Builder mustSucceedForCutover(IResolvable mustSucceedForCutover) - Parameters:
mustSucceedForCutover- Whether Cutover is blocked when the document has failed.- Returns:
this
-
parameters
@Stability(Stable) public CfnLaunchConfigurationTemplate.SsmDocumentProperty.Builder parameters(IResolvable parameters) Sets the value ofCfnLaunchConfigurationTemplate.SsmDocumentProperty.getParameters()- Parameters:
parameters- AWS Systems Manager Document parameters, each resolved from AWS Systems Manager Parameter Store.- Returns:
this
-
parameters
@Stability(Stable) public CfnLaunchConfigurationTemplate.SsmDocumentProperty.Builder parameters(Map<String, ? extends Object> parameters) Sets the value ofCfnLaunchConfigurationTemplate.SsmDocumentProperty.getParameters()- Parameters:
parameters- AWS Systems Manager Document parameters, each resolved from AWS Systems Manager Parameter Store.- Returns:
this
-
timeoutSeconds
@Stability(Stable) public CfnLaunchConfigurationTemplate.SsmDocumentProperty.Builder timeoutSeconds(Number timeoutSeconds) Sets the value ofCfnLaunchConfigurationTemplate.SsmDocumentProperty.getTimeoutSeconds()- Parameters:
timeoutSeconds- AWS Systems Manager Document timeout, in seconds.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLaunchConfigurationTemplate.SsmDocumentProperty>- Returns:
- a new instance of
CfnLaunchConfigurationTemplate.SsmDocumentProperty - Throws:
NullPointerException- if any required attribute was not provided
-