Interface CfnContinuousDeploymentPolicy.ContinuousDeploymentPolicyConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnContinuousDeploymentPolicy.ContinuousDeploymentPolicyConfigProperty.Jsii$Proxy
- Enclosing class:
- CfnContinuousDeploymentPolicy
@Stability(Stable)
public static interface CfnContinuousDeploymentPolicy.ContinuousDeploymentPolicyConfigProperty
extends software.amazon.jsii.JsiiSerializable
Contains the configuration for a continuous deployment policy.
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.*; ContinuousDeploymentPolicyConfigProperty continuousDeploymentPolicyConfigProperty = ContinuousDeploymentPolicyConfigProperty.builder() .enabled(false) .stagingDistributionDnsNames(List.of("stagingDistributionDnsNames")) // the properties below are optional .trafficConfig(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()) .build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
static final class
An implementation forCfnContinuousDeploymentPolicy.ContinuousDeploymentPolicyConfigProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
A Boolean that indicates whether this continuous deployment policy is enabled (in effect).The CloudFront domain name of the staging distribution.default Object
Contains the parameters for routing production traffic from your primary to staging distributions.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEnabled
A Boolean that indicates whether this continuous deployment policy is enabled (in effect).When this value is
true
, this policy is enabled and in effect. When this value isfalse
, this policy is not enabled and has no effect. -
getStagingDistributionDnsNames
The CloudFront domain name of the staging distribution.For example:
d111111abcdef8.cloudfront.net
. -
getTrafficConfig
Contains the parameters for routing production traffic from your primary to staging distributions. -
builder
@Stability(Stable) static CfnContinuousDeploymentPolicy.ContinuousDeploymentPolicyConfigProperty.Builder builder()
-