@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-11T17:58:48.737Z") @Stability(value=Stable) public interface CfnOriginRequestPolicyProps extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnOriginRequestPolicyProps.Builder
A builder for
CfnOriginRequestPolicyProps |
static class |
CfnOriginRequestPolicyProps.Jsii$Proxy
An implementation for
CfnOriginRequestPolicyProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnOriginRequestPolicyProps.Builder |
builder() |
Object |
getOriginRequestPolicyConfig()
The origin request policy configuration.
|
@Stability(value=Stable) @NotNull Object getOriginRequestPolicyConfig()
@Stability(value=Stable) static CfnOriginRequestPolicyProps.Builder builder()
Copyright © 2022. All rights reserved.