Skip to main content

IS3CORSRule

Interface in AWS.S3

Interface for CORS Rules

Ancestors

Properties

AllowedHeaders

property AllowedHeaders: TList<string>

A list of HTTP headers that are specified in the Access-Control-Request-Headers.

AllowedMethods

property AllowedMethods: TList<string>

A list of HTTP methods that you allow the origin to execute

Valid values: DELETE | </code>(<code>GET | HEAD | POST | PUT.

AllowedOrigins

property AllowedOrigins: TList<string>

A list of origins that you want customers to be able to access the bucket from.

ExposeHeaders

property ExposeHeaders: TList<string>

A list of HTTP headers in the response that you want customers to be able to access from their applications.

ID

property ID: string

A unique identifier for the rule.

MaxAgeSeconds

property MaxAgeSeconds: TOptional<Integer>

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