AwsCorsConfiguration
Contains the cross-origin resource sharing (CORS) configuration for the API. CORS is only supported for HTTP APIs.
Contents
- AllowCredentials
 - 
               
Indicates whether the CORS request includes credentials.
Type: Boolean
Required: No
 - AllowHeaders
 - 
               
The allowed headers for CORS requests.
Type: Array of strings
Pattern:
.*\S.*Required: No
 - AllowMethods
 - 
               
The allowed methods for CORS requests.
Type: Array of strings
Pattern:
.*\S.*Required: No
 - AllowOrigins
 - 
               
The allowed origins for CORS requests.
Type: Array of strings
Pattern:
.*\S.*Required: No
 - ExposeHeaders
 - 
               
The exposed headers for CORS requests.
Type: Array of strings
Pattern:
.*\S.*Required: No
 - MaxAge
 - 
               
The number of seconds for which the browser caches preflight request results.
Type: Integer
Required: No
 
See Also
For more information about using this API in one of the language-specific Amazon SDKs, see the following: