@Stability(value=Stable) public static final class CfnResponseHeadersPolicy.StrictTransportSecurityProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnResponseHeadersPolicy.StrictTransportSecurityProperty>
CfnResponseHeadersPolicy.StrictTransportSecurityProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnResponseHeadersPolicy.StrictTransportSecurityProperty.Builder accessControlMaxAgeSec(Number accessControlMaxAgeSec)
CfnResponseHeadersPolicy.StrictTransportSecurityProperty.getAccessControlMaxAgeSec()accessControlMaxAgeSec - A number that CloudFront uses as the value for the `max-age` directive in the `Strict-Transport-Security` HTTP response header. This parameter is required.this@Stability(value=Stable) public CfnResponseHeadersPolicy.StrictTransportSecurityProperty.Builder override(Boolean override)
CfnResponseHeadersPolicy.StrictTransportSecurityProperty.getOverride()override - A Boolean that determines whether CloudFront overrides the `Strict-Transport-Security` 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.StrictTransportSecurityProperty.Builder override(IResolvable override)
CfnResponseHeadersPolicy.StrictTransportSecurityProperty.getOverride()override - A Boolean that determines whether CloudFront overrides the `Strict-Transport-Security` 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.StrictTransportSecurityProperty.Builder includeSubdomains(Boolean includeSubdomains)
includeSubdomains - A Boolean that determines whether CloudFront includes the `includeSubDomains` directive in the `Strict-Transport-Security` HTTP response header.this@Stability(value=Stable) public CfnResponseHeadersPolicy.StrictTransportSecurityProperty.Builder includeSubdomains(IResolvable includeSubdomains)
includeSubdomains - A Boolean that determines whether CloudFront includes the `includeSubDomains` directive in the `Strict-Transport-Security` HTTP response header.this@Stability(value=Stable) public CfnResponseHeadersPolicy.StrictTransportSecurityProperty.Builder preload(Boolean preload)
CfnResponseHeadersPolicy.StrictTransportSecurityProperty.getPreload()preload - A Boolean that determines whether CloudFront includes the `preload` directive in the `Strict-Transport-Security` HTTP response header.this@Stability(value=Stable) public CfnResponseHeadersPolicy.StrictTransportSecurityProperty.Builder preload(IResolvable preload)
CfnResponseHeadersPolicy.StrictTransportSecurityProperty.getPreload()preload - A Boolean that determines whether CloudFront includes the `preload` directive in the `Strict-Transport-Security` HTTP response header.this@Stability(value=Stable) public CfnResponseHeadersPolicy.StrictTransportSecurityProperty build()
build in interface software.amazon.jsii.Builder<CfnResponseHeadersPolicy.StrictTransportSecurityProperty>CfnResponseHeadersPolicy.StrictTransportSecurityPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.