ResponseHeadersPolicyState class

Input properties used for looking up and filtering ResponseHeadersPolicy resources.

Constructors

ResponseHeadersPolicyState({Input<String?>? arn, Input<String?>? comment, Input<ResponseHeadersPolicyCorsConfig?>? corsConfig, Input<ResponseHeadersPolicyCustomHeadersConfig?>? customHeadersConfig, Input<String?>? etag, Input<String?>? name, Input<ResponseHeadersPolicyRemoveHeadersConfig?>? removeHeadersConfig, Input<ResponseHeadersPolicySecurityHeadersConfig?>? securityHeadersConfig, Input<ResponseHeadersPolicyServerTimingHeadersConfig?>? serverTimingHeadersConfig})
Creates a new ResponseHeadersPolicyState. arn The response headers policy ARN. 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. etag The current version of the response headers policy. 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
ResponseHeadersPolicyState.fromMap(Map<String, dynamic> map)
factory

Properties

arn → Input<String?>?
The response headers policy ARN.
final
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
etag → Input<String?>?
The current version of the response headers policy.
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