ServerDeploymentConfigProps
- class aws_cdk.aws_codedeploy.ServerDeploymentConfigProps(*, deployment_config_name=None, minimum_healthy_hosts, zonal_config=None)
Bases:
BaseDeploymentConfigOptionsConstruction properties of
ServerDeploymentConfig.- Parameters:
deployment_config_name (
Optional[str]) – The physical, human-readable name of the Deployment Configuration. Default: - automatically generated nameminimum_healthy_hosts (
MinimumHealthyHosts) – Minimum number of healthy hosts.zonal_config (
Union[ZonalConfig,Dict[str,Any],None]) – 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
- ExampleMetadata:
infused
Example:
deployment_config = codedeploy.ServerDeploymentConfig(self, "DeploymentConfiguration", deployment_config_name="MyDeploymentConfiguration", # optional property # one of these is required, but both cannot be specified at the same time minimum_healthy_hosts=codedeploy.MinimumHealthyHosts.count(2) )
Attributes
- deployment_config_name
The physical, human-readable name of the Deployment Configuration.
- Default:
automatically generated name
- minimum_healthy_hosts
Minimum number of healthy hosts.
- zonal_config
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