Class RolloutStrategy
(deprecated) Defines the rollout strategy for a deployment strategy and includes the growth factor, deployment duration, growth type, and optionally final bake time.
Inheritance
Namespace: Amazon.CDK.AWS.AppConfig.Alpha
Assembly: Amazon.CDK.AWS.AppConfig.Alpha.dll
Syntax (csharp)
public abstract class RolloutStrategy : DeputyBase
Syntax (vb)
Public MustInherit Class RolloutStrategy
Inherits DeputyBase
Remarks
Stability: Deprecated
See: https://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-creating-deployment-strategy.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppConfig.Alpha;
var rolloutStrategy = RolloutStrategy.ALL_AT_ONCE;
Synopsis
Constructors
RolloutStrategy() | |
RolloutStrategy(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
RolloutStrategy(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
ALL_AT_ONCE | (deprecated) Quick. |
CANARY_10_PERCENT_20_MINUTES | (deprecated) AWS Recommended. |
DeploymentDuration | (deprecated) The deployment duration of the rollout strategy. |
FinalBakeTime | (deprecated) The final bake time of the deployment strategy. |
GrowthFactor | (deprecated) The growth factor of the rollout strategy. |
GrowthType | (deprecated) The growth type of the rollout strategy. |
LINEAR_20_PERCENT_EVERY_6_MINUTES | (deprecated) AWS Recommended. |
LINEAR_50_PERCENT_EVERY_30_SECONDS | (deprecated) Testing/Demonstration. |
Methods
Exponential(IRolloutStrategyProps) | (deprecated) Build your own exponential rollout strategy. |
Linear(IRolloutStrategyProps) | (deprecated) Build your own linear rollout strategy. |
Constructors
RolloutStrategy()
protected RolloutStrategy()
Remarks
Stability: Deprecated
RolloutStrategy(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected RolloutStrategy(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
RolloutStrategy(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected RolloutStrategy(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
ALL_AT_ONCE
(deprecated) Quick.
public static RolloutStrategy ALL_AT_ONCE { get; }
Property Value
Remarks
This strategy deploys the configuration to all targets immediately.
Stability: Deprecated
CANARY_10_PERCENT_20_MINUTES
(deprecated) AWS Recommended.
public static RolloutStrategy CANARY_10_PERCENT_20_MINUTES { get; }
Property Value
Remarks
This strategy processes the deployment exponentially using a 10% growth factor over 20 minutes. AWS AppConfig recommends using this strategy for production deployments because it aligns with AWS best practices for configuration deployments.
Stability: Deprecated
DeploymentDuration
(deprecated) The deployment duration of the rollout strategy.
public abstract Duration DeploymentDuration { get; }
Property Value
Remarks
Stability: Deprecated
FinalBakeTime
(deprecated) The final bake time of the deployment strategy.
public abstract Duration FinalBakeTime { get; }
Property Value
Remarks
Stability: Deprecated
GrowthFactor
(deprecated) The growth factor of the rollout strategy.
public abstract double GrowthFactor { get; }
Property Value
System.Double
Remarks
Stability: Deprecated
GrowthType
(deprecated) The growth type of the rollout strategy.
public abstract Nullable<GrowthType> GrowthType { get; }
Property Value
System.Nullable<GrowthType>
Remarks
Stability: Deprecated
LINEAR_20_PERCENT_EVERY_6_MINUTES
(deprecated) AWS Recommended.
public static RolloutStrategy LINEAR_20_PERCENT_EVERY_6_MINUTES { get; }
Property Value
Remarks
This strategy deploys the configuration to 20% of all targets every six minutes for a 30 minute deployment. AWS AppConfig recommends using this strategy for production deployments because it aligns with AWS best practices for configuration deployments.
Stability: Deprecated
LINEAR_50_PERCENT_EVERY_30_SECONDS
(deprecated) Testing/Demonstration.
public static RolloutStrategy LINEAR_50_PERCENT_EVERY_30_SECONDS { get; }
Property Value
Remarks
This strategy deploys the configuration to half of all targets every 30 seconds for a one-minute deployment. AWS AppConfig recommends using this strategy only for testing or demonstration purposes because it has a short duration and bake time.
Stability: Deprecated
Methods
Exponential(IRolloutStrategyProps)
(deprecated) Build your own exponential rollout strategy.
public static RolloutStrategy Exponential(IRolloutStrategyProps props)
Parameters
- props IRolloutStrategyProps
Returns
Remarks
Stability: Deprecated
Linear(IRolloutStrategyProps)
(deprecated) Build your own linear rollout strategy.
public static RolloutStrategy Linear(IRolloutStrategyProps props)
Parameters
- props IRolloutStrategyProps
Returns
Remarks
Stability: Deprecated