BucketCorsItemResponse class
Constructors
-
BucketCorsItemResponse({required Input<int> maxAgeSeconds, required Input<List<String>> method, required Input<List<String>> origin, })
-
Creates a new BucketCorsItemResponse.
maxAgeSeconds The value, in seconds, to return in the Access-Control-Max-Age header used in preflight responses.
method The list of HTTP methods on which to include CORS response headers, (GET, OPTIONS, POST, etc) Note: "" is permitted in the list of methods, and means "any method".
origin The list of Origins eligible to receive CORS response headers. Note: "" is permitted in the list of origins, and means "any Origin".
responseHeader The list of HTTP headers other than the simple response headers to give permission for the user-agent to share across domains.
const
-
BucketCorsItemResponse.fromMap(Map<String, dynamic> map)
-
factory
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
maxAgeSeconds
→ Input<int>
-
The value, in seconds, to return in the Access-Control-Max-Age header used in preflight responses.
final
-
method
→ Input<List<String>>
-
The list of HTTP methods on which to include CORS response headers, (GET, OPTIONS, POST, etc) Note: "*" is permitted in the list of methods, and means "any method".
final
-
origin
→ Input<List<String>>
-
The list of Origins eligible to receive CORS response headers. Note: "*" is permitted in the list of origins, and means "any Origin".
final
-
The list of HTTP headers other than the simple response headers to give permission for the user-agent to share across domains.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited