Interface CfnOriginRequestPolicyProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnOriginRequestPolicyProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:23:58.260Z")
@Stability(Stable)
public interface CfnOriginRequestPolicyProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnOriginRequestPolicy
.
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.*; CfnOriginRequestPolicyProps cfnOriginRequestPolicyProps = CfnOriginRequestPolicyProps.builder() .originRequestPolicyConfig(OriginRequestPolicyConfigProperty.builder() .cookiesConfig(CookiesConfigProperty.builder() .cookieBehavior("cookieBehavior") // the properties below are optional .cookies(List.of("cookies")) .build()) .headersConfig(HeadersConfigProperty.builder() .headerBehavior("headerBehavior") // the properties below are optional .headers(List.of("headers")) .build()) .name("name") .queryStringsConfig(QueryStringsConfigProperty.builder() .queryStringBehavior("queryStringBehavior") // the properties below are optional .queryStrings(List.of("queryStrings")) .build()) // the properties below are optional .comment("comment") .build()) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnOriginRequestPolicyProps
static final class
An implementation forCfnOriginRequestPolicyProps
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getOriginRequestPolicyConfig
The origin request policy configuration.- See Also:
-
builder
-