/** * _CORSRule shape */ export interface _CORSRule { /** *
Specifies which headers are allowed in a pre-flight OPTIONS request.
*/ AllowedHeaders?: ArrayIdentifies HTTP methods that the domain/origin specified in the rule is allowed to execute.
*/ AllowedMethods: ArrayOne or more origins you want customers to be able to access the bucket from.
*/ AllowedOrigins: ArrayOne 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?: ArrayThe 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?: ArrayIdentifies HTTP methods that the domain/origin specified in the rule is allowed to execute.
*/ AllowedMethods: ArrayOne or more origins you want customers to be able to access the bucket from.
*/ AllowedOrigins: ArrayOne 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