ContinuousDeploymentPolicyTrafficConfigSingleWeightConfig class
Constructors
-
ContinuousDeploymentPolicyTrafficConfigSingleWeightConfig({Input<
ContinuousDeploymentPolicyTrafficConfigSingleWeightConfigSessionStickinessConfig?> ? sessionStickinessConfig, required Input<double> weight}) -
Creates a new ContinuousDeploymentPolicyTrafficConfigSingleWeightConfig.
sessionStickinessConfigSession stickiness provides the ability to define multiple requests from a single viewer as a single session. This prevents the potentially inconsistent experience of sending some of a given user's requests to the staging distribution, while others are sent to the primary distribution. Define the session duration using TTL values. SeesessionStickinessConfig.weightThe percentage of traffic to send to a staging distribution, expressed as a decimal number between0and.15.const -
ContinuousDeploymentPolicyTrafficConfigSingleWeightConfig.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sessionStickinessConfig
→ Input<
ContinuousDeploymentPolicyTrafficConfigSingleWeightConfigSessionStickinessConfig?> ? -
Session stickiness provides the ability to define multiple requests from a single viewer as a single session. This prevents the potentially inconsistent experience of sending some of a given user's requests to the staging distribution, while others are sent to the primary distribution. Define the session duration using TTL values. See
sessionStickinessConfig.final -
weight
→ Input<
double> -
The percentage of traffic to send to a staging distribution, expressed as a decimal number between
0and.15.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited