CORSConfiguration class

Describes the cross-origin access configuration for objects in an Amazon S3 bucket. For more information, see Enabling Cross-Origin Resource Sharing in the Amazon Simple Storage Service Developer Guide.

Constructors

CORSConfiguration(CORSRule? cORSRules)
CORSConfiguration.fromXml(XmlElement xml)

Properties

cORSRules CORSRule?
A set of origins and methods (cross-origin access that you want to allow). You can add up to 100 rules to the configuration.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
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
toString() String
A string representation of this object.
inherited
toXml() → XmlNode

Operators

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