Interface CfnContinuousDeploymentPolicy.SingleWeightPolicyConfigProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnContinuousDeploymentPolicy.SingleWeightPolicyConfigProperty.Jsii$Proxy
Enclosing class:
CfnContinuousDeploymentPolicy

@Stability(Stable) public static interface CfnContinuousDeploymentPolicy.SingleWeightPolicyConfigProperty extends software.amazon.jsii.JsiiSerializable
Configure a policy that CloudFront uses to route requests to different origins or use different cache settings, based on the weight assigned to each option.

This property is legacy. We recommend that you use TrafficConfig and specify the SingleWeightConfig property instead.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.cloudfront.*;
 SingleWeightPolicyConfigProperty singleWeightPolicyConfigProperty = SingleWeightPolicyConfigProperty.builder()
         .weight(123)
         // the properties below are optional
         .sessionStickinessConfig(SessionStickinessConfigProperty.builder()
                 .idleTtl(123)
                 .maximumTtl(123)
                 .build())
         .build();
 

See Also: