@Generated(value="jsii-pacmak/1.72.0 (build 4b8828b)", date="2022-12-21T20:56:32.591Z") @Stability(value=Stable) public interface CfnDeploymentConfigProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.codedeploy.*;
CfnDeploymentConfigProps cfnDeploymentConfigProps = CfnDeploymentConfigProps.builder()
.computePlatform("computePlatform")
.deploymentConfigName("deploymentConfigName")
.minimumHealthyHosts(MinimumHealthyHostsProperty.builder()
.type("type")
.value(123)
.build())
.trafficRoutingConfig(TrafficRoutingConfigProperty.builder()
.type("type")
// the properties below are optional
.timeBasedCanary(TimeBasedCanaryProperty.builder()
.canaryInterval(123)
.canaryPercentage(123)
.build())
.timeBasedLinear(TimeBasedLinearProperty.builder()
.linearInterval(123)
.linearPercentage(123)
.build())
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDeploymentConfigProps.Builder
A builder for
CfnDeploymentConfigProps |
static class |
CfnDeploymentConfigProps.Jsii$Proxy
An implementation for
CfnDeploymentConfigProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnDeploymentConfigProps.Builder |
builder() |
default String |
getComputePlatform()
The destination platform type for the deployment ( `Lambda` , `Server` , or `ECS` ).
|
default String |
getDeploymentConfigName()
A name for the deployment configuration.
|
default Object |
getMinimumHealthyHosts()
The minimum number of healthy instances that should be available at any time during the deployment.
|
default Object |
getTrafficRoutingConfig()
The configuration that specifies how the deployment traffic is routed.
|
@Stability(value=Stable) @Nullable default String getComputePlatform()
@Stability(value=Stable) @Nullable default String getDeploymentConfigName()
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.
@Stability(value=Stable) @Nullable default Object getMinimumHealthyHosts()
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.
@Stability(value=Stable) @Nullable default Object getTrafficRoutingConfig()
@Stability(value=Stable) static CfnDeploymentConfigProps.Builder builder()
CfnDeploymentConfigProps.Builder of CfnDeploymentConfigPropsCopyright © 2022. All rights reserved.