Package | Description |
---|---|
com.amazonaws.services.cloudfront.model |
Modifier and Type | Method and Description |
---|---|
ResponseHeadersPolicyStrictTransportSecurity |
ResponseHeadersPolicyStrictTransportSecurity.clone() |
ResponseHeadersPolicyStrictTransportSecurity |
ResponseHeadersPolicySecurityHeadersConfig.getStrictTransportSecurity()
Determines whether CloudFront includes the
Strict-Transport-Security HTTP response header and the
header's value. |
ResponseHeadersPolicyStrictTransportSecurity |
ResponseHeadersPolicyStrictTransportSecurity.withAccessControlMaxAgeSec(Integer accessControlMaxAgeSec)
A number that CloudFront uses as the value for the
max-age directive in the
Strict-Transport-Security HTTP response header. |
ResponseHeadersPolicyStrictTransportSecurity |
ResponseHeadersPolicyStrictTransportSecurity.withIncludeSubdomains(Boolean includeSubdomains)
A Boolean that determines whether CloudFront includes the
includeSubDomains directive in the
Strict-Transport-Security HTTP response header. |
ResponseHeadersPolicyStrictTransportSecurity |
ResponseHeadersPolicyStrictTransportSecurity.withOverride(Boolean 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. |
ResponseHeadersPolicyStrictTransportSecurity |
ResponseHeadersPolicyStrictTransportSecurity.withPreload(Boolean preload)
A Boolean that determines whether CloudFront includes the
preload directive in the
Strict-Transport-Security HTTP response header. |
Modifier and Type | Method and Description |
---|---|
void |
ResponseHeadersPolicySecurityHeadersConfig.setStrictTransportSecurity(ResponseHeadersPolicyStrictTransportSecurity strictTransportSecurity)
Determines whether CloudFront includes the
Strict-Transport-Security HTTP response header and the
header's value. |
ResponseHeadersPolicySecurityHeadersConfig |
ResponseHeadersPolicySecurityHeadersConfig.withStrictTransportSecurity(ResponseHeadersPolicyStrictTransportSecurity strictTransportSecurity)
Determines whether CloudFront includes the
Strict-Transport-Security HTTP response header and the
header's value. |
Copyright © 2023. All rights reserved.