BaseDeploymentConfigProps
- class aws_cdk.aws_codedeploy.BaseDeploymentConfigProps(*, deployment_config_name=None, compute_platform=None, minimum_healthy_hosts=None, traffic_routing=None)
Bases:
BaseDeploymentConfigOptions
Complete base deployment config properties that are required to be supplied by the implementation of the BaseDeploymentConfig class.
- Parameters:
deployment_config_name (
Optional
[str
]) – The physical, human-readable name of the Deployment Configuration. Default: - automatically generated namecompute_platform (
Optional
[ComputePlatform
]) – The destination compute platform for the deployment. Default: ComputePlatform.Serverminimum_healthy_hosts (
Optional
[MinimumHealthyHosts
]) – Minimum number of healthy hosts. Default: Nonetraffic_routing (
Optional
[TrafficRouting
]) – 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
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_codedeploy as codedeploy # minimum_healthy_hosts: codedeploy.MinimumHealthyHosts # traffic_routing: codedeploy.TrafficRouting base_deployment_config_props = codedeploy.BaseDeploymentConfigProps( compute_platform=codedeploy.ComputePlatform.SERVER, deployment_config_name="deploymentConfigName", minimum_healthy_hosts=minimum_healthy_hosts, traffic_routing=traffic_routing )
Attributes
- compute_platform
The destination compute platform for the deployment.
- Default:
ComputePlatform.Server
- deployment_config_name
The physical, human-readable name of the Deployment Configuration.
- Default:
automatically generated name
- minimum_healthy_hosts
Minimum number of healthy hosts.
- Default:
None
- traffic_routing
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