Interface BaseDeploymentConfigProps
- All Superinterfaces:
BaseDeploymentConfigOptions,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
BaseDeploymentConfigProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-13T16:10:01.102Z")
@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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forBaseDeploymentConfigPropsstatic final classAn implementation forBaseDeploymentConfigProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ComputePlatformThe destination compute platform for the deployment.default MinimumHealthyHostsMinimum number of healthy hosts.default TrafficRoutingThe configuration that specifies how traffic is shifted during a deployment.default ZonalConfigConfigure 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
getDeploymentConfigNameMethods 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.BuilderofBaseDeploymentConfigProps
-