amazonka-cloudfront-2.0: Amazon CloudFront SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.CloudFront.Types.ResponseHeadersPolicyConfig

Description

 
Synopsis

Documentation

data ResponseHeadersPolicyConfig Source #

A response headers policy configuration.

A response headers policy configuration contains metadata about the response headers policy, and configurations for sets of HTTP response headers.

See: newResponseHeadersPolicyConfig smart constructor.

Constructors

ResponseHeadersPolicyConfig' 

Fields

Instances

Instances details
FromXML ResponseHeadersPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyConfig

ToXML ResponseHeadersPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyConfig

Generic ResponseHeadersPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyConfig

Associated Types

type Rep ResponseHeadersPolicyConfig :: Type -> Type #

Read ResponseHeadersPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyConfig

Show ResponseHeadersPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyConfig

NFData ResponseHeadersPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyConfig

Eq ResponseHeadersPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyConfig

Hashable ResponseHeadersPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyConfig

type Rep ResponseHeadersPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyConfig

newResponseHeadersPolicyConfig Source #

Create a value of ResponseHeadersPolicyConfig with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:comment:ResponseHeadersPolicyConfig', responseHeadersPolicyConfig_comment - A comment to describe the response headers policy.

The comment cannot be longer than 128 characters.

$sel:corsConfig:ResponseHeadersPolicyConfig', responseHeadersPolicyConfig_corsConfig - A configuration for a set of HTTP response headers that are used for cross-origin resource sharing (CORS).

$sel:customHeadersConfig:ResponseHeadersPolicyConfig', responseHeadersPolicyConfig_customHeadersConfig - A configuration for a set of custom HTTP response headers.

$sel:removeHeadersConfig:ResponseHeadersPolicyConfig', responseHeadersPolicyConfig_removeHeadersConfig - A configuration for a set of HTTP headers to remove from the HTTP response.

$sel:securityHeadersConfig:ResponseHeadersPolicyConfig', responseHeadersPolicyConfig_securityHeadersConfig - A configuration for a set of security-related HTTP response headers.

$sel:serverTimingHeadersConfig:ResponseHeadersPolicyConfig', responseHeadersPolicyConfig_serverTimingHeadersConfig - A configuration for enabling the Server-Timing header in HTTP responses sent from CloudFront.

$sel:name:ResponseHeadersPolicyConfig', responseHeadersPolicyConfig_name - A name to identify the response headers policy.

The name must be unique for response headers policies in this Amazon Web Services account.

responseHeadersPolicyConfig_comment :: Lens' ResponseHeadersPolicyConfig (Maybe Text) Source #

A comment to describe the response headers policy.

The comment cannot be longer than 128 characters.

responseHeadersPolicyConfig_corsConfig :: Lens' ResponseHeadersPolicyConfig (Maybe ResponseHeadersPolicyCorsConfig) Source #

A configuration for a set of HTTP response headers that are used for cross-origin resource sharing (CORS).

responseHeadersPolicyConfig_serverTimingHeadersConfig :: Lens' ResponseHeadersPolicyConfig (Maybe ResponseHeadersPolicyServerTimingHeadersConfig) Source #

A configuration for enabling the Server-Timing header in HTTP responses sent from CloudFront.

responseHeadersPolicyConfig_name :: Lens' ResponseHeadersPolicyConfig Text Source #

A name to identify the response headers policy.

The name must be unique for response headers policies in this Amazon Web Services account.