class Aws::MediaStore::Types::PutCorsPolicyInput
@note When making an API call, you may pass PutCorsPolicyInput
data as a hash: { container_name: "ContainerName", # required cors_policy: [ # required { allowed_origins: ["Origin"], # required allowed_methods: ["PUT"], # accepts PUT, GET, DELETE, HEAD allowed_headers: ["Header"], # required max_age_seconds: 1, expose_headers: ["Header"], }, ], }
@!attribute [rw] container_name
The name of the container that you want to assign the CORS policy to. @return [String]
@!attribute [rw] cors_policy
The CORS policy to apply to the container. @return [Array<Types::CorsRule>]
@see docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/PutCorsPolicyInput AWS API Documentation
Constants
- SENSITIVE