@Stability(value=Stable) public static final class CfnResponseHeadersPolicy.FrameOptionsProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnResponseHeadersPolicy.FrameOptionsProperty>
CfnResponseHeadersPolicy.FrameOptionsProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnResponseHeadersPolicy.FrameOptionsProperty |
build()
Builds the configured instance.
|
CfnResponseHeadersPolicy.FrameOptionsProperty.Builder |
frameOption(String frameOption)
Sets the value of
CfnResponseHeadersPolicy.FrameOptionsProperty.getFrameOption() |
CfnResponseHeadersPolicy.FrameOptionsProperty.Builder |
override(Boolean override)
Sets the value of
CfnResponseHeadersPolicy.FrameOptionsProperty.getOverride() |
CfnResponseHeadersPolicy.FrameOptionsProperty.Builder |
override(IResolvable override)
Sets the value of
CfnResponseHeadersPolicy.FrameOptionsProperty.getOverride() |
@Stability(value=Stable) public CfnResponseHeadersPolicy.FrameOptionsProperty.Builder frameOption(String frameOption)
CfnResponseHeadersPolicy.FrameOptionsProperty.getFrameOption()frameOption - The value of the `X-Frame-Options` HTTP response header. Valid values are `DENY` and `SAMEORIGIN` . This parameter is required.
For more information about these values, see X-Frame-Options in the MDN Web Docs.this@Stability(value=Stable) public CfnResponseHeadersPolicy.FrameOptionsProperty.Builder override(Boolean override)
CfnResponseHeadersPolicy.FrameOptionsProperty.getOverride()override - A Boolean that determines whether CloudFront overrides the `X-Frame-Options` HTTP response header received from the origin with the one specified in this response headers policy. This parameter is required.this@Stability(value=Stable) public CfnResponseHeadersPolicy.FrameOptionsProperty.Builder override(IResolvable override)
CfnResponseHeadersPolicy.FrameOptionsProperty.getOverride()override - A Boolean that determines whether CloudFront overrides the `X-Frame-Options` HTTP response header received from the origin with the one specified in this response headers policy. This parameter is required.this@Stability(value=Stable) public CfnResponseHeadersPolicy.FrameOptionsProperty build()
build in interface software.amazon.jsii.Builder<CfnResponseHeadersPolicy.FrameOptionsProperty>CfnResponseHeadersPolicy.FrameOptionsPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.