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-06T23:25:05.505Z") @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: