@Stability(value=Stable) public static final class CfnDistribution.HeaderObjectProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnDistribution.HeaderObjectProperty>
CfnDistribution.HeaderObjectProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnDistribution.HeaderObjectProperty |
build()
Builds the configured instance.
|
CfnDistribution.HeaderObjectProperty.Builder |
headersAllowList(List<String> headersAllowList)
Sets the value of
CfnDistribution.HeaderObjectProperty.getHeadersAllowList() |
CfnDistribution.HeaderObjectProperty.Builder |
option(String option)
Sets the value of
CfnDistribution.HeaderObjectProperty.getOption() |
@Stability(value=Stable) public CfnDistribution.HeaderObjectProperty.Builder headersAllowList(List<String> headersAllowList)
CfnDistribution.HeaderObjectProperty.getHeadersAllowList()headersAllowList - The specific headers to forward to your distribution's origin.this@Stability(value=Stable) public CfnDistribution.HeaderObjectProperty.Builder option(String option)
CfnDistribution.HeaderObjectProperty.getOption()option - The headers that you want your distribution to forward to your origin.
Your distribution caches your content based on these headers.
Use one of the following configurations for your distribution:
all - Forwards all headers to your origin..none - Forwards only the default headers.allow-list - Forwards only the headers that you specify using the HeadersAllowList parameter.this@Stability(value=Stable) public CfnDistribution.HeaderObjectProperty build()
build in interface software.amazon.jsii.Builder<CfnDistribution.HeaderObjectProperty>CfnDistribution.HeaderObjectPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.