You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::S3::Types::CORSConfiguration

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CORSConfiguration as input to an Aws::Client method, you can use a vanilla Hash:

{
  cors_rules: [ # required
    {
      allowed_headers: ["AllowedHeader"],
      allowed_methods: ["AllowedMethod"], # required
      allowed_origins: ["AllowedOrigin"], # required
      expose_headers: ["ExposeHeader"],
      max_age_seconds: 1,
    },
  ],
}

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#cors_rulesArray<Types::CORSRule>

Returns: