Class EcsDeploymentConfigProps
Construction properties of EcsDeploymentConfig
.
Inheritance
System.Object
EcsDeploymentConfigProps
Namespace: Amazon.CDK.AWS.CodeDeploy
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class EcsDeploymentConfigProps : Object, IEcsDeploymentConfigProps, IBaseDeploymentConfigOptions
Syntax (vb)
Public Class EcsDeploymentConfigProps
Inherits Object
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() |
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()
public EcsDeploymentConfigProps()
Properties
DeploymentConfigName
The physical, human-readable name of the Deployment Configuration.
public string DeploymentConfigName { get; set; }
Property Value
System.String
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