RolloutStrategy

class aws_cdk.aws_appconfig_alpha.RolloutStrategy

Bases: object

(deprecated) Defines the rollout strategy for a deployment strategy and includes the growth factor, deployment duration, growth type, and optionally final bake time.

See:

https://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-creating-deployment-strategy.html

Stability:

deprecated

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_appconfig_alpha as appconfig_alpha

rollout_strategy = appconfig_alpha.RolloutStrategy.ALL_AT_ONCE
Stability:

deprecated

Attributes

ALL_AT_ONCE = <aws_cdk.aws_appconfig_alpha._RolloutStrategyProxy object>
CANARY_10_PERCENT_20_MINUTES = <aws_cdk.aws_appconfig_alpha._RolloutStrategyProxy object>
LINEAR_20_PERCENT_EVERY_6_MINUTES = <aws_cdk.aws_appconfig_alpha._RolloutStrategyProxy object>
LINEAR_50_PERCENT_EVERY_30_SECONDS = <aws_cdk.aws_appconfig_alpha._RolloutStrategyProxy object>
deployment_duration

(deprecated) The deployment duration of the rollout strategy.

Stability:

deprecated

final_bake_time

(deprecated) The final bake time of the deployment strategy.

Stability:

deprecated

growth_factor

(deprecated) The growth factor of the rollout strategy.

Stability:

deprecated

growth_type

(deprecated) The growth type of the rollout strategy.

Stability:

deprecated

Static Methods

classmethod exponential(*, deployment_duration, growth_factor, final_bake_time=None)

(deprecated) Build your own exponential rollout strategy.

Parameters:
  • deployment_duration (Duration) – (deprecated) The deployment duration of the deployment strategy. This defines the total amount of time for a deployment to last.

  • growth_factor (Union[int, float]) – (deprecated) The growth factor of the deployment strategy. This defines the percentage of targets to receive a deployed configuration during each interval.

  • final_bake_time (Optional[Duration]) – (deprecated) 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. Default: Duration.minutes(0)

Stability:

deprecated

Return type:

RolloutStrategy

classmethod linear(*, deployment_duration, growth_factor, final_bake_time=None)

(deprecated) Build your own linear rollout strategy.

Parameters:
  • deployment_duration (Duration) – (deprecated) The deployment duration of the deployment strategy. This defines the total amount of time for a deployment to last.

  • growth_factor (Union[int, float]) – (deprecated) The growth factor of the deployment strategy. This defines the percentage of targets to receive a deployed configuration during each interval.

  • final_bake_time (Optional[Duration]) – (deprecated) 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. Default: Duration.minutes(0)

Stability:

deprecated

Return type:

RolloutStrategy