DeploymentStrategyId Class
Defines the deployment strategy ID's of AWS AppConfig deployment strategies.
Example
appconfig.DeploymentStrategy.fromDeploymentStrategyId(this, 'MyImportedDeploymentStrategy', appconfig.DeploymentStrategyId.fromString('abc123'));
Initializer
new DeploymentStrategyId()
DeploymentStrategyId()
new DeploymentStrategyId()
new DeploymentStrategyId()
NewDeploymentStrategyId()
Properties
ALL_AT_ONCEDeploymentStrategyIdall_at_onceDeploymentStrategyIdALL_AT_ONCEDeploymentStrategyIdALL_AT_ONCEDeploymentStrategyIdALL_AT_ONCEDeploymentStrategyIdrequiredstatic#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#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_MINUTESDeploymentStrategyIdrequiredstatic#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#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#1 parameter
Parameters
deploymentStrategyIddeployment_strategy_iddeploymentStrategyIddeploymentStrategyIdDeploymentStrategyId— The deployment strategy ID.