Interface CfnContinuousDeploymentPolicy.TrafficConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnContinuousDeploymentPolicy.TrafficConfigProperty.Jsii$Proxy
- Enclosing class:
CfnContinuousDeploymentPolicy
@Stability(Stable)
public static interface CfnContinuousDeploymentPolicy.TrafficConfigProperty
extends software.amazon.jsii.JsiiSerializable
The traffic configuration of your continuous deployment.
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.*; TrafficConfigProperty trafficConfigProperty = TrafficConfigProperty.builder() .type("type") // the properties below are optional .singleHeaderConfig(SingleHeaderConfigProperty.builder() .header("header") .value("value") .build()) .singleWeightConfig(SingleWeightConfigProperty.builder() .weight(123) // the properties below are optional .sessionStickinessConfig(SessionStickinessConfigProperty.builder() .idleTtl(123) .maximumTtl(123) .build()) .build()) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnContinuousDeploymentPolicy.TrafficConfigProperty
static final class
An implementation forCfnContinuousDeploymentPolicy.TrafficConfigProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getType
The type of traffic configuration.- See Also:
-
getSingleHeaderConfig
Determines which HTTP requests are sent to the staging distribution.- See Also:
-
getSingleWeightConfig
Contains the percentage of traffic to send to the staging distribution.- See Also:
-
builder
-