@Stability(value=Stable)
public static interface CfnResponseHeadersPolicy.XSSProtectionProperty
extends software.amazon.jsii.JsiiSerializable
// 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.*;
XSSProtectionProperty xSSProtectionProperty = XSSProtectionProperty.builder()
.override(false)
.protection(false)
// the properties below are optional
.modeBlock(false)
.reportUri("reportUri")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnResponseHeadersPolicy.XSSProtectionProperty.Builder
A builder for
CfnResponseHeadersPolicy.XSSProtectionProperty |
static class |
CfnResponseHeadersPolicy.XSSProtectionProperty.Jsii$Proxy
An implementation for
CfnResponseHeadersPolicy.XSSProtectionProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnResponseHeadersPolicy.XSSProtectionProperty.Builder |
builder() |
default Object |
getModeBlock()
`CfnResponseHeadersPolicy.XSSProtectionProperty.ModeBlock`.
|
Object |
getOverride()
`CfnResponseHeadersPolicy.XSSProtectionProperty.Override`.
|
Object |
getProtection()
`CfnResponseHeadersPolicy.XSSProtectionProperty.Protection`.
|
default String |
getReportUri()
`CfnResponseHeadersPolicy.XSSProtectionProperty.ReportUri`.
|
@Stability(value=Stable) @Nullable default Object getModeBlock()
@Stability(value=Stable) @NotNull Object getOverride()
@Stability(value=Stable) @NotNull Object getProtection()
@Stability(value=Stable) @Nullable default String getReportUri()
@Stability(value=Stable) static CfnResponseHeadersPolicy.XSSProtectionProperty.Builder builder()
Copyright © 2021. All rights reserved.