GetResponseHeadersPolicySecurityHeadersConfig class
Constructors
-
GetResponseHeadersPolicySecurityHeadersConfig({required Input<
List< contentSecurityPolicies, required Input<GetResponseHeadersPolicySecurityHeadersConfigContentSecurityPolicy> >List< contentTypeOptions, required Input<GetResponseHeadersPolicySecurityHeadersConfigContentTypeOption> >List< frameOptions, required Input<GetResponseHeadersPolicySecurityHeadersConfigFrameOption> >List< referrerPolicies, required Input<GetResponseHeadersPolicySecurityHeadersConfigReferrerPolicy> >List< strictTransportSecurities, required Input<GetResponseHeadersPolicySecurityHeadersConfigStrictTransportSecurity> >List< xssProtections})GetResponseHeadersPolicySecurityHeadersConfigXssProtection> > -
Creates a new GetResponseHeadersPolicySecurityHeadersConfig.
contentSecurityPoliciesThe policy directives and their values that CloudFront includes as values for the Content-Security-Policy HTTP response header.contentTypeOptionsA setting that determines whether CloudFront includes the X-Content-Type-Options HTTP response header with its value set to nosniff. See Content Type Options for more information.frameOptionsSetting that determines whether CloudFront includes the X-Frame-Options HTTP response header and the header’s value. See Frame Options for more information.referrerPoliciesValue of the Referrer-Policy HTTP response header. Valid Values:no-referrer|no-referrer-when-downgrade|origin|origin-when-cross-origin|same-origin|strict-origin|strict-origin-when-cross-origin|unsafe-urlstrictTransportSecuritiesSettings that determine whether CloudFront includes the Strict-Transport-Security HTTP response header and the header’s value. See Strict Transport Security for more information.xssProtectionsSettings that determine whether CloudFront includes the X-XSS-Protection HTTP response header and the header’s value. See XSS Protection for more information.const -
GetResponseHeadersPolicySecurityHeadersConfig.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
contentSecurityPolicies
→ Input<
List< GetResponseHeadersPolicySecurityHeadersConfigContentSecurityPolicy> > -
The policy directives and their values that CloudFront includes as values for the Content-Security-Policy HTTP response header.
final
-
contentTypeOptions
→ Input<
List< GetResponseHeadersPolicySecurityHeadersConfigContentTypeOption> > -
A setting that determines whether CloudFront includes the X-Content-Type-Options HTTP response header with its value set to nosniff. See Content Type Options for more information.
final
-
frameOptions
→ Input<
List< GetResponseHeadersPolicySecurityHeadersConfigFrameOption> > -
Setting that determines whether CloudFront includes the X-Frame-Options HTTP response header and the header’s value. See Frame Options for more information.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
referrerPolicies
→ Input<
List< GetResponseHeadersPolicySecurityHeadersConfigReferrerPolicy> > -
Value of the Referrer-Policy HTTP response header. Valid Values:
no-referrer|no-referrer-when-downgrade|origin|origin-when-cross-origin|same-origin|strict-origin|strict-origin-when-cross-origin|unsafe-urlfinal - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
strictTransportSecurities
→ Input<
List< GetResponseHeadersPolicySecurityHeadersConfigStrictTransportSecurity> > -
Settings that determine whether CloudFront includes the Strict-Transport-Security HTTP response header and the header’s value. See Strict Transport Security for more information.
final
-
xssProtections
→ Input<
List< GetResponseHeadersPolicySecurityHeadersConfigXssProtection> > -
Settings that determine whether CloudFront includes the X-XSS-Protection HTTP response header and the header’s value. See XSS Protection for more information.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited