Class EcsDeploymentConfigProps
Construction properties of EcsDeploymentConfig.
Inherited Members
Namespace: Amazon.CDK.AWS.CodeDeploy
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class EcsDeploymentConfigProps : IEcsDeploymentConfigProps, IBaseDeploymentConfigOptions
Syntax (vb)
Public Class EcsDeploymentConfigProps Implements IEcsDeploymentConfigProps, IBaseDeploymentConfigOptions
Remarks
ExampleMetadata: infused
Examples
new EcsDeploymentConfig(this, "CustomConfig", new EcsDeploymentConfigProps {
TrafficRouting = new TimeBasedCanaryTrafficRouting(new TimeBasedCanaryTrafficRoutingProps {
Interval = Duration.Minutes(15),
Percentage = 5
})
});
Synopsis
Constructors
| EcsDeploymentConfigProps() | Construction properties of |
Properties
| DeploymentConfigName | The physical, human-readable name of the Deployment Configuration. |
| TrafficRouting | The configuration that specifies how traffic is shifted from the 'blue' target group to the 'green' target group during a deployment. |
Constructors
EcsDeploymentConfigProps()
Construction properties of EcsDeploymentConfig.
public EcsDeploymentConfigProps()
Remarks
ExampleMetadata: infused
Examples
new EcsDeploymentConfig(this, "CustomConfig", new EcsDeploymentConfigProps {
TrafficRouting = new TimeBasedCanaryTrafficRouting(new TimeBasedCanaryTrafficRoutingProps {
Interval = Duration.Minutes(15),
Percentage = 5
})
});
Properties
DeploymentConfigName
The physical, human-readable name of the Deployment Configuration.
public string? DeploymentConfigName { get; set; }
Property Value
Remarks
Default: - automatically generated name
TrafficRouting
The configuration that specifies how traffic is shifted from the 'blue' target group to the 'green' target group during a deployment.
public TrafficRouting? TrafficRouting { get; set; }
Property Value
Remarks
Default: AllAtOnce