BaseDeploymentConfigProps
- class aws_cdk.aws_codedeploy.BaseDeploymentConfigProps(*, deployment_config_name=None, compute_platform=None, minimum_healthy_hosts=None, traffic_routing=None, zonal_config=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: Nonezonal_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:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk as cdk from aws_cdk import aws_codedeploy as codedeploy # minimum_healthy_hosts: codedeploy.MinimumHealthyHosts # minimum_healthy_hosts_per_zone: codedeploy.MinimumHealthyHostsPerZone # 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, zonal_config=codedeploy.ZonalConfig( first_zone_monitor_duration=cdk.Duration.minutes(30), minimum_healthy_hosts_per_zone=minimum_healthy_hosts_per_zone, monitor_duration=cdk.Duration.minutes(30) ) )
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
- 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
- See: