Interface CfnContinuousDeploymentPolicyProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnContinuousDeploymentPolicyProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-13T16:10:00.436Z")
@Stability(Stable)
public interface CfnContinuousDeploymentPolicyProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnContinuousDeploymentPolicy.
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.*;
CfnContinuousDeploymentPolicyProps cfnContinuousDeploymentPolicyProps = CfnContinuousDeploymentPolicyProps.builder()
.continuousDeploymentPolicyConfig(ContinuousDeploymentPolicyConfigProperty.builder()
.enabled(false)
.stagingDistributionDnsNames(List.of("stagingDistributionDnsNames"))
// the properties below are optional
.singleHeaderPolicyConfig(SingleHeaderPolicyConfigProperty.builder()
.header("header")
.value("value")
.build())
.singleWeightPolicyConfig(SingleWeightPolicyConfigProperty.builder()
.weight(123)
// the properties below are optional
.sessionStickinessConfig(SessionStickinessConfigProperty.builder()
.idleTtl(123)
.maximumTtl(123)
.build())
.build())
.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())
.type("type")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnContinuousDeploymentPolicyPropsstatic final classAn implementation forCfnContinuousDeploymentPolicyProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Contains the configuration for a continuous deployment policy.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getContinuousDeploymentPolicyConfig
Contains the configuration for a continuous deployment policy.Returns union: either
IResolvableorCfnContinuousDeploymentPolicy.ContinuousDeploymentPolicyConfigProperty- See Also:
-
builder
-