ServerDeploymentConfigProps

class aws_cdk.aws_codedeploy.ServerDeploymentConfigProps(*, minimum_healthy_hosts, deployment_config_name=None)

Bases: object

Construction properties of {@link ServerDeploymentConfig}.

Parameters:
  • minimum_healthy_hosts (MinimumHealthyHosts) – Minimum number of healthy hosts.

  • deployment_config_name (Optional[str]) – The physical, human-readable name of the Deployment Configuration. Default: a name will be auto-generated

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:

a name will be auto-generated

minimum_healthy_hosts

Minimum number of healthy hosts.