class DeploymentStrategyId
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.AppConfig.DeploymentStrategyId |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsappconfig#DeploymentStrategyId |
![]() | software.amazon.awscdk.services.appconfig.DeploymentStrategyId |
![]() | aws_cdk.aws_appconfig.DeploymentStrategyId |
![]() | aws-cdk-lib » aws_appconfig » DeploymentStrategyId |
Defines the deployment strategy ID's of AWS AppConfig deployment strategies.
Example
appconfig.DeploymentStrategy.fromDeploymentStrategyId(this, 'MyImportedDeploymentStrategy', appconfig.DeploymentStrategyId.fromString('abc123'));
Initializer
new DeploymentStrategyId()
Properties
Name | Type | Description |
---|---|---|
id | string | The deployment strategy ID. |
static ALL_AT_ONCE | Deployment | Quick. |
static CANARY_10_PERCENT_20_MINUTES | Deployment | AWS Recommended. |
static LINEAR_20_PERCENT_EVERY_6_MINUTES | Deployment | AWS Recommended. |
static LINEAR_50_PERCENT_EVERY_30_SECONDS | Deployment | Testing/Demonstration. |
id
Type:
string
The deployment strategy ID.
static ALL_AT_ONCE
Type:
Deployment
Quick.
This strategy deploys the configuration to all targets immediately.
static CANARY_10_PERCENT_20_MINUTES
Type:
Deployment
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.
static LINEAR_20_PERCENT_EVERY_6_MINUTES
Type:
Deployment
AWS Recommended.
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.
static LINEAR_50_PERCENT_EVERY_30_SECONDS
Type:
Deployment
Testing/Demonstration.
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
Name | Description |
---|---|
static from | Builds a deployment strategy ID from a string. |
static fromString(deploymentStrategyId)
public static fromString(deploymentStrategyId: string): DeploymentStrategyId
Parameters
- deploymentStrategyId
string
— The deployment strategy ID.
Returns
Builds a deployment strategy ID from a string.