ServerDeploymentConfigProps
- class aws_cdk.aws_codedeploy.ServerDeploymentConfigProps(*, deployment_config_name=None, minimum_healthy_hosts)
Bases:
BaseDeploymentConfigOptions
Construction 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.
- 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.