Class CfnContinuousDeploymentPolicy.SingleWeightConfigProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.cloudfront.CfnContinuousDeploymentPolicy.SingleWeightConfigProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnContinuousDeploymentPolicy.SingleWeightConfigProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnContinuousDeploymentPolicy.SingleWeightConfigProperty
@Stability(Stable)
@Internal
public static final class CfnContinuousDeploymentPolicy.SingleWeightConfigProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnContinuousDeploymentPolicy.SingleWeightConfigProperty
An implementation for
CfnContinuousDeploymentPolicy.SingleWeightConfigProperty-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.cloudfront.CfnContinuousDeploymentPolicy.SingleWeightConfigProperty
CfnContinuousDeploymentPolicy.SingleWeightConfigProperty.Builder, CfnContinuousDeploymentPolicy.SingleWeightConfigProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnContinuousDeploymentPolicy.SingleWeightConfigProperty.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal ObjectSession stickiness provides the ability to define multiple requests from a single viewer as a single session.final NumberThe percentage of traffic to send to a staging distribution, expressed as a decimal number between 0 and 0.15.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnContinuousDeploymentPolicy.SingleWeightConfigProperty.Builder.
-
-
Method Details
-
getWeight
Description copied from interface:CfnContinuousDeploymentPolicy.SingleWeightConfigPropertyThe percentage of traffic to send to a staging distribution, expressed as a decimal number between 0 and 0.15. For example, a value of 0.10 means 10% of traffic is sent to the staging distribution.- Specified by:
getWeightin interfaceCfnContinuousDeploymentPolicy.SingleWeightConfigProperty- See Also:
-
getSessionStickinessConfig
Description copied from interface:CfnContinuousDeploymentPolicy.SingleWeightConfigPropertySession 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 your staging distribution, while others are sent to your primary distribution. Define the session duration using TTL values.
Returns union: either
IResolvableorCfnContinuousDeploymentPolicy.SessionStickinessConfigProperty- Specified by:
getSessionStickinessConfigin interfaceCfnContinuousDeploymentPolicy.SingleWeightConfigProperty- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-