class Aws::Lambda::Types::Cors


@see docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/Cors AWS API Documentation
@return [Integer]
which means that the browser doesn’t cache results.
results of a preflight request. By default, this is set to ‘0`,
The maximum amount of time, in seconds, that web browsers can cache
@!attribute [rw] max_age
@return [Array<String>]
`Keep-Alive`, `X-Custom-Header`.
to origins that call your function URL. For example: `Date`,
The HTTP headers in your function response that you want to expose
@!attribute [rw] expose_headers
@return [Array<String>]
wildcard character (`*`).
Alternatively, you can grant access to all origins using the
`www.example.com`, `localhost:60905`.
number of specific origins, separated by a comma. For example:
The origins that can access your function URL. You can list any
@!attribute [rw] allow_origins
@return [Array<String>]
(`*`).
For example: `GET`, `POST`, `DELETE`, or the wildcard character
The HTTP methods that are allowed when calling your function URL.
@!attribute [rw] allow_methods
@return [Array<String>]
function URL. For example: `Date`, `Keep-Alive`, `X-Custom-Header`.
The HTTP headers that origins can include in requests to your
@!attribute [rw] allow_headers
@return [Boolean]
function URL. The default is `false`.
Whether to allow cookies or other credentials in requests to your
@!attribute [rw] allow_credentials<br><br>: developer.mozilla.org/en-US/docs/Web/HTTP/CORS<br><br><br><br>headers and methods in requests to your function URL.
origin. You can also use CORS to control access for specific HTTP
function URL. Use CORS to grant access to your function URL from any
The [cross-origin resource sharing (CORS)] settings for your Lambda