BucketCor class

Constructors

BucketCor({Input<int?>? maxAgeSeconds, Input<List<String>?>? methods, Input<List<String>?>? origins, Input<List<String>?>? responseHeaders})
Creates a new BucketCor. maxAgeSeconds The value, in seconds, to return in the Access-Control-Max-Age header used in preflight responses. methods 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". origins The list of Origins eligible to receive CORS response headers. Note: "" is permitted in the list of origins, and means "any Origin". responseHeaders The list of HTTP headers other than the simple response headers to give permission for the user-agent to share across domains.
const
BucketCor.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
methods → 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
origins → 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
responseHeaders → Input<List<String>?>?
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

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