ServiceDeploymentConfiguration constructor

const ServiceDeploymentConfiguration({
  1. Input<String?>? bakeTimeInMinutes,
  2. Input<ServiceDeploymentConfigurationCanaryConfiguration?>? canaryConfiguration,
  3. Input<List<ServiceDeploymentConfigurationLifecycleHook>?>? lifecycleHooks,
  4. Input<ServiceDeploymentConfigurationLinearConfiguration?>? linearConfiguration,
  5. Input<String?>? strategy,
})

Creates a new ServiceDeploymentConfiguration. bakeTimeInMinutes Number of minutes to wait after a new deployment is fully provisioned before terminating the old deployment. Valid range: 0-1440 minutes. Used with BLUE_GREEN, LINEAR, and CANARY strategies. canaryConfiguration Configuration block for canary deployment strategy. Required when strategy is set to CANARY. See below. lifecycleHooks Configuration block for lifecycle hooks that are invoked during deployments. See below. linearConfiguration Configuration block for linear deployment strategy. Required when strategy is set to LINEAR. See below. strategy Type of deployment strategy. Valid values: ROLLING, BLUE_GREEN, LINEAR, CANARY. Default: ROLLING.

Implementation

const ServiceDeploymentConfiguration({
  this.bakeTimeInMinutes,
  this.canaryConfiguration,
  this.lifecycleHooks,
  this.linearConfiguration,
  this.strategy,
});