interface RolloutStrategyProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.AppConfig.RolloutStrategyProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsappconfig#RolloutStrategyProps |
![]() | software.amazon.awscdk.services.appconfig.RolloutStrategyProps |
![]() | aws_cdk.aws_appconfig.RolloutStrategyProps |
![]() | aws-cdk-lib » aws_appconfig » RolloutStrategyProps |
Properties for the Rollout Strategy.
Example
declare const application: appconfig.Application;
new appconfig.HostedConfiguration(this, 'MyHostedConfiguration', {
application,
content: appconfig.ConfigurationContent.fromInlineText('This is my configuration content.'),
deploymentStrategy: new appconfig.DeploymentStrategy(this, 'MyDeploymentStrategy', {
rolloutStrategy: appconfig.RolloutStrategy.linear({
growthFactor: 15,
deploymentDuration: Duration.minutes(30),
finalBakeTime: Duration.minutes(15),
}),
}),
});
Properties
Name | Type | Description |
---|---|---|
deployment | Duration | The deployment duration of the deployment strategy. |
growth | number | The growth factor of the deployment strategy. |
final | Duration | The final bake time of the deployment strategy. |
deploymentDuration
Type:
Duration
The deployment duration of the deployment strategy.
This defines the total amount of time for a deployment to last.
growthFactor
Type:
number
The growth factor of the deployment strategy.
This defines the percentage of targets to receive a deployed configuration during each interval.
finalBakeTime?
Type:
Duration
(optional, default: Duration.minutes(0))
The final bake time of the deployment strategy.
This setting specifies the amount of time AWS AppConfig monitors for Amazon CloudWatch alarms after the configuration has been deployed to 100% of its targets, before considering the deployment to be complete. If an alarm is triggered during this time, AWS AppConfig rolls back the deployment.