DeploymentStrategyId Class
Defines the deployment strategy ID's of AWS AppConfig deployment strategies.
| Source | aws-appconfig/lib/deployment-strategy.ts |
|---|---|
| Type last changed |
Example
appconfig.DeploymentStrategy.fromDeploymentStrategyId(this, 'MyImportedDeploymentStrategy', appconfig.DeploymentStrategyId.fromString('abc123'));
appconfig.DeploymentStrategy.from_deployment_strategy_id(self, "MyImportedDeploymentStrategy", appconfig.DeploymentStrategyId.from_string("abc123"))
DeploymentStrategy.fromDeploymentStrategyId(this, "MyImportedDeploymentStrategy", DeploymentStrategyId.fromString("abc123"));
// Install: dotnet add package Amazon.CDK.Lib
DeploymentStrategy.FromDeploymentStrategyId(this, "MyImportedDeploymentStrategy", DeploymentStrategyId.FromString("abc123"));
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
appconfig.DeploymentStrategy_FromDeploymentStrategyId(this, jsii.String("MyImportedDeploymentStrategy"), appconfig.DeploymentStrategyId_FromString(jsii.String("abc123")))
Initializer
new DeploymentStrategyId()
DeploymentStrategyId()
new DeploymentStrategyId()
new DeploymentStrategyId()
NewDeploymentStrategyId()
Properties
ALL_AT_ONCEDeploymentStrategyIdALL_AT_ONCEDeploymentStrategyIdALL_AT_ONCEDeploymentStrategyIdALL_AT_ONCEDeploymentStrategyIdALL_AT_ONCEDeploymentStrategyId static #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_MINUTESDeploymentStrategyId static #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.
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_MINUTESDeploymentStrategyId static #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_SECONDSDeploymentStrategyId static #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) DeploymentStrategyId static #1 parameter
Parameters
deploymentStrategyIddeployment_strategy_iddeploymentStrategyIddeploymentStrategyIdDeploymentStrategyId— The deployment strategy ID.