Interface CfnContinuousDeploymentPolicyPropsMixin.ContinuousDeploymentPolicyConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnContinuousDeploymentPolicyPropsMixin.ContinuousDeploymentPolicyConfigProperty.Jsii$Proxy
- Enclosing class:
CfnContinuousDeploymentPolicyPropsMixin
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.mixins.preview.services.cloudfront.mixins.*;
ContinuousDeploymentPolicyConfigProperty continuousDeploymentPolicyConfigProperty = ContinuousDeploymentPolicyConfigProperty.builder()
.enabled(false)
.singleHeaderPolicyConfig(SingleHeaderPolicyConfigProperty.builder()
.header("header")
.value("value")
.build())
.singleWeightPolicyConfig(SingleWeightPolicyConfigProperty.builder()
.sessionStickinessConfig(SessionStickinessConfigProperty.builder()
.idleTtl(123)
.maximumTtl(123)
.build())
.weight(123)
.build())
.stagingDistributionDnsNames(List.of("stagingDistributionDnsNames"))
.trafficConfig(TrafficConfigProperty.builder()
.singleHeaderConfig(SingleHeaderConfigProperty.builder()
.header("header")
.value("value")
.build())
.singleWeightConfig(SingleWeightConfigProperty.builder()
.sessionStickinessConfig(SessionStickinessConfigProperty.builder()
.idleTtl(123)
.maximumTtl(123)
.build())
.weight(123)
.build())
.type("type")
.build())
.type("type")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnContinuousDeploymentPolicyPropsMixin.ContinuousDeploymentPolicyConfigProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectA Boolean that indicates whether this continuous deployment policy is enabled (in effect).default ObjectThis configuration determines which HTTP requests are sent to the staging distribution.default ObjectThis configuration determines the percentage of HTTP requests that are sent to the staging distribution.The CloudFront domain name of the staging distribution.default ObjectContains the parameters for routing production traffic from your primary to staging distributions.default StringgetType()The type of traffic configuration.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.Returns union: either
BooleanorIResolvable- See Also:
-
getSingleHeaderPolicyConfig
This configuration determines which HTTP requests are sent to the staging distribution.If the HTTP request contains a header and value that matches what you specify here, the request is sent to the staging distribution. Otherwise the request is sent to the primary distribution.
Returns union: either
IResolvableorCfnContinuousDeploymentPolicyPropsMixin.SingleHeaderPolicyConfigProperty- See Also:
-
getSingleWeightPolicyConfig
This configuration determines the percentage of HTTP requests that are sent to the staging distribution.Returns union: either
IResolvableorCfnContinuousDeploymentPolicyPropsMixin.SingleWeightPolicyConfigProperty- See Also:
-
getStagingDistributionDnsNames
The CloudFront domain name of the staging distribution.For example:
d111111abcdef8.cloudfront.net.- See Also:
-
getTrafficConfig
Contains the parameters for routing production traffic from your primary to staging distributions.Returns union: either
IResolvableorCfnContinuousDeploymentPolicyPropsMixin.TrafficConfigProperty- See Also:
-
getType
The type of traffic configuration.- See Also:
-
builder
@Stability(Stable) static CfnContinuousDeploymentPolicyPropsMixin.ContinuousDeploymentPolicyConfigProperty.Builder builder()
-