We recommend new projects start with resources from the AWS provider.
aws-native.cloudfront.getResponseHeadersPolicy
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
A response headers policy. A response headers policy contains information about a set of HTTP response headers. After you create a response headers policy, you can use its ID to attach it to one or more cache behaviors in a CloudFront distribution. When it’s attached to a cache behavior, the response headers policy affects the HTTP headers that CloudFront includes in HTTP responses to requests that match the cache behavior. CloudFront adds or removes response headers according to the configuration of the response headers policy. For more information, see Adding or removing HTTP headers in CloudFront responses in the Amazon CloudFront Developer Guide.
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)
public static Output<GetResponseHeadersPolicyResult> getResponseHeadersPolicy(GetResponseHeadersPolicyArgs args, InvokeOptions options)
fn::invoke:
  function: aws-native:cloudfront:getResponseHeadersPolicy
  arguments:
    # arguments dictionaryThe 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.
- LastModified stringTime 
- The date and time when the response headers policy was last modified.
- ResponseHeaders 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.
- LastModified stringTime 
- The date and time when the response headers policy was last modified.
- ResponseHeaders 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.
- lastModified StringTime 
- The date and time when the response headers policy was last modified.
- responseHeaders 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.
- lastModified stringTime 
- The date and time when the response headers policy was last modified.
- responseHeaders 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.
- lastModified StringTime 
- The date and time when the response headers policy was last modified.
- responseHeaders 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
 - ALLis 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
 - ALLis 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
 - ALLis 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
 - ALLis 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
 - ALLis 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
 - ALLis 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.
- CorsConfig 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).
- CustomHeaders Pulumi.Config Aws Native. Cloud Front. Inputs. Response Headers Policy Custom Headers Config 
- A configuration for a set of custom HTTP response headers.
- RemoveHeaders 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.
- SecurityHeaders Pulumi.Config Aws Native. Cloud Front. Inputs. Response Headers Policy Security Headers Config 
- A configuration for a set of security-related HTTP response headers.
- ServerTiming Pulumi.Headers Config Aws Native. Cloud Front. Inputs. Response Headers Policy Server Timing Headers Config 
- A configuration for enabling the Server-Timingheader 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.
- CorsConfig ResponseHeaders Policy Cors Config 
- A configuration for a set of HTTP response headers that are used for cross-origin resource sharing (CORS).
- CustomHeaders ResponseConfig Headers Policy Custom Headers Config 
- A configuration for a set of custom HTTP response headers.
- RemoveHeaders ResponseConfig Headers Policy Remove Headers Config 
- A configuration for a set of HTTP headers to remove from the HTTP response.
- SecurityHeaders ResponseConfig Headers Policy Security Headers Config 
- A configuration for a set of security-related HTTP response headers.
- ServerTiming ResponseHeaders Config Headers Policy Server Timing Headers Config 
- A configuration for enabling the Server-Timingheader 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.
- corsConfig ResponseHeaders Policy Cors Config 
- A configuration for a set of HTTP response headers that are used for cross-origin resource sharing (CORS).
- customHeaders ResponseConfig Headers Policy Custom Headers Config 
- A configuration for a set of custom HTTP response headers.
- removeHeaders ResponseConfig Headers Policy Remove Headers Config 
- A configuration for a set of HTTP headers to remove from the HTTP response.
- securityHeaders ResponseConfig Headers Policy Security Headers Config 
- A configuration for a set of security-related HTTP response headers.
- serverTiming ResponseHeaders Config Headers Policy Server Timing Headers Config 
- A configuration for enabling the Server-Timingheader 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.
- corsConfig ResponseHeaders Policy Cors Config 
- A configuration for a set of HTTP response headers that are used for cross-origin resource sharing (CORS).
- customHeaders ResponseConfig Headers Policy Custom Headers Config 
- A configuration for a set of custom HTTP response headers.
- removeHeaders ResponseConfig Headers Policy Remove Headers Config 
- A configuration for a set of HTTP headers to remove from the HTTP response.
- securityHeaders ResponseConfig Headers Policy Security Headers Config 
- A configuration for a set of security-related HTTP response headers.
- serverTiming ResponseHeaders Config Headers Policy Server Timing Headers Config 
- A configuration for enabling the Server-Timingheader 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-Timingheader 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.
- corsConfig Property Map
- A configuration for a set of HTTP response headers that are used for cross-origin resource sharing (CORS).
- customHeaders Property MapConfig 
- A configuration for a set of custom HTTP response headers.
- removeHeaders Property MapConfig 
- A configuration for a set of HTTP headers to remove from the HTTP response.
- securityHeaders Property MapConfig 
- A configuration for a set of security-related HTTP response headers.
- serverTiming Property MapHeaders Config 
- A configuration for enabling the Server-Timingheader in HTTP responses sent from CloudFront.
ResponseHeadersPolicyContentSecurityPolicy     
- ContentSecurity stringPolicy 
- The policy directives and their values that CloudFront includes as values for the Content-Security-PolicyHTTP response header. For more information about theContent-Security-PolicyHTTP response header, see Content-Security-Policy in the MDN Web Docs.
- Override bool
- A Boolean that determines whether CloudFront overrides the Content-Security-PolicyHTTP response header received from the origin with the one specified in this response headers policy.
- ContentSecurity stringPolicy 
- The policy directives and their values that CloudFront includes as values for the Content-Security-PolicyHTTP response header. For more information about theContent-Security-PolicyHTTP response header, see Content-Security-Policy in the MDN Web Docs.
- Override bool
- A Boolean that determines whether CloudFront overrides the Content-Security-PolicyHTTP response header received from the origin with the one specified in this response headers policy.
- contentSecurity StringPolicy 
- The policy directives and their values that CloudFront includes as values for the Content-Security-PolicyHTTP response header. For more information about theContent-Security-PolicyHTTP response header, see Content-Security-Policy in the MDN Web Docs.
- override Boolean
- A Boolean that determines whether CloudFront overrides the Content-Security-PolicyHTTP response header received from the origin with the one specified in this response headers policy.
- contentSecurity stringPolicy 
- The policy directives and their values that CloudFront includes as values for the Content-Security-PolicyHTTP response header. For more information about theContent-Security-PolicyHTTP response header, see Content-Security-Policy in the MDN Web Docs.
- override boolean
- A Boolean that determines whether CloudFront overrides the Content-Security-PolicyHTTP 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-PolicyHTTP response header. For more information about theContent-Security-PolicyHTTP response header, see Content-Security-Policy in the MDN Web Docs.
- override bool
- A Boolean that determines whether CloudFront overrides the Content-Security-PolicyHTTP response header received from the origin with the one specified in this response headers policy.
- contentSecurity StringPolicy 
- The policy directives and their values that CloudFront includes as values for the Content-Security-PolicyHTTP response header. For more information about theContent-Security-PolicyHTTP response header, see Content-Security-Policy in the MDN Web Docs.
- override Boolean
- A Boolean that determines whether CloudFront overrides the Content-Security-PolicyHTTP 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-OptionsHTTP 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-OptionsHTTP 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-OptionsHTTP 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-OptionsHTTP 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-OptionsHTTP 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-OptionsHTTP response header received from the origin with the one specified in this response headers policy.
ResponseHeadersPolicyCorsConfig    
- AccessControl boolAllow Credentials 
- A Boolean that CloudFront uses as the value for the Access-Control-Allow-CredentialsHTTP response header. For more information about theAccess-Control-Allow-CredentialsHTTP response header, see Access-Control-Allow-Credentials in the MDN Web Docs.
- AccessControl 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-HeadersHTTP response header. For more information about theAccess-Control-Allow-HeadersHTTP response header, see Access-Control-Allow-Headers in the MDN Web Docs.
- AccessControl 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-MethodsHTTP response header. For more information about theAccess-Control-Allow-MethodsHTTP response header, see Access-Control-Allow-Methods in the MDN Web Docs.
- AccessControl 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-OriginHTTP response header. For more information about theAccess-Control-Allow-OriginHTTP response header, see Access-Control-Allow-Origin in the MDN Web Docs.
- OriginOverride bool
- A Boolean that determines whether CloudFront overrides HTTP response headers received from the origin with the ones specified in this response headers policy.
- AccessControl 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-HeadersHTTP response header. For more information about theAccess-Control-Expose-HeadersHTTP response header, see Access-Control-Expose-Headers in the MDN Web Docs.
- AccessControl intMax Age Sec 
- A number that CloudFront uses as the value for the Access-Control-Max-AgeHTTP response header. For more information about theAccess-Control-Max-AgeHTTP response header, see Access-Control-Max-Age in the MDN Web Docs.
- AccessControl boolAllow Credentials 
- A Boolean that CloudFront uses as the value for the Access-Control-Allow-CredentialsHTTP response header. For more information about theAccess-Control-Allow-CredentialsHTTP response header, see Access-Control-Allow-Credentials in the MDN Web Docs.
- AccessControl ResponseAllow Headers Headers Policy Access Control Allow Headers 
- A list of HTTP header names that CloudFront includes as values for the Access-Control-Allow-HeadersHTTP response header. For more information about theAccess-Control-Allow-HeadersHTTP response header, see Access-Control-Allow-Headers in the MDN Web Docs.
- AccessControl ResponseAllow Methods Headers Policy Access Control Allow Methods 
- A list of HTTP methods that CloudFront includes as values for the Access-Control-Allow-MethodsHTTP response header. For more information about theAccess-Control-Allow-MethodsHTTP response header, see Access-Control-Allow-Methods in the MDN Web Docs.
- AccessControl 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-OriginHTTP response header. For more information about theAccess-Control-Allow-OriginHTTP response header, see Access-Control-Allow-Origin in the MDN Web Docs.
- OriginOverride bool
- A Boolean that determines whether CloudFront overrides HTTP response headers received from the origin with the ones specified in this response headers policy.
- AccessControl ResponseExpose Headers Headers Policy Access Control Expose Headers 
- A list of HTTP headers that CloudFront includes as values for the Access-Control-Expose-HeadersHTTP response header. For more information about theAccess-Control-Expose-HeadersHTTP response header, see Access-Control-Expose-Headers in the MDN Web Docs.
- AccessControl intMax Age Sec 
- A number that CloudFront uses as the value for the Access-Control-Max-AgeHTTP response header. For more information about theAccess-Control-Max-AgeHTTP response header, see Access-Control-Max-Age in the MDN Web Docs.
- accessControl BooleanAllow Credentials 
- A Boolean that CloudFront uses as the value for the Access-Control-Allow-CredentialsHTTP response header. For more information about theAccess-Control-Allow-CredentialsHTTP response header, see Access-Control-Allow-Credentials in the MDN Web Docs.
- accessControl ResponseAllow Headers Headers Policy Access Control Allow Headers 
- A list of HTTP header names that CloudFront includes as values for the Access-Control-Allow-HeadersHTTP response header. For more information about theAccess-Control-Allow-HeadersHTTP response header, see Access-Control-Allow-Headers in the MDN Web Docs.
- accessControl ResponseAllow Methods Headers Policy Access Control Allow Methods 
- A list of HTTP methods that CloudFront includes as values for the Access-Control-Allow-MethodsHTTP response header. For more information about theAccess-Control-Allow-MethodsHTTP response header, see Access-Control-Allow-Methods in the MDN Web Docs.
- accessControl 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-OriginHTTP response header. For more information about theAccess-Control-Allow-OriginHTTP response header, see Access-Control-Allow-Origin in the MDN Web Docs.
- originOverride Boolean
- A Boolean that determines whether CloudFront overrides HTTP response headers received from the origin with the ones specified in this response headers policy.
- accessControl ResponseExpose Headers Headers Policy Access Control Expose Headers 
- A list of HTTP headers that CloudFront includes as values for the Access-Control-Expose-HeadersHTTP response header. For more information about theAccess-Control-Expose-HeadersHTTP response header, see Access-Control-Expose-Headers in the MDN Web Docs.
- accessControl IntegerMax Age Sec 
- A number that CloudFront uses as the value for the Access-Control-Max-AgeHTTP response header. For more information about theAccess-Control-Max-AgeHTTP response header, see Access-Control-Max-Age in the MDN Web Docs.
- accessControl booleanAllow Credentials 
- A Boolean that CloudFront uses as the value for the Access-Control-Allow-CredentialsHTTP response header. For more information about theAccess-Control-Allow-CredentialsHTTP response header, see Access-Control-Allow-Credentials in the MDN Web Docs.
- accessControl ResponseAllow Headers Headers Policy Access Control Allow Headers 
- A list of HTTP header names that CloudFront includes as values for the Access-Control-Allow-HeadersHTTP response header. For more information about theAccess-Control-Allow-HeadersHTTP response header, see Access-Control-Allow-Headers in the MDN Web Docs.
- accessControl ResponseAllow Methods Headers Policy Access Control Allow Methods 
- A list of HTTP methods that CloudFront includes as values for the Access-Control-Allow-MethodsHTTP response header. For more information about theAccess-Control-Allow-MethodsHTTP response header, see Access-Control-Allow-Methods in the MDN Web Docs.
- accessControl 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-OriginHTTP response header. For more information about theAccess-Control-Allow-OriginHTTP response header, see Access-Control-Allow-Origin in the MDN Web Docs.
- originOverride boolean
- A Boolean that determines whether CloudFront overrides HTTP response headers received from the origin with the ones specified in this response headers policy.
- accessControl ResponseExpose Headers Headers Policy Access Control Expose Headers 
- A list of HTTP headers that CloudFront includes as values for the Access-Control-Expose-HeadersHTTP response header. For more information about theAccess-Control-Expose-HeadersHTTP response header, see Access-Control-Expose-Headers in the MDN Web Docs.
- accessControl numberMax Age Sec 
- A number that CloudFront uses as the value for the Access-Control-Max-AgeHTTP response header. For more information about theAccess-Control-Max-AgeHTTP 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-CredentialsHTTP response header. For more information about theAccess-Control-Allow-CredentialsHTTP 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-HeadersHTTP response header. For more information about theAccess-Control-Allow-HeadersHTTP 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-MethodsHTTP response header. For more information about theAccess-Control-Allow-MethodsHTTP 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-OriginHTTP response header. For more information about theAccess-Control-Allow-OriginHTTP 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-HeadersHTTP response header. For more information about theAccess-Control-Expose-HeadersHTTP 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-AgeHTTP response header. For more information about theAccess-Control-Max-AgeHTTP response header, see Access-Control-Max-Age in the MDN Web Docs.
- accessControl BooleanAllow Credentials 
- A Boolean that CloudFront uses as the value for the Access-Control-Allow-CredentialsHTTP response header. For more information about theAccess-Control-Allow-CredentialsHTTP response header, see Access-Control-Allow-Credentials in the MDN Web Docs.
- accessControl Property MapAllow Headers 
- A list of HTTP header names that CloudFront includes as values for the Access-Control-Allow-HeadersHTTP response header. For more information about theAccess-Control-Allow-HeadersHTTP response header, see Access-Control-Allow-Headers in the MDN Web Docs.
- accessControl Property MapAllow Methods 
- A list of HTTP methods that CloudFront includes as values for the Access-Control-Allow-MethodsHTTP response header. For more information about theAccess-Control-Allow-MethodsHTTP response header, see Access-Control-Allow-Methods in the MDN Web Docs.
- accessControl Property MapAllow Origins 
- A list of origins (domain names) that CloudFront can use as the value for the Access-Control-Allow-OriginHTTP response header. For more information about theAccess-Control-Allow-OriginHTTP response header, see Access-Control-Allow-Origin in the MDN Web Docs.
- originOverride Boolean
- A Boolean that determines whether CloudFront overrides HTTP response headers received from the origin with the ones specified in this response headers policy.
- accessControl Property MapExpose Headers 
- A list of HTTP headers that CloudFront includes as values for the Access-Control-Expose-HeadersHTTP response header. For more information about theAccess-Control-Expose-HeadersHTTP response header, see Access-Control-Expose-Headers in the MDN Web Docs.
- accessControl NumberMax Age Sec 
- A number that CloudFront uses as the value for the Access-Control-Max-AgeHTTP response header. For more information about theAccess-Control-Max-AgeHTTP 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
[]ResponseHeaders Policy Custom Header 
- The list of HTTP response headers and their values.
- items
List<ResponseHeaders Policy Custom Header> 
- The list of HTTP response headers and their values.
- items
ResponseHeaders Policy Custom Header[] 
- The list of HTTP response headers and their values.
- items
Sequence[ResponseHeaders 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    
- FrameOption string
- The value of the X-Frame-OptionsHTTP response header. Valid values areDENYandSAMEORIGIN. 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-OptionsHTTP response header received from the origin with the one specified in this response headers policy.
- FrameOption string
- The value of the X-Frame-OptionsHTTP response header. Valid values areDENYandSAMEORIGIN. 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-OptionsHTTP response header received from the origin with the one specified in this response headers policy.
- frameOption String
- The value of the X-Frame-OptionsHTTP response header. Valid values areDENYandSAMEORIGIN. 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-OptionsHTTP response header received from the origin with the one specified in this response headers policy.
- frameOption string
- The value of the X-Frame-OptionsHTTP response header. Valid values areDENYandSAMEORIGIN. 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-OptionsHTTP response header received from the origin with the one specified in this response headers policy.
- frame_option str
- The value of the X-Frame-OptionsHTTP response header. Valid values areDENYandSAMEORIGIN. 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-OptionsHTTP response header received from the origin with the one specified in this response headers policy.
- frameOption String
- The value of the X-Frame-OptionsHTTP response header. Valid values areDENYandSAMEORIGIN. 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-OptionsHTTP 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-PolicyHTTP response header received from the origin with the one specified in this response headers policy.
- ReferrerPolicy string
- Determines whether CloudFront includes the Referrer-PolicyHTTP response header and the header's value. For more information about theReferrer-PolicyHTTP response header, see Referrer-Policy in the MDN Web Docs.
- Override bool
- A Boolean that determines whether CloudFront overrides the Referrer-PolicyHTTP response header received from the origin with the one specified in this response headers policy.
- ReferrerPolicy string
- Determines whether CloudFront includes the Referrer-PolicyHTTP response header and the header's value. For more information about theReferrer-PolicyHTTP response header, see Referrer-Policy in the MDN Web Docs.
- override Boolean
- A Boolean that determines whether CloudFront overrides the Referrer-PolicyHTTP response header received from the origin with the one specified in this response headers policy.
- referrerPolicy String
- Determines whether CloudFront includes the Referrer-PolicyHTTP response header and the header's value. For more information about theReferrer-PolicyHTTP response header, see Referrer-Policy in the MDN Web Docs.
- override boolean
- A Boolean that determines whether CloudFront overrides the Referrer-PolicyHTTP response header received from the origin with the one specified in this response headers policy.
- referrerPolicy string
- Determines whether CloudFront includes the Referrer-PolicyHTTP response header and the header's value. For more information about theReferrer-PolicyHTTP response header, see Referrer-Policy in the MDN Web Docs.
- override bool
- A Boolean that determines whether CloudFront overrides the Referrer-PolicyHTTP response header received from the origin with the one specified in this response headers policy.
- referrer_policy str
- Determines whether CloudFront includes the Referrer-PolicyHTTP response header and the header's value. For more information about theReferrer-PolicyHTTP response header, see Referrer-Policy in the MDN Web Docs.
- override Boolean
- A Boolean that determines whether CloudFront overrides the Referrer-PolicyHTTP response header received from the origin with the one specified in this response headers policy.
- referrerPolicy String
- Determines whether CloudFront includes the Referrer-PolicyHTTP response header and the header's value. For more information about theReferrer-PolicyHTTP response header, 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
[]ResponseHeaders Policy Remove Header 
- The list of HTTP header names.
- items
List<ResponseHeaders Policy Remove Header> 
- The list of HTTP header names.
- items
ResponseHeaders Policy Remove Header[] 
- The list of HTTP header names.
- items
Sequence[ResponseHeaders Policy Remove Header] 
- The list of HTTP header names.
- items List<Property Map>
- The list of HTTP header names.
ResponseHeadersPolicySecurityHeadersConfig     
- ContentSecurity 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-PolicyHTTP response header. For more information about theContent-Security-PolicyHTTP response header, see Content-Security-Policy in the MDN Web Docs.
- ContentType Pulumi.Options Aws Native. Cloud Front. Inputs. Response Headers Policy Content Type Options 
- Determines whether CloudFront includes the X-Content-Type-OptionsHTTP response header with its value set tonosniff. For more information about theX-Content-Type-OptionsHTTP response header, see X-Content-Type-Options in the MDN Web Docs.
- FrameOptions Pulumi.Aws Native. Cloud Front. Inputs. Response Headers Policy Frame Options 
- Determines whether CloudFront includes the X-Frame-OptionsHTTP response header and the header's value. For more information about theX-Frame-OptionsHTTP response header, see X-Frame-Options in the MDN Web Docs.
- ReferrerPolicy Pulumi.Aws Native. Cloud Front. Inputs. Response Headers Policy Referrer Policy 
- Determines whether CloudFront includes the Referrer-PolicyHTTP response header and the header's value. For more information about theReferrer-PolicyHTTP response header, see Referrer-Policy in the MDN Web Docs.
- StrictTransport Pulumi.Security Aws Native. Cloud Front. Inputs. Response Headers Policy Strict Transport Security 
- Determines whether CloudFront includes the Strict-Transport-SecurityHTTP response header and the header's value. For more information about theStrict-Transport-SecurityHTTP response header, see Security headers in the Amazon CloudFront Developer Guide and Strict-Transport-Security in the MDN Web Docs.
- XssProtection Pulumi.Aws Native. Cloud Front. Inputs. Response Headers Policy Xss Protection 
- Determines whether CloudFront includes the X-XSS-ProtectionHTTP response header and the header's value. For more information about theX-XSS-ProtectionHTTP response header, see X-XSS-Protection in the MDN Web Docs.
- ContentSecurity ResponsePolicy Headers Policy Content Security Policy 
- The policy directives and their values that CloudFront includes as values for the Content-Security-PolicyHTTP response header. For more information about theContent-Security-PolicyHTTP response header, see Content-Security-Policy in the MDN Web Docs.
- ContentType ResponseOptions Headers Policy Content Type Options 
- Determines whether CloudFront includes the X-Content-Type-OptionsHTTP response header with its value set tonosniff. For more information about theX-Content-Type-OptionsHTTP response header, see X-Content-Type-Options in the MDN Web Docs.
- FrameOptions ResponseHeaders Policy Frame Options 
- Determines whether CloudFront includes the X-Frame-OptionsHTTP response header and the header's value. For more information about theX-Frame-OptionsHTTP response header, see X-Frame-Options in the MDN Web Docs.
- ReferrerPolicy ResponseHeaders Policy Referrer Policy 
- Determines whether CloudFront includes the Referrer-PolicyHTTP response header and the header's value. For more information about theReferrer-PolicyHTTP response header, see Referrer-Policy in the MDN Web Docs.
- StrictTransport ResponseSecurity Headers Policy Strict Transport Security 
- Determines whether CloudFront includes the Strict-Transport-SecurityHTTP response header and the header's value. For more information about theStrict-Transport-SecurityHTTP response header, see Security headers in the Amazon CloudFront Developer Guide and Strict-Transport-Security in the MDN Web Docs.
- XssProtection ResponseHeaders Policy Xss Protection 
- Determines whether CloudFront includes the X-XSS-ProtectionHTTP response header and the header's value. For more information about theX-XSS-ProtectionHTTP response header, see X-XSS-Protection in the MDN Web Docs.
- contentSecurity ResponsePolicy Headers Policy Content Security Policy 
- The policy directives and their values that CloudFront includes as values for the Content-Security-PolicyHTTP response header. For more information about theContent-Security-PolicyHTTP response header, see Content-Security-Policy in the MDN Web Docs.
- contentType ResponseOptions Headers Policy Content Type Options 
- Determines whether CloudFront includes the X-Content-Type-OptionsHTTP response header with its value set tonosniff. For more information about theX-Content-Type-OptionsHTTP response header, see X-Content-Type-Options in the MDN Web Docs.
- frameOptions ResponseHeaders Policy Frame Options 
- Determines whether CloudFront includes the X-Frame-OptionsHTTP response header and the header's value. For more information about theX-Frame-OptionsHTTP response header, see X-Frame-Options in the MDN Web Docs.
- referrerPolicy ResponseHeaders Policy Referrer Policy 
- Determines whether CloudFront includes the Referrer-PolicyHTTP response header and the header's value. For more information about theReferrer-PolicyHTTP response header, see Referrer-Policy in the MDN Web Docs.
- strictTransport ResponseSecurity Headers Policy Strict Transport Security 
- Determines whether CloudFront includes the Strict-Transport-SecurityHTTP response header and the header's value. For more information about theStrict-Transport-SecurityHTTP response header, see Security headers in the Amazon CloudFront Developer Guide and Strict-Transport-Security in the MDN Web Docs.
- xssProtection ResponseHeaders Policy Xss Protection 
- Determines whether CloudFront includes the X-XSS-ProtectionHTTP response header and the header's value. For more information about theX-XSS-ProtectionHTTP response header, see X-XSS-Protection in the MDN Web Docs.
- contentSecurity ResponsePolicy Headers Policy Content Security Policy 
- The policy directives and their values that CloudFront includes as values for the Content-Security-PolicyHTTP response header. For more information about theContent-Security-PolicyHTTP response header, see Content-Security-Policy in the MDN Web Docs.
- contentType ResponseOptions Headers Policy Content Type Options 
- Determines whether CloudFront includes the X-Content-Type-OptionsHTTP response header with its value set tonosniff. For more information about theX-Content-Type-OptionsHTTP response header, see X-Content-Type-Options in the MDN Web Docs.
- frameOptions ResponseHeaders Policy Frame Options 
- Determines whether CloudFront includes the X-Frame-OptionsHTTP response header and the header's value. For more information about theX-Frame-OptionsHTTP response header, see X-Frame-Options in the MDN Web Docs.
- referrerPolicy ResponseHeaders Policy Referrer Policy 
- Determines whether CloudFront includes the Referrer-PolicyHTTP response header and the header's value. For more information about theReferrer-PolicyHTTP response header, see Referrer-Policy in the MDN Web Docs.
- strictTransport ResponseSecurity Headers Policy Strict Transport Security 
- Determines whether CloudFront includes the Strict-Transport-SecurityHTTP response header and the header's value. For more information about theStrict-Transport-SecurityHTTP response header, see Security headers in the Amazon CloudFront Developer Guide and Strict-Transport-Security in the MDN Web Docs.
- xssProtection ResponseHeaders Policy Xss Protection 
- Determines whether CloudFront includes the X-XSS-ProtectionHTTP response header and the header's value. For more information about theX-XSS-ProtectionHTTP 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-PolicyHTTP response header. For more information about theContent-Security-PolicyHTTP 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-OptionsHTTP response header with its value set tonosniff. For more information about theX-Content-Type-OptionsHTTP 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-OptionsHTTP response header and the header's value. For more information about theX-Frame-OptionsHTTP response header, see X-Frame-Options in the MDN Web Docs.
- referrer_policy ResponseHeaders Policy Referrer Policy 
- Determines whether CloudFront includes the Referrer-PolicyHTTP response header and the header's value. For more information about theReferrer-PolicyHTTP 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-SecurityHTTP response header and the header's value. For more information about theStrict-Transport-SecurityHTTP 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-ProtectionHTTP response header and the header's value. For more information about theX-XSS-ProtectionHTTP response header, see X-XSS-Protection in the MDN Web Docs.
- contentSecurity Property MapPolicy 
- The policy directives and their values that CloudFront includes as values for the Content-Security-PolicyHTTP response header. For more information about theContent-Security-PolicyHTTP response header, see Content-Security-Policy in the MDN Web Docs.
- contentType Property MapOptions 
- Determines whether CloudFront includes the X-Content-Type-OptionsHTTP response header with its value set tonosniff. For more information about theX-Content-Type-OptionsHTTP response header, see X-Content-Type-Options in the MDN Web Docs.
- frameOptions Property Map
- Determines whether CloudFront includes the X-Frame-OptionsHTTP response header and the header's value. For more information about theX-Frame-OptionsHTTP response header, see X-Frame-Options in the MDN Web Docs.
- referrerPolicy Property Map
- Determines whether CloudFront includes the Referrer-PolicyHTTP response header and the header's value. For more information about theReferrer-PolicyHTTP response header, see Referrer-Policy in the MDN Web Docs.
- strictTransport Property MapSecurity 
- Determines whether CloudFront includes the Strict-Transport-SecurityHTTP response header and the header's value. For more information about theStrict-Transport-SecurityHTTP response header, see Security headers in the Amazon CloudFront Developer Guide and Strict-Transport-Security in the MDN Web Docs.
- xssProtection Property Map
- Determines whether CloudFront includes the X-XSS-ProtectionHTTP response header and the header's value. For more information about theX-XSS-ProtectionHTTP response header, see X-XSS-Protection in the MDN Web Docs.
ResponseHeadersPolicyServerTimingHeadersConfig      
- Enabled bool
- A Boolean that determines whether CloudFront adds the Server-Timingheader to HTTP responses that it sends in response to requests that match a cache behavior that's associated with this response headers policy.
- SamplingRate double
- A number 0–100 (inclusive) that specifies the percentage of responses that you want CloudFront to add the Server-Timingheader to. When you set the sampling rate to 100, CloudFront adds theServer-Timingheader 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-Timingheader to HTTP responses that it sends in response to requests that match a cache behavior that's associated with this response headers policy.
- SamplingRate float64
- A number 0–100 (inclusive) that specifies the percentage of responses that you want CloudFront to add the Server-Timingheader to. When you set the sampling rate to 100, CloudFront adds theServer-Timingheader 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-Timingheader to HTTP responses that it sends in response to requests that match a cache behavior that's associated with this response headers policy.
- samplingRate Double
- A number 0–100 (inclusive) that specifies the percentage of responses that you want CloudFront to add the Server-Timingheader to. When you set the sampling rate to 100, CloudFront adds theServer-Timingheader 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-Timingheader to HTTP responses that it sends in response to requests that match a cache behavior that's associated with this response headers policy.
- samplingRate number
- A number 0–100 (inclusive) that specifies the percentage of responses that you want CloudFront to add the Server-Timingheader to. When you set the sampling rate to 100, CloudFront adds theServer-Timingheader 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-Timingheader 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-Timingheader to. When you set the sampling rate to 100, CloudFront adds theServer-Timingheader 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-Timingheader to HTTP responses that it sends in response to requests that match a cache behavior that's associated with this response headers policy.
- samplingRate Number
- A number 0–100 (inclusive) that specifies the percentage of responses that you want CloudFront to add the Server-Timingheader to. When you set the sampling rate to 100, CloudFront adds theServer-Timingheader 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     
- AccessControl intMax Age Sec 
- A number that CloudFront uses as the value for the max-agedirective in theStrict-Transport-SecurityHTTP response header.
- Override bool
- A Boolean that determines whether CloudFront overrides the Strict-Transport-SecurityHTTP response header received from the origin with the one specified in this response headers policy.
- IncludeSubdomains bool
- A Boolean that determines whether CloudFront includes the includeSubDomainsdirective in theStrict-Transport-SecurityHTTP response header.
- Preload bool
- A Boolean that determines whether CloudFront includes the preloaddirective in theStrict-Transport-SecurityHTTP response header.
- AccessControl intMax Age Sec 
- A number that CloudFront uses as the value for the max-agedirective in theStrict-Transport-SecurityHTTP response header.
- Override bool
- A Boolean that determines whether CloudFront overrides the Strict-Transport-SecurityHTTP response header received from the origin with the one specified in this response headers policy.
- IncludeSubdomains bool
- A Boolean that determines whether CloudFront includes the includeSubDomainsdirective in theStrict-Transport-SecurityHTTP response header.
- Preload bool
- A Boolean that determines whether CloudFront includes the preloaddirective in theStrict-Transport-SecurityHTTP response header.
- accessControl IntegerMax Age Sec 
- A number that CloudFront uses as the value for the max-agedirective in theStrict-Transport-SecurityHTTP response header.
- override Boolean
- A Boolean that determines whether CloudFront overrides the Strict-Transport-SecurityHTTP response header received from the origin with the one specified in this response headers policy.
- includeSubdomains Boolean
- A Boolean that determines whether CloudFront includes the includeSubDomainsdirective in theStrict-Transport-SecurityHTTP response header.
- preload Boolean
- A Boolean that determines whether CloudFront includes the preloaddirective in theStrict-Transport-SecurityHTTP response header.
- accessControl numberMax Age Sec 
- A number that CloudFront uses as the value for the max-agedirective in theStrict-Transport-SecurityHTTP response header.
- override boolean
- A Boolean that determines whether CloudFront overrides the Strict-Transport-SecurityHTTP response header received from the origin with the one specified in this response headers policy.
- includeSubdomains boolean
- A Boolean that determines whether CloudFront includes the includeSubDomainsdirective in theStrict-Transport-SecurityHTTP response header.
- preload boolean
- A Boolean that determines whether CloudFront includes the preloaddirective in theStrict-Transport-SecurityHTTP response header.
- access_control_ intmax_ age_ sec 
- A number that CloudFront uses as the value for the max-agedirective in theStrict-Transport-SecurityHTTP response header.
- override bool
- A Boolean that determines whether CloudFront overrides the Strict-Transport-SecurityHTTP 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 includeSubDomainsdirective in theStrict-Transport-SecurityHTTP response header.
- preload bool
- A Boolean that determines whether CloudFront includes the preloaddirective in theStrict-Transport-SecurityHTTP response header.
- accessControl NumberMax Age Sec 
- A number that CloudFront uses as the value for the max-agedirective in theStrict-Transport-SecurityHTTP response header.
- override Boolean
- A Boolean that determines whether CloudFront overrides the Strict-Transport-SecurityHTTP response header received from the origin with the one specified in this response headers policy.
- includeSubdomains Boolean
- A Boolean that determines whether CloudFront includes the includeSubDomainsdirective in theStrict-Transport-SecurityHTTP response header.
- preload Boolean
- A Boolean that determines whether CloudFront includes the preloaddirective in theStrict-Transport-SecurityHTTP response header.
ResponseHeadersPolicyXssProtection    
- Override bool
- A Boolean that determines whether CloudFront overrides the X-XSS-ProtectionHTTP 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-ProtectionHTTP response header. When this setting istrue, the value of theX-XSS-Protectionheader is1. When this setting isfalse, the value of theX-XSS-Protectionheader is0. For more information about these settings, see X-XSS-Protection in the MDN Web Docs.
- ModeBlock bool
- A Boolean that determines whether CloudFront includes the mode=blockdirective in theX-XSS-Protectionheader. For more information about this directive, see X-XSS-Protection in the MDN Web Docs.
- ReportUri string
- A reporting URI, which CloudFront uses as the value of the reportdirective in theX-XSS-Protectionheader. You cannot specify aReportUriwhenModeBlockistrue. 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-ProtectionHTTP 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-ProtectionHTTP response header. When this setting istrue, the value of theX-XSS-Protectionheader is1. When this setting isfalse, the value of theX-XSS-Protectionheader is0. For more information about these settings, see X-XSS-Protection in the MDN Web Docs.
- ModeBlock bool
- A Boolean that determines whether CloudFront includes the mode=blockdirective in theX-XSS-Protectionheader. For more information about this directive, see X-XSS-Protection in the MDN Web Docs.
- ReportUri string
- A reporting URI, which CloudFront uses as the value of the reportdirective in theX-XSS-Protectionheader. You cannot specify aReportUriwhenModeBlockistrue. 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-ProtectionHTTP 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-ProtectionHTTP response header. When this setting istrue, the value of theX-XSS-Protectionheader is1. When this setting isfalse, the value of theX-XSS-Protectionheader is0. For more information about these settings, see X-XSS-Protection in the MDN Web Docs.
- modeBlock Boolean
- A Boolean that determines whether CloudFront includes the mode=blockdirective in theX-XSS-Protectionheader. For more information about this directive, see X-XSS-Protection in the MDN Web Docs.
- reportUri String
- A reporting URI, which CloudFront uses as the value of the reportdirective in theX-XSS-Protectionheader. You cannot specify aReportUriwhenModeBlockistrue. 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-ProtectionHTTP 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-ProtectionHTTP response header. When this setting istrue, the value of theX-XSS-Protectionheader is1. When this setting isfalse, the value of theX-XSS-Protectionheader is0. For more information about these settings, see X-XSS-Protection in the MDN Web Docs.
- modeBlock boolean
- A Boolean that determines whether CloudFront includes the mode=blockdirective in theX-XSS-Protectionheader. For more information about this directive, see X-XSS-Protection in the MDN Web Docs.
- reportUri string
- A reporting URI, which CloudFront uses as the value of the reportdirective in theX-XSS-Protectionheader. You cannot specify aReportUriwhenModeBlockistrue. 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-ProtectionHTTP 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-ProtectionHTTP response header. When this setting istrue, the value of theX-XSS-Protectionheader is1. When this setting isfalse, the value of theX-XSS-Protectionheader 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=blockdirective in theX-XSS-Protectionheader. 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 reportdirective in theX-XSS-Protectionheader. You cannot specify aReportUriwhenModeBlockistrue. 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-ProtectionHTTP 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-ProtectionHTTP response header. When this setting istrue, the value of theX-XSS-Protectionheader is1. When this setting isfalse, the value of theX-XSS-Protectionheader is0. For more information about these settings, see X-XSS-Protection in the MDN Web Docs.
- modeBlock Boolean
- A Boolean that determines whether CloudFront includes the mode=blockdirective in theX-XSS-Protectionheader. For more information about this directive, see X-XSS-Protection in the MDN Web Docs.
- reportUri String
- A reporting URI, which CloudFront uses as the value of the reportdirective in theX-XSS-Protectionheader. You cannot specify aReportUriwhenModeBlockistrue. 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
We recommend new projects start with resources from the AWS provider.