Interface DeploymentStrategyProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
DeploymentStrategyProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-08T21:35:02.311Z") @Stability(Stable) public interface DeploymentStrategyProps extends software.amazon.jsii.JsiiSerializable
Properties for DeploymentStrategy.

Example:

 DeploymentStrategy.Builder.create(this, "MyDeploymentStrategy")
         .rolloutStrategy(RolloutStrategy.linear(RolloutStrategyProps.builder()
                 .growthFactor(20)
                 .deploymentDuration(Duration.minutes(30))
                 .finalBakeTime(Duration.minutes(30))
                 .build()))
         .build();
 
  • Method Details

    • getRolloutStrategy

      @Stability(Stable) @NotNull RolloutStrategy getRolloutStrategy()
      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.

    • getDeploymentStrategyName

      @Stability(Stable) @Nullable default String getDeploymentStrategyName()
      A name for the deployment strategy.

      Default: - A name is generated.

    • getDescription

      @Stability(Stable) @Nullable default String getDescription()
      A description of the deployment strategy.

      Default: - No description.

    • builder

      @Stability(Stable) static DeploymentStrategyProps.Builder builder()
      Returns:
      a DeploymentStrategyProps.Builder of DeploymentStrategyProps