@Stability(value=Stable) public static final class CfnDeploymentConfigProps.Builder extends Object implements software.amazon.jsii.Builder<CfnDeploymentConfigProps>
CfnDeploymentConfigProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnDeploymentConfigProps.Builder computePlatform(String computePlatform)
CfnDeploymentConfigProps.getComputePlatform()computePlatform - The destination platform type for the deployment ( `Lambda` , `Server` , or `ECS` ).this@Stability(value=Stable) public CfnDeploymentConfigProps.Builder deploymentConfigName(String deploymentConfigName)
CfnDeploymentConfigProps.getDeploymentConfigName()deploymentConfigName - A name for the deployment configuration.
If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the deployment configuration name. For more information, see Name Type .
If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
this@Stability(value=Stable) public CfnDeploymentConfigProps.Builder minimumHealthyHosts(CfnDeploymentConfig.MinimumHealthyHostsProperty minimumHealthyHosts)
CfnDeploymentConfigProps.getMinimumHealthyHosts()minimumHealthyHosts - The minimum number of healthy instances that should be available at any time during the deployment.
There are two parameters expected in the input: type and value.
The type parameter takes either of the following values:
The value parameter takes an integer.
For example, to set a minimum of 95% healthy instance, specify a type of FLEET_PERCENT and a value of 95.
For more information about instance health, see CodeDeploy Instance Health in the AWS CodeDeploy User Guide.
this@Stability(value=Stable) public CfnDeploymentConfigProps.Builder minimumHealthyHosts(IResolvable minimumHealthyHosts)
CfnDeploymentConfigProps.getMinimumHealthyHosts()minimumHealthyHosts - The minimum number of healthy instances that should be available at any time during the deployment.
There are two parameters expected in the input: type and value.
The type parameter takes either of the following values:
The value parameter takes an integer.
For example, to set a minimum of 95% healthy instance, specify a type of FLEET_PERCENT and a value of 95.
For more information about instance health, see CodeDeploy Instance Health in the AWS CodeDeploy User Guide.
this@Stability(value=Stable) public CfnDeploymentConfigProps.Builder trafficRoutingConfig(CfnDeploymentConfig.TrafficRoutingConfigProperty trafficRoutingConfig)
CfnDeploymentConfigProps.getTrafficRoutingConfig()trafficRoutingConfig - The configuration that specifies how the deployment traffic is routed.this@Stability(value=Stable) public CfnDeploymentConfigProps.Builder trafficRoutingConfig(IResolvable trafficRoutingConfig)
CfnDeploymentConfigProps.getTrafficRoutingConfig()trafficRoutingConfig - The configuration that specifies how the deployment traffic is routed.this@Stability(value=Stable) public CfnDeploymentConfigProps build()
build in interface software.amazon.jsii.Builder<CfnDeploymentConfigProps>CfnDeploymentConfigPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.