class AmazonS3::CORSRuleStruct
- AmazonS3::CORSRuleStruct
- Reference
- Object
Included Modules
Defined in:
clients/s3.crConstructors
Class Method Summary
Instance Method Summary
- #allowed_headers : Array(String) | Nil
- #allowed_headers=(allowed_headers : Array(String) | Nil)
- #allowed_methods : Array(String)
- #allowed_methods=(allowed_methods : Array(String))
- #allowed_origins : Array(String)
- #allowed_origins=(allowed_origins : Array(String))
- #expose_headers : Array(String) | Nil
- #expose_headers=(expose_headers : Array(String) | Nil)
- #max_age_seconds : Int32 | Nil
- #max_age_seconds=(max_age_seconds : Int32 | Nil)
Instance methods inherited from module AWSSdk::RestXML::Structure
process(request : HTTP::Request)
process,
serialize(xml : XML::Builder)
serialize
Constructor Detail
def self.new(allowed_methods : Array(String), allowed_origins : Array(String), allowed_headers : Array(String) = nil, expose_headers : Array(String) = nil, max_age_seconds : Int32 = nil)
#