EndpointDeploymentConfigBlueGreenUpdatePolicyTrafficRoutingConfiguration constructor

const EndpointDeploymentConfigBlueGreenUpdatePolicyTrafficRoutingConfiguration({
  1. Input<EndpointDeploymentConfigBlueGreenUpdatePolicyTrafficRoutingConfigurationCanarySize?>? canarySize,
  2. Input<EndpointDeploymentConfigBlueGreenUpdatePolicyTrafficRoutingConfigurationLinearStepSize?>? linearStepSize,
  3. required Input<String> type,
  4. required Input<int> waitIntervalInSeconds,
})

Creates a new EndpointDeploymentConfigBlueGreenUpdatePolicyTrafficRoutingConfiguration. canarySize Batch size for the first step to turn on traffic on the new endpoint fleet. Value must be less than or equal to 50% of the variant's total instance count. See Canary Size. linearStepSize Batch size for each step to turn on traffic on the new endpoint fleet. Value must be 10-50% of the variant's total instance count. See Linear Step Size. type Traffic routing strategy type. Valid values are: ALL_AT_ONCE, CANARY, and LINEAR. waitIntervalInSeconds The waiting time (in seconds) between incremental steps to turn on traffic on the new endpoint fleet. Valid values are between 0 and 3600.

Implementation

const EndpointDeploymentConfigBlueGreenUpdatePolicyTrafficRoutingConfiguration({
  this.canarySize,
  this.linearStepSize,
  required this.type,
  required this.waitIntervalInSeconds,
});