Class DeploymentStrategyId
Defines the deployment strategy ID's of AWS AppConfig deployment strategies.
Inheritance
Namespace: Amazon.CDK.AWS.AppConfig
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public abstract class DeploymentStrategyId : DeputyBase
Syntax (vb)
Public MustInherit Class DeploymentStrategyId
Inherits DeputyBase
Remarks
See: https://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-creating-deployment-strategy.html
ExampleMetadata: infused
Examples
DeploymentStrategy.FromDeploymentStrategyId(this, "MyImportedDeploymentStrategy", DeploymentStrategyId.FromString("abc123"));
Synopsis
Constructors
DeploymentStrategyId() | |
DeploymentStrategyId(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
DeploymentStrategyId(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
ALL_AT_ONCE | Quick. |
CANARY_10_PERCENT_20_MINUTES | AWS Recommended. |
Id | The deployment strategy ID. |
LINEAR_20_PERCENT_EVERY_6_MINUTES | AWS Recommended. |
LINEAR_50_PERCENT_EVERY_30_SECONDS | Testing/Demonstration. |
Methods
FromString(String) | Builds a deployment strategy ID from a string. |
Constructors
DeploymentStrategyId()
protected DeploymentStrategyId()
DeploymentStrategyId(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected DeploymentStrategyId(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
DeploymentStrategyId(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected DeploymentStrategyId(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
ALL_AT_ONCE
Quick.
public static DeploymentStrategyId ALL_AT_ONCE { get; }
Property Value
Remarks
This strategy deploys the configuration to all targets immediately.
CANARY_10_PERCENT_20_MINUTES
AWS Recommended.
public static DeploymentStrategyId 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.
Id
The deployment strategy ID.
public abstract string Id { get; }
Property Value
System.String
LINEAR_20_PERCENT_EVERY_6_MINUTES
AWS Recommended.
public static DeploymentStrategyId 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.
LINEAR_50_PERCENT_EVERY_30_SECONDS
Testing/Demonstration.
public static DeploymentStrategyId 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.
Methods
FromString(String)
Builds a deployment strategy ID from a string.
public static DeploymentStrategyId FromString(string deploymentStrategyId)
Parameters
- deploymentStrategyId System.String
The deployment strategy ID.
Returns