Interface RolloutStrategyProps

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

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-24T02:42:33.475Z") @Stability(Stable) public interface RolloutStrategyProps extends software.amazon.jsii.JsiiSerializable
Properties for the Rollout Strategy.

Example:

 Application application;
 HostedConfiguration.Builder.create(this, "MyHostedConfiguration")
         .application(application)
         .content(ConfigurationContent.fromInlineText("This is my configuration content."))
         .deploymentStrategy(DeploymentStrategy.Builder.create(this, "MyDeploymentStrategy")
                 .rolloutStrategy(RolloutStrategy.linear(RolloutStrategyProps.builder()
                         .growthFactor(15)
                         .deploymentDuration(Duration.minutes(30))
                         .finalBakeTime(Duration.minutes(15))
                         .build()))
                 .build())
         .build();
 
  • Method Details

    • getDeploymentDuration

      @Stability(Stable) @NotNull Duration getDeploymentDuration()
      The deployment duration of the deployment strategy.

      This defines the total amount of time for a deployment to last.

    • getGrowthFactor

      @Stability(Stable) @NotNull Number getGrowthFactor()
      The growth factor of the deployment strategy.

      This defines the percentage of targets to receive a deployed configuration during each interval.

    • getFinalBakeTime

      @Stability(Stable) @Nullable default Duration getFinalBakeTime()
      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)

    • builder

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