Class RolloutStrategy
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
Example:
DeploymentStrategy.Builder.create(this, "MyDeploymentStrategy") .rolloutStrategy(RolloutStrategy.linear(RolloutStrategyProps.builder() .growthFactor(20) .deploymentDuration(Duration.minutes(30)) .finalBakeTime(Duration.minutes(30)) .build())) .build();
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Field Summary
Modifier and TypeFieldDescriptionstatic final RolloutStrategy
Quick.static final RolloutStrategy
AWS Recommended.static final RolloutStrategy
AWS Recommended.static final RolloutStrategy
Testing/Demonstration. -
Constructor Summary
ModifierConstructorDescriptionprotected
protected
RolloutStrategy
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
RolloutStrategy
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionstatic RolloutStrategy
exponential
(RolloutStrategyProps props) Build your own exponential rollout strategy.abstract Duration
The deployment duration of the rollout strategy.abstract Duration
The final bake time of the deployment strategy.abstract Number
The growth factor of the rollout strategy.abstract GrowthType
The growth type of the rollout strategy.static RolloutStrategy
linear
(RolloutStrategyProps props) Build your own linear rollout strategy.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
ALL_AT_ONCE
Quick.This strategy deploys the configuration to all targets immediately.
-
CANARY_10_PERCENT_20_MINUTES
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.
-
LINEAR_20_PERCENT_EVERY_6_MINUTES
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.
-
LINEAR_50_PERCENT_EVERY_30_SECONDS
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.
-
-
Constructor Details
-
RolloutStrategy
protected RolloutStrategy(software.amazon.jsii.JsiiObjectRef objRef) -
RolloutStrategy
protected RolloutStrategy(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
RolloutStrategy
@Stability(Stable) protected RolloutStrategy()
-
-
Method Details
-
exponential
@Stability(Stable) @NotNull public static RolloutStrategy exponential(@NotNull RolloutStrategyProps props) Build your own exponential rollout strategy.- Parameters:
props
- This parameter is required.
-
linear
@Stability(Stable) @NotNull public static RolloutStrategy linear(@NotNull RolloutStrategyProps props) Build your own linear rollout strategy.- Parameters:
props
- This parameter is required.
-
getDeploymentDuration
The deployment duration of the rollout strategy. -
getGrowthFactor
The growth factor of the rollout strategy. -
getFinalBakeTime
The final bake time of the deployment strategy. -
getGrowthType
The growth type of the rollout strategy.
-