Skip to content
v2.273.0

DeploymentStrategyId Class ​

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

Example ​

ts
appconfig.DeploymentStrategy.fromDeploymentStrategyId(this, 'MyImportedDeploymentStrategy', appconfig.DeploymentStrategyId.fromString('abc123'));

Initializer ​

ts
new DeploymentStrategyId()
python
DeploymentStrategyId()
java
new DeploymentStrategyId()
csharp
new DeploymentStrategyId()
go
NewDeploymentStrategyId()

Properties ​

ALL_AT_ONCEDeploymentStrategyIdall_at_onceDeploymentStrategyIdALL_AT_ONCEDeploymentStrategyIdALL_AT_ONCEDeploymentStrategyIdALL_AT_ONCEDeploymentStrategyIdrequiredstatic#
**Quick**.

This strategy deploys the configuration to all targets immediately.

CANARY_10_PERCENT_20_MINUTESDeploymentStrategyIdcanary_10_percent_20_minutesDeploymentStrategyIdCANARY_10_PERCENT_20_MINUTESDeploymentStrategyIdCANARY_10_PERCENT_20_MINUTESDeploymentStrategyIdCANARY_10_PERCENT_20_MINUTESDeploymentStrategyIdrequiredstatic#
**AWS Recommended**.

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.

idstringidstridStringIdstringId*stringrequired#
The deployment strategy ID.
LINEAR_20_PERCENT_EVERY_6_MINUTESDeploymentStrategyIdlinear_20_percent_every_6_minutesDeploymentStrategyIdLINEAR_20_PERCENT_EVERY_6_MINUTESDeploymentStrategyIdLINEAR_20_PERCENT_EVERY_6_MINUTESDeploymentStrategyIdLINEAR_20_PERCENT_EVERY_6_MINUTESDeploymentStrategyIdrequiredstatic#
**AWS Recommended**.
notes

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_SECONDSDeploymentStrategyIdlinear_50_percent_every_30_secondsDeploymentStrategyIdLINEAR_50_PERCENT_EVERY_30_SECONDSDeploymentStrategyIdLINEAR_50_PERCENT_EVERY_30_SECONDSDeploymentStrategyIdLINEAR_50_PERCENT_EVERY_30_SECONDSDeploymentStrategyIdrequiredstatic#
**Testing/Demonstration**.
notes

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(deploymentStrategyId: string): DeploymentStrategyId // chainable@staticmethod def from_string(deployment_strategy_id: str) -> DeploymentStrategyIdpublic static DeploymentStrategyId fromString(String deploymentStrategyId)public static DeploymentStrategyId FromString(string deploymentStrategyId)func FromString(DeploymentStrategyId *string) DeploymentStrategyIdstatic#
Builds a deployment strategy ID from a string.
1 parameter

Parameters

  • deploymentStrategyIddeployment_strategy_iddeploymentStrategyIddeploymentStrategyIdDeploymentStrategyId — The deployment strategy ID.