GetResponseHeadersPolicyResult class
Result data returned by getResponseHeadersPolicy.
Constructors
-
GetResponseHeadersPolicyResult({String? arn, String? comment, List<
GetResponseHeadersPolicyCorsConfig> ? corsConfigs, List<GetResponseHeadersPolicyCustomHeadersConfig> ? customHeadersConfigs, String? etag, String? id, String? name, List<GetResponseHeadersPolicyRemoveHeadersConfig> ? removeHeadersConfigs, List<GetResponseHeadersPolicySecurityHeadersConfig> ? securityHeadersConfigs, List<GetResponseHeadersPolicyServerTimingHeadersConfig> ? serverTimingHeadersConfigs}) -
Creates a new GetResponseHeadersPolicyResult.
arnThe response headers policy ARN.commentComment to describe the response headers policy. The comment cannot be longer than 128 characters.corsConfigsConfiguration for a set of HTTP response headers that are used for Cross-Origin Resource Sharing (CORS). See Cors Config for more information.customHeadersConfigsObject that contains an attributeitemsthat contains a list of Custom Headers. See Custom Header for more information.etagCurrent version of the response headers policy.idOptional.nameOptional.removeHeadersConfigsObject that contains an attributeitemsthat contains a list of Remove Headers. See Remove Header for more information.securityHeadersConfigsA configuration for a set of security-related HTTP response headers. See Security Headers Config for more information.serverTimingHeadersConfigs(Optional) Configuration for enabling the Server-Timing header in HTTP responses sent from CloudFront. See Server Timing Headers Config for more information.const -
GetResponseHeadersPolicyResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
- arn → String?
-
The response headers policy ARN.
final
- comment → String?
-
Comment to describe the response headers policy. The comment cannot be longer than 128 characters.
final
-
corsConfigs
→ List<
GetResponseHeadersPolicyCorsConfig> ? -
Configuration for a set of HTTP response headers that are used for Cross-Origin Resource Sharing (CORS). See Cors Config for more information.
final
-
customHeadersConfigs
→ List<
GetResponseHeadersPolicyCustomHeadersConfig> ? -
Object that contains an attribute
itemsthat contains a list of Custom Headers. See Custom Header for more information.final - etag → String?
-
Current version of the response headers policy.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
final
- name → String?
-
final
-
removeHeadersConfigs
→ List<
GetResponseHeadersPolicyRemoveHeadersConfig> ? -
Object that contains an attribute
itemsthat contains a list of Remove Headers. See Remove Header for more information.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
securityHeadersConfigs
→ List<
GetResponseHeadersPolicySecurityHeadersConfig> ? -
A configuration for a set of security-related HTTP response headers. See Security Headers Config for more information.
final
-
serverTimingHeadersConfigs
→ List<
GetResponseHeadersPolicyServerTimingHeadersConfig> ? -
(Optional) 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