AWS Native is in preview. AWS Classic is fully supported.
aws-native.cloudfront.getResponseHeadersPolicy
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
Resource Type definition for AWS::CloudFront::ResponseHeadersPolicy
Using getResponseHeadersPolicy
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getResponseHeadersPolicy(args: GetResponseHeadersPolicyArgs, opts?: InvokeOptions): Promise<GetResponseHeadersPolicyResult>
function getResponseHeadersPolicyOutput(args: GetResponseHeadersPolicyOutputArgs, opts?: InvokeOptions): Output<GetResponseHeadersPolicyResult>
def get_response_headers_policy(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetResponseHeadersPolicyResult
def get_response_headers_policy_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetResponseHeadersPolicyResult]
func LookupResponseHeadersPolicy(ctx *Context, args *LookupResponseHeadersPolicyArgs, opts ...InvokeOption) (*LookupResponseHeadersPolicyResult, error)
func LookupResponseHeadersPolicyOutput(ctx *Context, args *LookupResponseHeadersPolicyOutputArgs, opts ...InvokeOption) LookupResponseHeadersPolicyResultOutput
> Note: This function is named LookupResponseHeadersPolicy
in the Go SDK.
public static class GetResponseHeadersPolicy
{
public static Task<GetResponseHeadersPolicyResult> InvokeAsync(GetResponseHeadersPolicyArgs args, InvokeOptions? opts = null)
public static Output<GetResponseHeadersPolicyResult> Invoke(GetResponseHeadersPolicyInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetResponseHeadersPolicyResult> getResponseHeadersPolicy(GetResponseHeadersPolicyArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:cloudfront:getResponseHeadersPolicy
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- The unique identifier for the response headers policy. For example:
57f99797-3b20-4e1b-a728-27972a74082a
.
- Id string
- The unique identifier for the response headers policy. For example:
57f99797-3b20-4e1b-a728-27972a74082a
.
- id String
- The unique identifier for the response headers policy. For example:
57f99797-3b20-4e1b-a728-27972a74082a
.
- id string
- The unique identifier for the response headers policy. For example:
57f99797-3b20-4e1b-a728-27972a74082a
.
- id str
- The unique identifier for the response headers policy. For example:
57f99797-3b20-4e1b-a728-27972a74082a
.
- id String
- The unique identifier for the response headers policy. For example:
57f99797-3b20-4e1b-a728-27972a74082a
.
getResponseHeadersPolicy Result
The following output properties are available:
- Id string
- The unique identifier for the response headers policy. For example:
57f99797-3b20-4e1b-a728-27972a74082a
. - Last
Modified stringTime - The date and time when the response headers policy was last modified.
- Response
Headers Pulumi.Policy Config Aws Native. Cloud Front. Outputs. Response Headers Policy Config - A response headers policy configuration.
- Id string
- The unique identifier for the response headers policy. For example:
57f99797-3b20-4e1b-a728-27972a74082a
. - Last
Modified stringTime - The date and time when the response headers policy was last modified.
- Response
Headers ResponsePolicy Config Headers Policy Config - A response headers policy configuration.
- id String
- The unique identifier for the response headers policy. For example:
57f99797-3b20-4e1b-a728-27972a74082a
. - last
Modified StringTime - The date and time when the response headers policy was last modified.
- response
Headers ResponsePolicy Config Headers Policy Config - A response headers policy configuration.
- id string
- The unique identifier for the response headers policy. For example:
57f99797-3b20-4e1b-a728-27972a74082a
. - last
Modified stringTime - The date and time when the response headers policy was last modified.
- response
Headers ResponsePolicy Config Headers Policy Config - A response headers policy configuration.
- id str
- The unique identifier for the response headers policy. For example:
57f99797-3b20-4e1b-a728-27972a74082a
. - last_
modified_ strtime - The date and time when the response headers policy was last modified.
- response_
headers_ Responsepolicy_ config Headers Policy Config - A response headers policy configuration.
- id String
- The unique identifier for the response headers policy. For example:
57f99797-3b20-4e1b-a728-27972a74082a
. - last
Modified StringTime - The date and time when the response headers policy was last modified.
- response
Headers Property MapPolicy Config - A response headers policy configuration.
Supporting Types
ResponseHeadersPolicyAccessControlAllowHeaders
- Items List<string>
- The list of HTTP header names. You can specify
*
to allow all headers.
- Items []string
- The list of HTTP header names. You can specify
*
to allow all headers.
- items List<String>
- The list of HTTP header names. You can specify
*
to allow all headers.
- items string[]
- The list of HTTP header names. You can specify
*
to allow all headers.
- items Sequence[str]
- The list of HTTP header names. You can specify
*
to allow all headers.
- items List<String>
- The list of HTTP header names. You can specify
*
to allow all headers.
ResponseHeadersPolicyAccessControlAllowMethods
- Items List<string>
The list of HTTP methods. Valid values are:
GET
DELETE
HEAD
OPTIONS
PATCH
POST
PUT
ALL
ALL
is a special value that includes all of the listed HTTP methods.
- Items []string
The list of HTTP methods. Valid values are:
GET
DELETE
HEAD
OPTIONS
PATCH
POST
PUT
ALL
ALL
is a special value that includes all of the listed HTTP methods.
- items List<String>
The list of HTTP methods. Valid values are:
GET
DELETE
HEAD
OPTIONS
PATCH
POST
PUT
ALL
ALL
is a special value that includes all of the listed HTTP methods.
- items string[]
The list of HTTP methods. Valid values are:
GET
DELETE
HEAD
OPTIONS
PATCH
POST
PUT
ALL
ALL
is a special value that includes all of the listed HTTP methods.
- items Sequence[str]
The list of HTTP methods. Valid values are:
GET
DELETE
HEAD
OPTIONS
PATCH
POST
PUT
ALL
ALL
is a special value that includes all of the listed HTTP methods.
- items List<String>
The list of HTTP methods. Valid values are:
GET
DELETE
HEAD
OPTIONS
PATCH
POST
PUT
ALL
ALL
is a special value that includes all of the listed HTTP methods.
ResponseHeadersPolicyAccessControlAllowOrigins
- Items List<string>
- The list of origins (domain names). You can specify
*
to allow all origins.
- Items []string
- The list of origins (domain names). You can specify
*
to allow all origins.
- items List<String>
- The list of origins (domain names). You can specify
*
to allow all origins.
- items string[]
- The list of origins (domain names). You can specify
*
to allow all origins.
- items Sequence[str]
- The list of origins (domain names). You can specify
*
to allow all origins.
- items List<String>
- The list of origins (domain names). You can specify
*
to allow all origins.
ResponseHeadersPolicyAccessControlExposeHeaders
- Items List<string>
- The list of HTTP headers. You can specify
*
to expose all headers.
- Items []string
- The list of HTTP headers. You can specify
*
to expose all headers.
- items List<String>
- The list of HTTP headers. You can specify
*
to expose all headers.
- items string[]
- The list of HTTP headers. You can specify
*
to expose all headers.
- items Sequence[str]
- The list of HTTP headers. You can specify
*
to expose all headers.
- items List<String>
- The list of HTTP headers. You can specify
*
to expose all headers.
ResponseHeadersPolicyConfig
- Name string
A name to identify the response headers policy.
The name must be unique for response headers policies in this AWS account .
- Comment string
A comment to describe the response headers policy.
The comment cannot be longer than 128 characters.
- Cors
Config Pulumi.Aws Native. Cloud Front. Inputs. Response Headers Policy Cors Config - A configuration for a set of HTTP response headers that are used for cross-origin resource sharing (CORS).
- Custom
Headers Pulumi.Config Aws Native. Cloud Front. Inputs. Response Headers Policy Custom Headers Config - A configuration for a set of custom HTTP response headers.
- Remove
Headers Pulumi.Config Aws Native. Cloud Front. Inputs. Response Headers Policy Remove Headers Config - A configuration for a set of HTTP headers to remove from the HTTP response.
- Security
Headers Pulumi.Config Aws Native. Cloud Front. Inputs. Response Headers Policy Security Headers Config - A configuration for a set of security-related HTTP response headers.
- Server
Timing Pulumi.Headers Config Aws Native. Cloud Front. Inputs. Response Headers Policy Server Timing Headers Config - A configuration for enabling the
Server-Timing
header in HTTP responses sent from CloudFront.
- Name string
A name to identify the response headers policy.
The name must be unique for response headers policies in this AWS account .
- Comment string
A comment to describe the response headers policy.
The comment cannot be longer than 128 characters.
- Cors
Config ResponseHeaders Policy Cors Config - A configuration for a set of HTTP response headers that are used for cross-origin resource sharing (CORS).
- Custom
Headers ResponseConfig Headers Policy Custom Headers Config - A configuration for a set of custom HTTP response headers.
- Remove
Headers ResponseConfig Headers Policy Remove Headers Config - A configuration for a set of HTTP headers to remove from the HTTP response.
- Security
Headers ResponseConfig Headers Policy Security Headers Config - A configuration for a set of security-related HTTP response headers.
- Server
Timing ResponseHeaders Config Headers Policy Server Timing Headers Config - A configuration for enabling the
Server-Timing
header in HTTP responses sent from CloudFront.
- name String
A name to identify the response headers policy.
The name must be unique for response headers policies in this AWS account .
- comment String
A comment to describe the response headers policy.
The comment cannot be longer than 128 characters.
- cors
Config ResponseHeaders Policy Cors Config - A configuration for a set of HTTP response headers that are used for cross-origin resource sharing (CORS).
- custom
Headers ResponseConfig Headers Policy Custom Headers Config - A configuration for a set of custom HTTP response headers.
- remove
Headers ResponseConfig Headers Policy Remove Headers Config - A configuration for a set of HTTP headers to remove from the HTTP response.
- security
Headers ResponseConfig Headers Policy Security Headers Config - A configuration for a set of security-related HTTP response headers.
- server
Timing ResponseHeaders Config Headers Policy Server Timing Headers Config - A configuration for enabling the
Server-Timing
header in HTTP responses sent from CloudFront.
- name string
A name to identify the response headers policy.
The name must be unique for response headers policies in this AWS account .
- comment string
A comment to describe the response headers policy.
The comment cannot be longer than 128 characters.
- cors
Config ResponseHeaders Policy Cors Config - A configuration for a set of HTTP response headers that are used for cross-origin resource sharing (CORS).
- custom
Headers ResponseConfig Headers Policy Custom Headers Config - A configuration for a set of custom HTTP response headers.
- remove
Headers ResponseConfig Headers Policy Remove Headers Config - A configuration for a set of HTTP headers to remove from the HTTP response.
- security
Headers ResponseConfig Headers Policy Security Headers Config - A configuration for a set of security-related HTTP response headers.
- server
Timing ResponseHeaders Config Headers Policy Server Timing Headers Config - A configuration for enabling the
Server-Timing
header in HTTP responses sent from CloudFront.
- name str
A name to identify the response headers policy.
The name must be unique for response headers policies in this AWS account .
- comment str
A comment to describe the response headers policy.
The comment cannot be longer than 128 characters.
- cors_
config ResponseHeaders Policy Cors Config - A configuration for a set of HTTP response headers that are used for cross-origin resource sharing (CORS).
- custom_
headers_ Responseconfig Headers Policy Custom Headers Config - A configuration for a set of custom HTTP response headers.
- remove_
headers_ Responseconfig Headers Policy Remove Headers Config - A configuration for a set of HTTP headers to remove from the HTTP response.
- security_
headers_ Responseconfig Headers Policy Security Headers Config - A configuration for a set of security-related HTTP response headers.
- server_
timing_ Responseheaders_ config Headers Policy Server Timing Headers Config - A configuration for enabling the
Server-Timing
header in HTTP responses sent from CloudFront.
- name String
A name to identify the response headers policy.
The name must be unique for response headers policies in this AWS account .
- comment String
A comment to describe the response headers policy.
The comment cannot be longer than 128 characters.
- cors
Config Property Map - A configuration for a set of HTTP response headers that are used for cross-origin resource sharing (CORS).
- custom
Headers Property MapConfig - A configuration for a set of custom HTTP response headers.
- remove
Headers Property MapConfig - A configuration for a set of HTTP headers to remove from the HTTP response.
- security
Headers Property MapConfig - A configuration for a set of security-related HTTP response headers.
- server
Timing Property MapHeaders Config - A configuration for enabling the
Server-Timing
header in HTTP responses sent from CloudFront.
ResponseHeadersPolicyContentSecurityPolicy
- Content
Security stringPolicy - The policy directives and their values that CloudFront includes as values for the
Content-Security-Policy
HTTP response header. - Override bool
- A Boolean that determines whether CloudFront overrides the
Content-Security-Policy
HTTP response header received from the origin with the one specified in this response headers policy.
- Content
Security stringPolicy - The policy directives and their values that CloudFront includes as values for the
Content-Security-Policy
HTTP response header. - Override bool
- A Boolean that determines whether CloudFront overrides the
Content-Security-Policy
HTTP response header received from the origin with the one specified in this response headers policy.
- content
Security StringPolicy - The policy directives and their values that CloudFront includes as values for the
Content-Security-Policy
HTTP response header. - override Boolean
- A Boolean that determines whether CloudFront overrides the
Content-Security-Policy
HTTP response header received from the origin with the one specified in this response headers policy.
- content
Security stringPolicy - The policy directives and their values that CloudFront includes as values for the
Content-Security-Policy
HTTP response header. - override boolean
- A Boolean that determines whether CloudFront overrides the
Content-Security-Policy
HTTP response header received from the origin with the one specified in this response headers policy.
- content_
security_ strpolicy - The policy directives and their values that CloudFront includes as values for the
Content-Security-Policy
HTTP response header. - override bool
- A Boolean that determines whether CloudFront overrides the
Content-Security-Policy
HTTP response header received from the origin with the one specified in this response headers policy.
- content
Security StringPolicy - The policy directives and their values that CloudFront includes as values for the
Content-Security-Policy
HTTP response header. - override Boolean
- A Boolean that determines whether CloudFront overrides the
Content-Security-Policy
HTTP response header received from the origin with the one specified in this response headers policy.
ResponseHeadersPolicyContentTypeOptions
- Override bool
- A Boolean that determines whether CloudFront overrides the
X-Content-Type-Options
HTTP response header received from the origin with the one specified in this response headers policy.
- Override bool
- A Boolean that determines whether CloudFront overrides the
X-Content-Type-Options
HTTP response header received from the origin with the one specified in this response headers policy.
- override Boolean
- A Boolean that determines whether CloudFront overrides the
X-Content-Type-Options
HTTP response header received from the origin with the one specified in this response headers policy.
- override boolean
- A Boolean that determines whether CloudFront overrides the
X-Content-Type-Options
HTTP response header received from the origin with the one specified in this response headers policy.
- override bool
- A Boolean that determines whether CloudFront overrides the
X-Content-Type-Options
HTTP response header received from the origin with the one specified in this response headers policy.
- override Boolean
- A Boolean that determines whether CloudFront overrides the
X-Content-Type-Options
HTTP response header received from the origin with the one specified in this response headers policy.
ResponseHeadersPolicyCorsConfig
- Access
Control boolAllow Credentials A Boolean that CloudFront uses as the value for the
Access-Control-Allow-Credentials
HTTP response header.For more information about the
Access-Control-Allow-Credentials
HTTP response header, see Access-Control-Allow-Credentials in the MDN Web Docs.- Access
Control Pulumi.Allow Headers Aws Native. Cloud Front. Inputs. Response Headers Policy Access Control Allow Headers A list of HTTP header names that CloudFront includes as values for the
Access-Control-Allow-Headers
HTTP response header.For more information about the
Access-Control-Allow-Headers
HTTP response header, see Access-Control-Allow-Headers in the MDN Web Docs.- Access
Control Pulumi.Allow Methods Aws Native. Cloud Front. Inputs. Response Headers Policy Access Control Allow Methods A list of HTTP methods that CloudFront includes as values for the
Access-Control-Allow-Methods
HTTP response header.For more information about the
Access-Control-Allow-Methods
HTTP response header, see Access-Control-Allow-Methods in the MDN Web Docs.- Access
Control Pulumi.Allow Origins Aws Native. Cloud Front. Inputs. Response Headers Policy Access Control Allow Origins A list of origins (domain names) that CloudFront can use as the value for the
Access-Control-Allow-Origin
HTTP response header.For more information about the
Access-Control-Allow-Origin
HTTP response header, see Access-Control-Allow-Origin in the MDN Web Docs.- Origin
Override bool - A Boolean that determines whether CloudFront overrides HTTP response headers received from the origin with the ones specified in this response headers policy.
- Access
Control Pulumi.Expose Headers Aws Native. Cloud Front. Inputs. Response Headers Policy Access Control Expose Headers A list of HTTP headers that CloudFront includes as values for the
Access-Control-Expose-Headers
HTTP response header.For more information about the
Access-Control-Expose-Headers
HTTP response header, see Access-Control-Expose-Headers in the MDN Web Docs.- Access
Control intMax Age Sec A number that CloudFront uses as the value for the
Access-Control-Max-Age
HTTP response header.For more information about the
Access-Control-Max-Age
HTTP response header, see Access-Control-Max-Age in the MDN Web Docs.
- Access
Control boolAllow Credentials A Boolean that CloudFront uses as the value for the
Access-Control-Allow-Credentials
HTTP response header.For more information about the
Access-Control-Allow-Credentials
HTTP response header, see Access-Control-Allow-Credentials in the MDN Web Docs.- Access
Control ResponseAllow Headers Headers Policy Access Control Allow Headers A list of HTTP header names that CloudFront includes as values for the
Access-Control-Allow-Headers
HTTP response header.For more information about the
Access-Control-Allow-Headers
HTTP response header, see Access-Control-Allow-Headers in the MDN Web Docs.- Access
Control ResponseAllow Methods Headers Policy Access Control Allow Methods A list of HTTP methods that CloudFront includes as values for the
Access-Control-Allow-Methods
HTTP response header.For more information about the
Access-Control-Allow-Methods
HTTP response header, see Access-Control-Allow-Methods in the MDN Web Docs.- Access
Control ResponseAllow Origins Headers Policy Access Control Allow Origins A list of origins (domain names) that CloudFront can use as the value for the
Access-Control-Allow-Origin
HTTP response header.For more information about the
Access-Control-Allow-Origin
HTTP response header, see Access-Control-Allow-Origin in the MDN Web Docs.- Origin
Override bool - A Boolean that determines whether CloudFront overrides HTTP response headers received from the origin with the ones specified in this response headers policy.
- Access
Control ResponseExpose Headers Headers Policy Access Control Expose Headers A list of HTTP headers that CloudFront includes as values for the
Access-Control-Expose-Headers
HTTP response header.For more information about the
Access-Control-Expose-Headers
HTTP response header, see Access-Control-Expose-Headers in the MDN Web Docs.- Access
Control intMax Age Sec A number that CloudFront uses as the value for the
Access-Control-Max-Age
HTTP response header.For more information about the
Access-Control-Max-Age
HTTP response header, see Access-Control-Max-Age in the MDN Web Docs.
- access
Control BooleanAllow Credentials A Boolean that CloudFront uses as the value for the
Access-Control-Allow-Credentials
HTTP response header.For more information about the
Access-Control-Allow-Credentials
HTTP response header, see Access-Control-Allow-Credentials in the MDN Web Docs.- access
Control ResponseAllow Headers Headers Policy Access Control Allow Headers A list of HTTP header names that CloudFront includes as values for the
Access-Control-Allow-Headers
HTTP response header.For more information about the
Access-Control-Allow-Headers
HTTP response header, see Access-Control-Allow-Headers in the MDN Web Docs.- access
Control ResponseAllow Methods Headers Policy Access Control Allow Methods A list of HTTP methods that CloudFront includes as values for the
Access-Control-Allow-Methods
HTTP response header.For more information about the
Access-Control-Allow-Methods
HTTP response header, see Access-Control-Allow-Methods in the MDN Web Docs.- access
Control ResponseAllow Origins Headers Policy Access Control Allow Origins A list of origins (domain names) that CloudFront can use as the value for the
Access-Control-Allow-Origin
HTTP response header.For more information about the
Access-Control-Allow-Origin
HTTP response header, see Access-Control-Allow-Origin in the MDN Web Docs.- origin
Override Boolean - A Boolean that determines whether CloudFront overrides HTTP response headers received from the origin with the ones specified in this response headers policy.
- access
Control ResponseExpose Headers Headers Policy Access Control Expose Headers A list of HTTP headers that CloudFront includes as values for the
Access-Control-Expose-Headers
HTTP response header.For more information about the
Access-Control-Expose-Headers
HTTP response header, see Access-Control-Expose-Headers in the MDN Web Docs.- access
Control IntegerMax Age Sec A number that CloudFront uses as the value for the
Access-Control-Max-Age
HTTP response header.For more information about the
Access-Control-Max-Age
HTTP response header, see Access-Control-Max-Age in the MDN Web Docs.
- access
Control booleanAllow Credentials A Boolean that CloudFront uses as the value for the
Access-Control-Allow-Credentials
HTTP response header.For more information about the
Access-Control-Allow-Credentials
HTTP response header, see Access-Control-Allow-Credentials in the MDN Web Docs.- access
Control ResponseAllow Headers Headers Policy Access Control Allow Headers A list of HTTP header names that CloudFront includes as values for the
Access-Control-Allow-Headers
HTTP response header.For more information about the
Access-Control-Allow-Headers
HTTP response header, see Access-Control-Allow-Headers in the MDN Web Docs.- access
Control ResponseAllow Methods Headers Policy Access Control Allow Methods A list of HTTP methods that CloudFront includes as values for the
Access-Control-Allow-Methods
HTTP response header.For more information about the
Access-Control-Allow-Methods
HTTP response header, see Access-Control-Allow-Methods in the MDN Web Docs.- access
Control ResponseAllow Origins Headers Policy Access Control Allow Origins A list of origins (domain names) that CloudFront can use as the value for the
Access-Control-Allow-Origin
HTTP response header.For more information about the
Access-Control-Allow-Origin
HTTP response header, see Access-Control-Allow-Origin in the MDN Web Docs.- origin
Override boolean - A Boolean that determines whether CloudFront overrides HTTP response headers received from the origin with the ones specified in this response headers policy.
- access
Control ResponseExpose Headers Headers Policy Access Control Expose Headers A list of HTTP headers that CloudFront includes as values for the
Access-Control-Expose-Headers
HTTP response header.For more information about the
Access-Control-Expose-Headers
HTTP response header, see Access-Control-Expose-Headers in the MDN Web Docs.- access
Control numberMax Age Sec A number that CloudFront uses as the value for the
Access-Control-Max-Age
HTTP response header.For more information about the
Access-Control-Max-Age
HTTP response header, see Access-Control-Max-Age in the MDN Web Docs.
- access_
control_ boolallow_ credentials A Boolean that CloudFront uses as the value for the
Access-Control-Allow-Credentials
HTTP response header.For more information about the
Access-Control-Allow-Credentials
HTTP response header, see Access-Control-Allow-Credentials in the MDN Web Docs.- access_
control_ Responseallow_ headers Headers Policy Access Control Allow Headers A list of HTTP header names that CloudFront includes as values for the
Access-Control-Allow-Headers
HTTP response header.For more information about the
Access-Control-Allow-Headers
HTTP response header, see Access-Control-Allow-Headers in the MDN Web Docs.- access_
control_ Responseallow_ methods Headers Policy Access Control Allow Methods A list of HTTP methods that CloudFront includes as values for the
Access-Control-Allow-Methods
HTTP response header.For more information about the
Access-Control-Allow-Methods
HTTP response header, see Access-Control-Allow-Methods in the MDN Web Docs.- access_
control_ Responseallow_ origins Headers Policy Access Control Allow Origins A list of origins (domain names) that CloudFront can use as the value for the
Access-Control-Allow-Origin
HTTP response header.For more information about the
Access-Control-Allow-Origin
HTTP response header, see Access-Control-Allow-Origin in the MDN Web Docs.- origin_
override bool - A Boolean that determines whether CloudFront overrides HTTP response headers received from the origin with the ones specified in this response headers policy.
- access_
control_ Responseexpose_ headers Headers Policy Access Control Expose Headers A list of HTTP headers that CloudFront includes as values for the
Access-Control-Expose-Headers
HTTP response header.For more information about the
Access-Control-Expose-Headers
HTTP response header, see Access-Control-Expose-Headers in the MDN Web Docs.- access_
control_ intmax_ age_ sec A number that CloudFront uses as the value for the
Access-Control-Max-Age
HTTP response header.For more information about the
Access-Control-Max-Age
HTTP response header, see Access-Control-Max-Age in the MDN Web Docs.
- access
Control BooleanAllow Credentials A Boolean that CloudFront uses as the value for the
Access-Control-Allow-Credentials
HTTP response header.For more information about the
Access-Control-Allow-Credentials
HTTP response header, see Access-Control-Allow-Credentials in the MDN Web Docs.- access
Control Property MapAllow Headers A list of HTTP header names that CloudFront includes as values for the
Access-Control-Allow-Headers
HTTP response header.For more information about the
Access-Control-Allow-Headers
HTTP response header, see Access-Control-Allow-Headers in the MDN Web Docs.- access
Control Property MapAllow Methods A list of HTTP methods that CloudFront includes as values for the
Access-Control-Allow-Methods
HTTP response header.For more information about the
Access-Control-Allow-Methods
HTTP response header, see Access-Control-Allow-Methods in the MDN Web Docs.- access
Control Property MapAllow Origins A list of origins (domain names) that CloudFront can use as the value for the
Access-Control-Allow-Origin
HTTP response header.For more information about the
Access-Control-Allow-Origin
HTTP response header, see Access-Control-Allow-Origin in the MDN Web Docs.- origin
Override Boolean - A Boolean that determines whether CloudFront overrides HTTP response headers received from the origin with the ones specified in this response headers policy.
- access
Control Property MapExpose Headers A list of HTTP headers that CloudFront includes as values for the
Access-Control-Expose-Headers
HTTP response header.For more information about the
Access-Control-Expose-Headers
HTTP response header, see Access-Control-Expose-Headers in the MDN Web Docs.- access
Control NumberMax Age Sec A number that CloudFront uses as the value for the
Access-Control-Max-Age
HTTP response header.For more information about the
Access-Control-Max-Age
HTTP response header, see Access-Control-Max-Age in the MDN Web Docs.
ResponseHeadersPolicyCustomHeader
ResponseHeadersPolicyCustomHeadersConfig
- Items
List<Pulumi.
Aws Native. Cloud Front. Inputs. Response Headers Policy Custom Header> - The list of HTTP response headers and their values.
- Items
[]Response
Headers Policy Custom Header - The list of HTTP response headers and their values.
- items
List<Response
Headers Policy Custom Header> - The list of HTTP response headers and their values.
- items
Response
Headers Policy Custom Header[] - The list of HTTP response headers and their values.
- items
Sequence[Response
Headers Policy Custom Header] - The list of HTTP response headers and their values.
- items List<Property Map>
- The list of HTTP response headers and their values.
ResponseHeadersPolicyFrameOptions
- Frame
Option string The value of the
X-Frame-Options
HTTP response header. Valid values areDENY
andSAMEORIGIN
.For more information about these values, see X-Frame-Options in the MDN Web Docs.
- Override bool
- 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.
- Frame
Option string The value of the
X-Frame-Options
HTTP response header. Valid values areDENY
andSAMEORIGIN
.For more information about these values, see X-Frame-Options in the MDN Web Docs.
- Override bool
- 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.
- frame
Option String The value of the
X-Frame-Options
HTTP response header. Valid values areDENY
andSAMEORIGIN
.For more information about these values, see X-Frame-Options in the MDN Web Docs.
- override Boolean
- 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.
- frame
Option string The value of the
X-Frame-Options
HTTP response header. Valid values areDENY
andSAMEORIGIN
.For more information about these values, see X-Frame-Options in the MDN Web Docs.
- override boolean
- 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.
- frame_
option str The value of the
X-Frame-Options
HTTP response header. Valid values areDENY
andSAMEORIGIN
.For more information about these values, see X-Frame-Options in the MDN Web Docs.
- override bool
- 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.
- frame
Option String The value of the
X-Frame-Options
HTTP response header. Valid values areDENY
andSAMEORIGIN
.For more information about these values, see X-Frame-Options in the MDN Web Docs.
- override Boolean
- 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.
ResponseHeadersPolicyReferrerPolicy
- Override bool
- A Boolean that determines whether CloudFront overrides the
Referrer-Policy
HTTP response header received from the origin with the one specified in this response headers policy. - Referrer
Policy string The value of the
Referrer-Policy
HTTP response header. Valid values are:no-referrer
no-referrer-when-downgrade
origin
origin-when-cross-origin
same-origin
strict-origin
strict-origin-when-cross-origin
unsafe-url
For more information about these values, see Referrer-Policy in the MDN Web Docs.
- Override bool
- A Boolean that determines whether CloudFront overrides the
Referrer-Policy
HTTP response header received from the origin with the one specified in this response headers policy. - Referrer
Policy string The value of the
Referrer-Policy
HTTP response header. Valid values are:no-referrer
no-referrer-when-downgrade
origin
origin-when-cross-origin
same-origin
strict-origin
strict-origin-when-cross-origin
unsafe-url
For more information about these values, see Referrer-Policy in the MDN Web Docs.
- override Boolean
- A Boolean that determines whether CloudFront overrides the
Referrer-Policy
HTTP response header received from the origin with the one specified in this response headers policy. - referrer
Policy String The value of the
Referrer-Policy
HTTP response header. Valid values are:no-referrer
no-referrer-when-downgrade
origin
origin-when-cross-origin
same-origin
strict-origin
strict-origin-when-cross-origin
unsafe-url
For more information about these values, see Referrer-Policy in the MDN Web Docs.
- override boolean
- A Boolean that determines whether CloudFront overrides the
Referrer-Policy
HTTP response header received from the origin with the one specified in this response headers policy. - referrer
Policy string The value of the
Referrer-Policy
HTTP response header. Valid values are:no-referrer
no-referrer-when-downgrade
origin
origin-when-cross-origin
same-origin
strict-origin
strict-origin-when-cross-origin
unsafe-url
For more information about these values, see Referrer-Policy in the MDN Web Docs.
- override bool
- A Boolean that determines whether CloudFront overrides the
Referrer-Policy
HTTP response header received from the origin with the one specified in this response headers policy. - referrer_
policy str The value of the
Referrer-Policy
HTTP response header. Valid values are:no-referrer
no-referrer-when-downgrade
origin
origin-when-cross-origin
same-origin
strict-origin
strict-origin-when-cross-origin
unsafe-url
For more information about these values, see Referrer-Policy in the MDN Web Docs.
- override Boolean
- A Boolean that determines whether CloudFront overrides the
Referrer-Policy
HTTP response header received from the origin with the one specified in this response headers policy. - referrer
Policy String The value of the
Referrer-Policy
HTTP response header. Valid values are:no-referrer
no-referrer-when-downgrade
origin
origin-when-cross-origin
same-origin
strict-origin
strict-origin-when-cross-origin
unsafe-url
For more information about these values, see Referrer-Policy in the MDN Web Docs.
ResponseHeadersPolicyRemoveHeader
- Header string
- The HTTP header name.
- Header string
- The HTTP header name.
- header String
- The HTTP header name.
- header string
- The HTTP header name.
- header str
- The HTTP header name.
- header String
- The HTTP header name.
ResponseHeadersPolicyRemoveHeadersConfig
- Items
List<Pulumi.
Aws Native. Cloud Front. Inputs. Response Headers Policy Remove Header> - The list of HTTP header names.
- Items
[]Response
Headers Policy Remove Header - The list of HTTP header names.
- items
List<Response
Headers Policy Remove Header> - The list of HTTP header names.
- items
Response
Headers Policy Remove Header[] - The list of HTTP header names.
- items
Sequence[Response
Headers Policy Remove Header] - The list of HTTP header names.
- items List<Property Map>
- The list of HTTP header names.
ResponseHeadersPolicySecurityHeadersConfig
- Content
Security Pulumi.Policy Aws Native. Cloud Front. Inputs. Response Headers Policy Content Security Policy The policy directives and their values that CloudFront includes as values for the
Content-Security-Policy
HTTP response header.For more information about the
Content-Security-Policy
HTTP response header, see Content-Security-Policy in the MDN Web Docs.- Content
Type Pulumi.Options Aws Native. Cloud Front. Inputs. Response Headers Policy Content Type Options Determines whether CloudFront includes the
X-Content-Type-Options
HTTP response header with its value set tonosniff
.For more information about the
X-Content-Type-Options
HTTP response header, see X-Content-Type-Options in the MDN Web Docs.- Frame
Options Pulumi.Aws Native. Cloud Front. Inputs. Response Headers Policy Frame Options Determines whether CloudFront includes the
X-Frame-Options
HTTP response header and the header's value.For more information about the
X-Frame-Options
HTTP response header, see X-Frame-Options in the MDN Web Docs.- Referrer
Policy Pulumi.Aws Native. Cloud Front. Inputs. Response Headers Policy Referrer Policy Determines whether CloudFront includes the
Referrer-Policy
HTTP response header and the header's value.For more information about the
Referrer-Policy
HTTP response header, see Referrer-Policy in the MDN Web Docs.- Strict
Transport Pulumi.Security Aws Native. Cloud Front. Inputs. Response Headers Policy Strict Transport Security Determines whether CloudFront includes the
Strict-Transport-Security
HTTP response header and the header's value.For more information about the
Strict-Transport-Security
HTTP response header, see Security headers in the Amazon CloudFront Developer Guide and Strict-Transport-Security in the MDN Web Docs.- Xss
Protection Pulumi.Aws Native. Cloud Front. Inputs. Response Headers Policy Xss Protection Determines whether CloudFront includes the
X-XSS-Protection
HTTP response header and the header's value.For more information about the
X-XSS-Protection
HTTP response header, see X-XSS-Protection in the MDN Web Docs.
- Content
Security ResponsePolicy Headers Policy Content Security Policy The policy directives and their values that CloudFront includes as values for the
Content-Security-Policy
HTTP response header.For more information about the
Content-Security-Policy
HTTP response header, see Content-Security-Policy in the MDN Web Docs.- Content
Type ResponseOptions Headers Policy Content Type Options Determines whether CloudFront includes the
X-Content-Type-Options
HTTP response header with its value set tonosniff
.For more information about the
X-Content-Type-Options
HTTP response header, see X-Content-Type-Options in the MDN Web Docs.- Frame
Options ResponseHeaders Policy Frame Options Determines whether CloudFront includes the
X-Frame-Options
HTTP response header and the header's value.For more information about the
X-Frame-Options
HTTP response header, see X-Frame-Options in the MDN Web Docs.- Referrer
Policy ResponseHeaders Policy Referrer Policy Determines whether CloudFront includes the
Referrer-Policy
HTTP response header and the header's value.For more information about the
Referrer-Policy
HTTP response header, see Referrer-Policy in the MDN Web Docs.- Strict
Transport ResponseSecurity Headers Policy Strict Transport Security Determines whether CloudFront includes the
Strict-Transport-Security
HTTP response header and the header's value.For more information about the
Strict-Transport-Security
HTTP response header, see Security headers in the Amazon CloudFront Developer Guide and Strict-Transport-Security in the MDN Web Docs.- Xss
Protection ResponseHeaders Policy Xss Protection Determines whether CloudFront includes the
X-XSS-Protection
HTTP response header and the header's value.For more information about the
X-XSS-Protection
HTTP response header, see X-XSS-Protection in the MDN Web Docs.
- content
Security ResponsePolicy Headers Policy Content Security Policy The policy directives and their values that CloudFront includes as values for the
Content-Security-Policy
HTTP response header.For more information about the
Content-Security-Policy
HTTP response header, see Content-Security-Policy in the MDN Web Docs.- content
Type ResponseOptions Headers Policy Content Type Options Determines whether CloudFront includes the
X-Content-Type-Options
HTTP response header with its value set tonosniff
.For more information about the
X-Content-Type-Options
HTTP response header, see X-Content-Type-Options in the MDN Web Docs.- frame
Options ResponseHeaders Policy Frame Options Determines whether CloudFront includes the
X-Frame-Options
HTTP response header and the header's value.For more information about the
X-Frame-Options
HTTP response header, see X-Frame-Options in the MDN Web Docs.- referrer
Policy ResponseHeaders Policy Referrer Policy Determines whether CloudFront includes the
Referrer-Policy
HTTP response header and the header's value.For more information about the
Referrer-Policy
HTTP response header, see Referrer-Policy in the MDN Web Docs.- strict
Transport ResponseSecurity Headers Policy Strict Transport Security Determines whether CloudFront includes the
Strict-Transport-Security
HTTP response header and the header's value.For more information about the
Strict-Transport-Security
HTTP response header, see Security headers in the Amazon CloudFront Developer Guide and Strict-Transport-Security in the MDN Web Docs.- xss
Protection ResponseHeaders Policy Xss Protection Determines whether CloudFront includes the
X-XSS-Protection
HTTP response header and the header's value.For more information about the
X-XSS-Protection
HTTP response header, see X-XSS-Protection in the MDN Web Docs.
- content
Security ResponsePolicy Headers Policy Content Security Policy The policy directives and their values that CloudFront includes as values for the
Content-Security-Policy
HTTP response header.For more information about the
Content-Security-Policy
HTTP response header, see Content-Security-Policy in the MDN Web Docs.- content
Type ResponseOptions Headers Policy Content Type Options Determines whether CloudFront includes the
X-Content-Type-Options
HTTP response header with its value set tonosniff
.For more information about the
X-Content-Type-Options
HTTP response header, see X-Content-Type-Options in the MDN Web Docs.- frame
Options ResponseHeaders Policy Frame Options Determines whether CloudFront includes the
X-Frame-Options
HTTP response header and the header's value.For more information about the
X-Frame-Options
HTTP response header, see X-Frame-Options in the MDN Web Docs.- referrer
Policy ResponseHeaders Policy Referrer Policy Determines whether CloudFront includes the
Referrer-Policy
HTTP response header and the header's value.For more information about the
Referrer-Policy
HTTP response header, see Referrer-Policy in the MDN Web Docs.- strict
Transport ResponseSecurity Headers Policy Strict Transport Security Determines whether CloudFront includes the
Strict-Transport-Security
HTTP response header and the header's value.For more information about the
Strict-Transport-Security
HTTP response header, see Security headers in the Amazon CloudFront Developer Guide and Strict-Transport-Security in the MDN Web Docs.- xss
Protection ResponseHeaders Policy Xss Protection Determines whether CloudFront includes the
X-XSS-Protection
HTTP response header and the header's value.For more information about the
X-XSS-Protection
HTTP response header, see X-XSS-Protection in the MDN Web Docs.
- content_
security_ Responsepolicy Headers Policy Content Security Policy The policy directives and their values that CloudFront includes as values for the
Content-Security-Policy
HTTP response header.For more information about the
Content-Security-Policy
HTTP response header, see Content-Security-Policy in the MDN Web Docs.- content_
type_ Responseoptions Headers Policy Content Type Options Determines whether CloudFront includes the
X-Content-Type-Options
HTTP response header with its value set tonosniff
.For more information about the
X-Content-Type-Options
HTTP response header, see X-Content-Type-Options in the MDN Web Docs.- frame_
options ResponseHeaders Policy Frame Options Determines whether CloudFront includes the
X-Frame-Options
HTTP response header and the header's value.For more information about the
X-Frame-Options
HTTP response header, see X-Frame-Options in the MDN Web Docs.- referrer_
policy ResponseHeaders Policy Referrer Policy Determines whether CloudFront includes the
Referrer-Policy
HTTP response header and the header's value.For more information about the
Referrer-Policy
HTTP response header, see Referrer-Policy in the MDN Web Docs.- strict_
transport_ Responsesecurity Headers Policy Strict Transport Security Determines whether CloudFront includes the
Strict-Transport-Security
HTTP response header and the header's value.For more information about the
Strict-Transport-Security
HTTP response header, see Security headers in the Amazon CloudFront Developer Guide and Strict-Transport-Security in the MDN Web Docs.- xss_
protection ResponseHeaders Policy Xss Protection Determines whether CloudFront includes the
X-XSS-Protection
HTTP response header and the header's value.For more information about the
X-XSS-Protection
HTTP response header, see X-XSS-Protection in the MDN Web Docs.
- content
Security Property MapPolicy The policy directives and their values that CloudFront includes as values for the
Content-Security-Policy
HTTP response header.For more information about the
Content-Security-Policy
HTTP response header, see Content-Security-Policy in the MDN Web Docs.- content
Type Property MapOptions Determines whether CloudFront includes the
X-Content-Type-Options
HTTP response header with its value set tonosniff
.For more information about the
X-Content-Type-Options
HTTP response header, see X-Content-Type-Options in the MDN Web Docs.- frame
Options Property Map Determines whether CloudFront includes the
X-Frame-Options
HTTP response header and the header's value.For more information about the
X-Frame-Options
HTTP response header, see X-Frame-Options in the MDN Web Docs.- referrer
Policy Property Map Determines whether CloudFront includes the
Referrer-Policy
HTTP response header and the header's value.For more information about the
Referrer-Policy
HTTP response header, see Referrer-Policy in the MDN Web Docs.- strict
Transport Property MapSecurity Determines whether CloudFront includes the
Strict-Transport-Security
HTTP response header and the header's value.For more information about the
Strict-Transport-Security
HTTP response header, see Security headers in the Amazon CloudFront Developer Guide and Strict-Transport-Security in the MDN Web Docs.- xss
Protection Property Map Determines whether CloudFront includes the
X-XSS-Protection
HTTP response header and the header's value.For more information about the
X-XSS-Protection
HTTP response header, see X-XSS-Protection in the MDN Web Docs.
ResponseHeadersPolicyServerTimingHeadersConfig
- Enabled bool
- A Boolean that determines whether CloudFront adds the
Server-Timing
header to HTTP responses that it sends in response to requests that match a cache behavior that's associated with this response headers policy. - Sampling
Rate double - A number 0–100 (inclusive) that specifies the percentage of responses that you want CloudFront to add the
Server-Timing
header to. When you set the sampling rate to 100, CloudFront adds theServer-Timing
header to the HTTP response for every request that matches the cache behavior that this response headers policy is attached to. When you set it to 50, CloudFront adds the header to 50% of the responses for requests that match the cache behavior. You can set the sampling rate to any number 0–100 with up to four decimal places.
- Enabled bool
- A Boolean that determines whether CloudFront adds the
Server-Timing
header to HTTP responses that it sends in response to requests that match a cache behavior that's associated with this response headers policy. - Sampling
Rate float64 - A number 0–100 (inclusive) that specifies the percentage of responses that you want CloudFront to add the
Server-Timing
header to. When you set the sampling rate to 100, CloudFront adds theServer-Timing
header to the HTTP response for every request that matches the cache behavior that this response headers policy is attached to. When you set it to 50, CloudFront adds the header to 50% of the responses for requests that match the cache behavior. You can set the sampling rate to any number 0–100 with up to four decimal places.
- enabled Boolean
- A Boolean that determines whether CloudFront adds the
Server-Timing
header to HTTP responses that it sends in response to requests that match a cache behavior that's associated with this response headers policy. - sampling
Rate Double - A number 0–100 (inclusive) that specifies the percentage of responses that you want CloudFront to add the
Server-Timing
header to. When you set the sampling rate to 100, CloudFront adds theServer-Timing
header to the HTTP response for every request that matches the cache behavior that this response headers policy is attached to. When you set it to 50, CloudFront adds the header to 50% of the responses for requests that match the cache behavior. You can set the sampling rate to any number 0–100 with up to four decimal places.
- enabled boolean
- A Boolean that determines whether CloudFront adds the
Server-Timing
header to HTTP responses that it sends in response to requests that match a cache behavior that's associated with this response headers policy. - sampling
Rate number - A number 0–100 (inclusive) that specifies the percentage of responses that you want CloudFront to add the
Server-Timing
header to. When you set the sampling rate to 100, CloudFront adds theServer-Timing
header to the HTTP response for every request that matches the cache behavior that this response headers policy is attached to. When you set it to 50, CloudFront adds the header to 50% of the responses for requests that match the cache behavior. You can set the sampling rate to any number 0–100 with up to four decimal places.
- enabled bool
- A Boolean that determines whether CloudFront adds the
Server-Timing
header to HTTP responses that it sends in response to requests that match a cache behavior that's associated with this response headers policy. - sampling_
rate float - A number 0–100 (inclusive) that specifies the percentage of responses that you want CloudFront to add the
Server-Timing
header to. When you set the sampling rate to 100, CloudFront adds theServer-Timing
header to the HTTP response for every request that matches the cache behavior that this response headers policy is attached to. When you set it to 50, CloudFront adds the header to 50% of the responses for requests that match the cache behavior. You can set the sampling rate to any number 0–100 with up to four decimal places.
- enabled Boolean
- A Boolean that determines whether CloudFront adds the
Server-Timing
header to HTTP responses that it sends in response to requests that match a cache behavior that's associated with this response headers policy. - sampling
Rate Number - A number 0–100 (inclusive) that specifies the percentage of responses that you want CloudFront to add the
Server-Timing
header to. When you set the sampling rate to 100, CloudFront adds theServer-Timing
header to the HTTP response for every request that matches the cache behavior that this response headers policy is attached to. When you set it to 50, CloudFront adds the header to 50% of the responses for requests that match the cache behavior. You can set the sampling rate to any number 0–100 with up to four decimal places.
ResponseHeadersPolicyStrictTransportSecurity
- Access
Control intMax Age Sec - A number that CloudFront uses as the value for the
max-age
directive in theStrict-Transport-Security
HTTP response header. - Override bool
- 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. - Include
Subdomains bool - A Boolean that determines whether CloudFront includes the
includeSubDomains
directive in theStrict-Transport-Security
HTTP response header. - Preload bool
- A Boolean that determines whether CloudFront includes the
preload
directive in theStrict-Transport-Security
HTTP response header.
- Access
Control intMax Age Sec - A number that CloudFront uses as the value for the
max-age
directive in theStrict-Transport-Security
HTTP response header. - Override bool
- 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. - Include
Subdomains bool - A Boolean that determines whether CloudFront includes the
includeSubDomains
directive in theStrict-Transport-Security
HTTP response header. - Preload bool
- A Boolean that determines whether CloudFront includes the
preload
directive in theStrict-Transport-Security
HTTP response header.
- access
Control IntegerMax Age Sec - A number that CloudFront uses as the value for the
max-age
directive in theStrict-Transport-Security
HTTP response header. - override Boolean
- 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. - include
Subdomains Boolean - A Boolean that determines whether CloudFront includes the
includeSubDomains
directive in theStrict-Transport-Security
HTTP response header. - preload Boolean
- A Boolean that determines whether CloudFront includes the
preload
directive in theStrict-Transport-Security
HTTP response header.
- access
Control numberMax Age Sec - A number that CloudFront uses as the value for the
max-age
directive in theStrict-Transport-Security
HTTP response header. - override boolean
- 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. - include
Subdomains boolean - A Boolean that determines whether CloudFront includes the
includeSubDomains
directive in theStrict-Transport-Security
HTTP response header. - preload boolean
- A Boolean that determines whether CloudFront includes the
preload
directive in theStrict-Transport-Security
HTTP response header.
- access_
control_ intmax_ age_ sec - A number that CloudFront uses as the value for the
max-age
directive in theStrict-Transport-Security
HTTP response header. - override bool
- 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. - include_
subdomains bool - A Boolean that determines whether CloudFront includes the
includeSubDomains
directive in theStrict-Transport-Security
HTTP response header. - preload bool
- A Boolean that determines whether CloudFront includes the
preload
directive in theStrict-Transport-Security
HTTP response header.
- access
Control NumberMax Age Sec - A number that CloudFront uses as the value for the
max-age
directive in theStrict-Transport-Security
HTTP response header. - override Boolean
- 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. - include
Subdomains Boolean - A Boolean that determines whether CloudFront includes the
includeSubDomains
directive in theStrict-Transport-Security
HTTP response header. - preload Boolean
- A Boolean that determines whether CloudFront includes the
preload
directive in theStrict-Transport-Security
HTTP response header.
ResponseHeadersPolicyXssProtection
- Override bool
- A Boolean that determines whether CloudFront overrides the
X-XSS-Protection
HTTP response header received from the origin with the one specified in this response headers policy. - Protection bool
A Boolean that determines the value of the
X-XSS-Protection
HTTP response header. When this setting istrue
, the value of theX-XSS-Protection
header is1
. When this setting isfalse
, the value of theX-XSS-Protection
header is0
.For more information about these settings, see X-XSS-Protection in the MDN Web Docs.
- Mode
Block bool A Boolean that determines whether CloudFront includes the
mode=block
directive in theX-XSS-Protection
header.For more information about this directive, see X-XSS-Protection in the MDN Web Docs.
- Report
Uri string A reporting URI, which CloudFront uses as the value of the
report
directive in theX-XSS-Protection
header.You cannot specify a
ReportUri
whenModeBlock
istrue
.For more information about using a reporting URL, see X-XSS-Protection in the MDN Web Docs.
- Override bool
- A Boolean that determines whether CloudFront overrides the
X-XSS-Protection
HTTP response header received from the origin with the one specified in this response headers policy. - Protection bool
A Boolean that determines the value of the
X-XSS-Protection
HTTP response header. When this setting istrue
, the value of theX-XSS-Protection
header is1
. When this setting isfalse
, the value of theX-XSS-Protection
header is0
.For more information about these settings, see X-XSS-Protection in the MDN Web Docs.
- Mode
Block bool A Boolean that determines whether CloudFront includes the
mode=block
directive in theX-XSS-Protection
header.For more information about this directive, see X-XSS-Protection in the MDN Web Docs.
- Report
Uri string A reporting URI, which CloudFront uses as the value of the
report
directive in theX-XSS-Protection
header.You cannot specify a
ReportUri
whenModeBlock
istrue
.For more information about using a reporting URL, see X-XSS-Protection in the MDN Web Docs.
- override Boolean
- A Boolean that determines whether CloudFront overrides the
X-XSS-Protection
HTTP response header received from the origin with the one specified in this response headers policy. - protection Boolean
A Boolean that determines the value of the
X-XSS-Protection
HTTP response header. When this setting istrue
, the value of theX-XSS-Protection
header is1
. When this setting isfalse
, the value of theX-XSS-Protection
header is0
.For more information about these settings, see X-XSS-Protection in the MDN Web Docs.
- mode
Block Boolean A Boolean that determines whether CloudFront includes the
mode=block
directive in theX-XSS-Protection
header.For more information about this directive, see X-XSS-Protection in the MDN Web Docs.
- report
Uri String A reporting URI, which CloudFront uses as the value of the
report
directive in theX-XSS-Protection
header.You cannot specify a
ReportUri
whenModeBlock
istrue
.For more information about using a reporting URL, see X-XSS-Protection in the MDN Web Docs.
- override boolean
- A Boolean that determines whether CloudFront overrides the
X-XSS-Protection
HTTP response header received from the origin with the one specified in this response headers policy. - protection boolean
A Boolean that determines the value of the
X-XSS-Protection
HTTP response header. When this setting istrue
, the value of theX-XSS-Protection
header is1
. When this setting isfalse
, the value of theX-XSS-Protection
header is0
.For more information about these settings, see X-XSS-Protection in the MDN Web Docs.
- mode
Block boolean A Boolean that determines whether CloudFront includes the
mode=block
directive in theX-XSS-Protection
header.For more information about this directive, see X-XSS-Protection in the MDN Web Docs.
- report
Uri string A reporting URI, which CloudFront uses as the value of the
report
directive in theX-XSS-Protection
header.You cannot specify a
ReportUri
whenModeBlock
istrue
.For more information about using a reporting URL, see X-XSS-Protection in the MDN Web Docs.
- override bool
- A Boolean that determines whether CloudFront overrides the
X-XSS-Protection
HTTP response header received from the origin with the one specified in this response headers policy. - protection bool
A Boolean that determines the value of the
X-XSS-Protection
HTTP response header. When this setting istrue
, the value of theX-XSS-Protection
header is1
. When this setting isfalse
, the value of theX-XSS-Protection
header is0
.For more information about these settings, see X-XSS-Protection in the MDN Web Docs.
- mode_
block bool A Boolean that determines whether CloudFront includes the
mode=block
directive in theX-XSS-Protection
header.For more information about this directive, see X-XSS-Protection in the MDN Web Docs.
- report_
uri str A reporting URI, which CloudFront uses as the value of the
report
directive in theX-XSS-Protection
header.You cannot specify a
ReportUri
whenModeBlock
istrue
.For more information about using a reporting URL, see X-XSS-Protection in the MDN Web Docs.
- override Boolean
- A Boolean that determines whether CloudFront overrides the
X-XSS-Protection
HTTP response header received from the origin with the one specified in this response headers policy. - protection Boolean
A Boolean that determines the value of the
X-XSS-Protection
HTTP response header. When this setting istrue
, the value of theX-XSS-Protection
header is1
. When this setting isfalse
, the value of theX-XSS-Protection
header is0
.For more information about these settings, see X-XSS-Protection in the MDN Web Docs.
- mode
Block Boolean A Boolean that determines whether CloudFront includes the
mode=block
directive in theX-XSS-Protection
header.For more information about this directive, see X-XSS-Protection in the MDN Web Docs.
- report
Uri String A reporting URI, which CloudFront uses as the value of the
report
directive in theX-XSS-Protection
header.You cannot specify a
ReportUri
whenModeBlock
istrue
.For more information about using a reporting URL, see X-XSS-Protection in the MDN Web Docs.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.