Interface CfnContinuousDeploymentPolicyProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnContinuousDeploymentPolicyProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:43.477Z")
@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
.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())
.build();
-
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. -
builder
-