Struct aws_sdk_rust::aws::s3::bucket::CORSRule [] [src]

pub struct CORSRule {
    pub allowed_headers: AllowedHeaders,
    pub expose_headers: ExposeHeaders,
    pub allowed_methods: AllowedMethods,
    pub max_age_seconds: MaxAgeSeconds,
    pub allowed_origins: AllowedOrigins,
}

Fields

Specifies which headers are allowed in a pre-flight OPTIONS request.

One or more headers in the response that you want customers to be able to access from their applications (for example, from a JavaScript XMLHttpRequest object).

Identifies HTTP methods that the domain/origin specified in the rule is allowed to execute.

The time in seconds that your browser is to cache the preflight response for the specified resource.

One or more origins you want customers to be able to access the bucket from.

Trait Implementations

impl Debug for CORSRule
[src]

Formats the value using the given formatter.

impl Default for CORSRule
[src]

Returns the "default value" for a type. Read more

impl Decodable for CORSRule
[src]

Deserialize a value using a Decoder.

impl Encodable for CORSRule
[src]

Serialize a value using an Encoder.