@Stability(value=Stable)
public static interface CfnResponseHeadersPolicy.FrameOptionsProperty
extends software.amazon.jsii.JsiiSerializable
For more information about the X-Frame-Options HTTP response header, see X-Frame-Options in the MDN Web Docs.
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.*;
FrameOptionsProperty frameOptionsProperty = FrameOptionsProperty.builder()
.frameOption("frameOption")
.override(false)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnResponseHeadersPolicy.FrameOptionsProperty.Builder
A builder for
CfnResponseHeadersPolicy.FrameOptionsProperty |
static class |
CfnResponseHeadersPolicy.FrameOptionsProperty.Jsii$Proxy
An implementation for
CfnResponseHeadersPolicy.FrameOptionsProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnResponseHeadersPolicy.FrameOptionsProperty.Builder |
builder() |
String |
getFrameOption()
The value of the `X-Frame-Options` HTTP response header.
|
Object |
getOverride()
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.
|
@Stability(value=Stable) @NotNull String getFrameOption()
For more information about these values, see X-Frame-Options in the MDN Web Docs.
@Stability(value=Stable) @NotNull Object getOverride()
@Stability(value=Stable) static CfnResponseHeadersPolicy.FrameOptionsProperty.Builder builder()
Copyright © 2022. All rights reserved.