ContinuousDeploymentPolicyTrafficConfig constructor

const ContinuousDeploymentPolicyTrafficConfig({
  1. Input<ContinuousDeploymentPolicyTrafficConfigSingleHeaderConfig?>? singleHeaderConfig,
  2. Input<ContinuousDeploymentPolicyTrafficConfigSingleWeightConfig?>? singleWeightConfig,
  3. required Input<String> type,
})

Creates a new ContinuousDeploymentPolicyTrafficConfig. singleHeaderConfig Determines which HTTP requests are sent to the staging distribution. See singleHeaderConfig. singleWeightConfig Contains the percentage of traffic to send to the staging distribution. See singleWeightConfig. type Type of traffic configuration. Valid values are SingleWeight and SingleHeader.

Implementation

const ContinuousDeploymentPolicyTrafficConfig({
  this.singleHeaderConfig,
  this.singleWeightConfig,
  required this.type,
});