Show / Hide Table of Contents

Class DeploymentStrategyId

Defines the deployment strategy ID's of AWS AppConfig deployment strategies.

Inheritance
object
DeploymentStrategyId
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()

Defines the deployment strategy ID's of AWS AppConfig deployment strategies.

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()

Defines the deployment strategy ID's of AWS AppConfig deployment strategies.

protected DeploymentStrategyId()
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"));

Properties

ALL_AT_ONCE

Quick.

public static DeploymentStrategyId ALL_AT_ONCE { get; }
Property Value

DeploymentStrategyId

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

DeploymentStrategyId

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

string

Remarks

See: https://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-creating-deployment-strategy.html

ExampleMetadata: infused

LINEAR_20_PERCENT_EVERY_6_MINUTES

AWS Recommended.

public static DeploymentStrategyId LINEAR_20_PERCENT_EVERY_6_MINUTES { get; }
Property Value

DeploymentStrategyId

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

DeploymentStrategyId

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 string

The deployment strategy ID.

Returns

DeploymentStrategyId

Remarks

See: https://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-creating-deployment-strategy.html

ExampleMetadata: infused

Back to top Generated by DocFX