Interface BaseDeploymentConfigProps
- All Superinterfaces:
BaseDeploymentConfigOptions
,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
BaseDeploymentConfigProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:23:58.735Z")
@Stability(Stable)
public interface BaseDeploymentConfigProps
extends software.amazon.jsii.JsiiSerializable, BaseDeploymentConfigOptions
Complete base deployment config properties that are required to be supplied by the implementation of the BaseDeploymentConfig class.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.*; import software.amazon.awscdk.services.codedeploy.*; MinimumHealthyHosts minimumHealthyHosts; MinimumHealthyHostsPerZone minimumHealthyHostsPerZone; TrafficRouting trafficRouting; BaseDeploymentConfigProps baseDeploymentConfigProps = BaseDeploymentConfigProps.builder() .computePlatform(ComputePlatform.SERVER) .deploymentConfigName("deploymentConfigName") .minimumHealthyHosts(minimumHealthyHosts) .trafficRouting(trafficRouting) .zonalConfig(ZonalConfig.builder() .firstZoneMonitorDuration(Duration.minutes(30)) .minimumHealthyHostsPerZone(minimumHealthyHostsPerZone) .monitorDuration(Duration.minutes(30)) .build()) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forBaseDeploymentConfigProps
static final class
An implementation forBaseDeploymentConfigProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default ComputePlatform
The destination compute platform for the deployment.default MinimumHealthyHosts
Minimum number of healthy hosts.default TrafficRouting
The configuration that specifies how traffic is shifted during a deployment.default ZonalConfig
Configure CodeDeploy to deploy your application to one Availability Zone at a time within an AWS Region.Methods inherited from interface software.amazon.awscdk.services.codedeploy.BaseDeploymentConfigOptions
getDeploymentConfigName
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getComputePlatform
The destination compute platform for the deployment.Default: ComputePlatform.Server
-
getMinimumHealthyHosts
Minimum number of healthy hosts.Default: None
-
getTrafficRouting
The configuration that specifies how traffic is shifted during a deployment.Only applicable to ECS and Lambda deployments, and must not be specified for Server deployments.
Default: None
-
getZonalConfig
Configure CodeDeploy to deploy your application to one Availability Zone at a time within an AWS Region.Default: - deploy your application to a random selection of hosts across a Region
- See Also:
-
builder
- Returns:
- a
BaseDeploymentConfigProps.Builder
ofBaseDeploymentConfigProps
-