Class DeploymentStrategyProps
Properties for DeploymentStrategy.
Inheritance
System.Object
DeploymentStrategyProps
Implements
Namespace: Amazon.CDK.AWS.AppConfig
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class DeploymentStrategyProps : Object, IDeploymentStrategyProps
Syntax (vb)
Public Class DeploymentStrategyProps
Inherits Object
Implements IDeploymentStrategyProps
Remarks
ExampleMetadata: infused
Examples
new DeploymentStrategy(this, "MyDeploymentStrategy", new DeploymentStrategyProps {
RolloutStrategy = RolloutStrategy.Linear(new RolloutStrategyProps {
GrowthFactor = 20,
DeploymentDuration = Duration.Minutes(30),
FinalBakeTime = Duration.Minutes(30)
})
});
Synopsis
Constructors
DeploymentStrategyProps() |
Properties
DeploymentStrategyName | A name for the deployment strategy. |
Description | A description of the deployment strategy. |
RolloutStrategy | The rollout strategy for the deployment strategy. |
Constructors
DeploymentStrategyProps()
public DeploymentStrategyProps()
Properties
DeploymentStrategyName
A name for the deployment strategy.
public string DeploymentStrategyName { get; set; }
Property Value
System.String
Remarks
Default: - A name is generated.
Description
A description of the deployment strategy.
public string Description { get; set; }
Property Value
System.String
Remarks
Default: - No description.
RolloutStrategy
The rollout strategy for the deployment strategy.
public RolloutStrategy RolloutStrategy { get; set; }
Property Value
Remarks
You can use predefined deployment strategies, such as RolloutStrategy.ALL_AT_ONCE, RolloutStrategy.LINEAR_50_PERCENT_EVERY_30_SECONDS, or RolloutStrategy.CANARY_10_PERCENT_20_MINUTES.