Interface CfnContinuousDeploymentPolicy.SingleHeaderPolicyConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnContinuousDeploymentPolicy.SingleHeaderPolicyConfigProperty.Jsii$Proxy
- Enclosing class:
CfnContinuousDeploymentPolicy
@Stability(Stable)
public static interface CfnContinuousDeploymentPolicy.SingleHeaderPolicyConfigProperty
extends software.amazon.jsii.JsiiSerializable
Defines a single header policy for a CloudFront distribution.
This property is legacy. We recommend that you use TrafficConfig and specify the SingleHeaderConfig property instead.
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.*; SingleHeaderPolicyConfigProperty singleHeaderPolicyConfigProperty = SingleHeaderPolicyConfigProperty.builder() .header("header") .value("value") .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
static final class
An implementation forCfnContinuousDeploymentPolicy.SingleHeaderPolicyConfigProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getHeader
The name of the HTTP header that CloudFront uses to configure for the single header policy.- See Also:
-
getValue
Specifies the value to assign to the header for a single header policy.- See Also:
-
builder
@Stability(Stable) static CfnContinuousDeploymentPolicy.SingleHeaderPolicyConfigProperty.Builder builder()
-