ContinuousDeploymentPolicyTrafficConfig constructor
const
ContinuousDeploymentPolicyTrafficConfig({
- Input<
ContinuousDeploymentPolicyTrafficConfigSingleHeaderConfig?> ? singleHeaderConfig, - Input<
ContinuousDeploymentPolicyTrafficConfigSingleWeightConfig?> ? singleWeightConfig, - 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,
});