Skip to content
v2.274.0

RolloutStrategyProps Struct ​

Properties for the Rollout Strategy.

Example ​

ts
declare const application: appconfig.Application;

new appconfig.HostedConfiguration(this, 'MyHostedConfiguration', {
  application,
  content: appconfig.ConfigurationContent.fromInlineText('This is my configuration content.'),
  deploymentStrategy: new appconfig.DeploymentStrategy(this, 'MyDeploymentStrategy', {
    rolloutStrategy: appconfig.RolloutStrategy.linear({
      growthFactor: 15,
      deploymentDuration: Duration.minutes(30),
      finalBakeTime: Duration.minutes(15),
    }),
  }),
});

Properties ​

deploymentDurationDurationdeployment_durationDurationdeploymentDurationDurationDeploymentDurationDurationDeploymentDurationDurationrequired#
The deployment duration of the deployment strategy.

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

finalBakeTimeDurationfinal_bake_timeDurationfinalBakeTimeDurationFinalBakeTimeDurationFinalBakeTimeDuration= Duration.minutes(0)#
The final bake time of the deployment strategy.
notes

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.

growthFactornumbergrowth_factorint | floatgrowthFactorNumberGrowthFactordoubleGrowthFactor*float64required#
The growth factor of the deployment strategy.

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