Class RolloutStrategyProps
Properties for the Rollout Strategy.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.AppConfig
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class RolloutStrategyProps : Object, IRolloutStrategyProps
Syntax (vb)
Public Class RolloutStrategyProps
Inherits Object
Implements IRolloutStrategyProps
Remarks
ExampleMetadata: infused
Examples
Application application;
new HostedConfiguration(this, "MyHostedConfiguration", new HostedConfigurationProps {
Application = application,
Content = ConfigurationContent.FromInlineText("This is my configuration content."),
DeploymentStrategy = new DeploymentStrategy(this, "MyDeploymentStrategy", new DeploymentStrategyProps {
RolloutStrategy = RolloutStrategy.Linear(new RolloutStrategyProps {
GrowthFactor = 15,
DeploymentDuration = Duration.Minutes(30),
FinalBakeTime = Duration.Minutes(15)
})
})
});
Synopsis
Constructors
RolloutStrategyProps() |
Properties
DeploymentDuration | The deployment duration of the deployment strategy. |
FinalBakeTime | The final bake time of the deployment strategy. |
GrowthFactor | The growth factor of the deployment strategy. |
Constructors
RolloutStrategyProps()
public RolloutStrategyProps()
Properties
DeploymentDuration
The deployment duration of the deployment strategy.
public Duration DeploymentDuration { get; set; }
Property Value
Remarks
This defines the total amount of time for a deployment to last.
FinalBakeTime
The final bake time of the deployment strategy.
public Duration FinalBakeTime { get; set; }
Property Value
Remarks
This setting specifies the amount of time AWS AppConfig monitors for Amazon CloudWatch alarms after the configuration has been deployed to 100% of its targets, before considering the deployment to be complete. If an alarm is triggered during this time, AWS AppConfig rolls back the deployment.
Default: Duration.minutes(0)
GrowthFactor
The growth factor of the deployment strategy.
public double GrowthFactor { get; set; }
Property Value
System.Double
Remarks
This defines the percentage of targets to receive a deployed configuration during each interval.