/** * _CORSRule shape */ export interface _CORSRule { /** *

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

*/ AllowedHeaders?: Array | Iterable; /** *

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

*/ AllowedMethods: Array | Iterable; /** *

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

*/ AllowedOrigins: Array | Iterable; /** *

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).

*/ ExposeHeaders?: Array | Iterable; /** *

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

*/ MaxAgeSeconds?: number; } export interface _UnmarshalledCORSRule extends _CORSRule { /** *

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

*/ AllowedHeaders?: Array; /** *

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

*/ AllowedMethods: Array; /** *

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

*/ AllowedOrigins: Array; /** *

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).

*/ ExposeHeaders?: Array; }