ResponseHeadersPolicyArgs class

The set of arguments for ResponseHeadersPolicy. The set of arguments for ResponseHeadersPolicy.

Constructors

ResponseHeadersPolicyArgs({Input<String?>? comment, Input<ResponseHeadersPolicyCorsConfig?>? corsConfig, Input<ResponseHeadersPolicyCustomHeadersConfig?>? customHeadersConfig, Input<String?>? name, Input<ResponseHeadersPolicyRemoveHeadersConfig?>? removeHeadersConfig, Input<ResponseHeadersPolicySecurityHeadersConfig?>? securityHeadersConfig, Input<ResponseHeadersPolicyServerTimingHeadersConfig?>? serverTimingHeadersConfig})
Creates a new ResponseHeadersPolicyArgs. comment A comment to describe the response headers policy. The comment cannot be longer than 128 characters. 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 Object that contains an attribute items that contains a list of custom headers. See Custom Header for more information. name A unique name to identify the response headers policy. 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 A configuration for a set of security-related HTTP response headers. See Security Headers Config for more information. serverTimingHeadersConfig A configuration for enabling the Server-Timing header in HTTP responses sent from CloudFront. See Server Timing Headers Config for more information.
const
ResponseHeadersPolicyArgs.fromMap(Map<String, dynamic> map)
factory

Properties

comment → Input<String?>?
A comment to describe the response headers policy. The comment cannot be longer than 128 characters.
final
corsConfig → Input<ResponseHeadersPolicyCorsConfig?>?
A configuration for a set of HTTP response headers that are used for Cross-Origin Resource Sharing (CORS). See CORS Config for more information.
final
customHeadersConfig → Input<ResponseHeadersPolicyCustomHeadersConfig?>?
Object that contains an attribute items that contains a list of custom headers. See Custom Header for more information.
final
hashCode → int
The hash code for this object.
no setterinherited
name → Input<String?>?
A unique name to identify the response headers policy.
final
removeHeadersConfig → Input<ResponseHeadersPolicyRemoveHeadersConfig?>?
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.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
securityHeadersConfig → Input<ResponseHeadersPolicySecurityHeadersConfig?>?
A configuration for a set of security-related HTTP response headers. See Security Headers Config for more information.
final
serverTimingHeadersConfig → Input<ResponseHeadersPolicyServerTimingHeadersConfig?>?
A configuration for enabling the Server-Timing header in HTTP responses sent from CloudFront. See Server Timing Headers Config for more information.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited