AwsCloudfrontResponseHeadersPolicyArgs
interface AwsCloudfrontResponseHeadersPolicyArgs extends Omit<aws.cloudfront.ResponseHeadersPolicyArgs, 'name'> {
comment?: Input<string | undefined>;
corsConfig?: Input<ResponseHeadersPolicyCorsConfig | undefined>;
customHeadersConfig?: Input<ResponseHeadersPolicyCustomHeadersConfig | undefined>;
name: string;
removeHeadersConfig?: Input<ResponseHeadersPolicyRemoveHeadersConfig | undefined>;
securityHeadersConfig?: Input<ResponseHeadersPolicySecurityHeadersConfig | undefined>;
serverTimingHeadersConfig?: Input<ResponseHeadersPolicyServerTimingHeadersConfig | undefined>;
}Response headers policy capability inputs.
Example
`const policy: AwsCloudfrontResponseHeadersPolicyArgs = { name: 'websiteHeaders' };`Hierarchy
ResponseHeadersPolicyArgs, "name">AwsCloudfrontResponseHeadersPolicyArgs
Properties
comment: Input<string | undefined>
Inherited from comment
A comment to describe the response headers policy. The comment cannot be longer than 128 characters.
corsConfig: Input<ResponseHeadersPolicyCorsConfig | undefined>
Inherited from corsConfig
A configuration for a set of HTTP response headers that are used for Cross-Origin Resource Sharing (CORS). See CORS Config for more information.
customHeadersConfig: Input<ResponseHeadersPolicyCustomHeadersConfig | undefined>
Inherited from customHeadersConfig
Object that contains an attribute items that contains a list of custom headers. See Custom Header for more information.
name: string
Camel-case naming purpose.
removeHeadersConfig: Input<ResponseHeadersPolicyRemoveHeadersConfig | undefined>
Inherited from removeHeadersConfig
A configuration for a set of HTTP headers to remove from the HTTP response. Object that contains an attribute items that contains a list of headers. See Remove Header for more information.
securityHeadersConfig: Input<ResponseHeadersPolicySecurityHeadersConfig | undefined>
Inherited from securityHeadersConfig
A configuration for a set of security-related HTTP response headers. See Security Headers Config for more information.
serverTimingHeadersConfig: Input<ResponseHeadersPolicyServerTimingHeadersConfig | undefined>
Inherited from serverTimingHeadersConfig
A configuration for enabling the Server-Timing header in HTTP responses sent from CloudFront. See Server Timing Headers Config for more information.