DeploymentStrategyProps
- class aws_cdk.aws_appconfig.DeploymentStrategyProps(*, rollout_strategy, deployment_strategy_name=None, description=None)
Bases:
object
Properties for DeploymentStrategy.
- Parameters:
rollout_strategy (
RolloutStrategy
) – The rollout strategy for the deployment strategy. You can use predefined deployment strategies, such as RolloutStrategy.ALL_AT_ONCE, RolloutStrategy.LINEAR_50_PERCENT_EVERY_30_SECONDS, or RolloutStrategy.CANARY_10_PERCENT_20_MINUTES.deployment_strategy_name (
Optional
[str
]) – A name for the deployment strategy. Default: - A name is generated.description (
Optional
[str
]) – A description of the deployment strategy. Default: - No description.
- ExampleMetadata:
infused
Example:
appconfig.DeploymentStrategy(self, "MyDeploymentStrategy", rollout_strategy=appconfig.RolloutStrategy.linear( growth_factor=20, deployment_duration=Duration.minutes(30), final_bake_time=Duration.minutes(30) ) )
Attributes
- deployment_strategy_name
A name for the deployment strategy.
- Default:
A name is generated.
- description
A description of the deployment strategy.
- Default:
No description.
- rollout_strategy
The rollout strategy for the deployment strategy.
You can use predefined deployment strategies, such as RolloutStrategy.ALL_AT_ONCE, RolloutStrategy.LINEAR_50_PERCENT_EVERY_30_SECONDS, or RolloutStrategy.CANARY_10_PERCENT_20_MINUTES.