Class: AmazonS3CorsConfigurationRule

Types~AmazonS3CorsConfigurationRule

new AmazonS3CorsConfigurationRule()

Properties:
Name Type Description
AllowedHeaders String Required: No. Headers that are specified in the Access-Control-Request-Headers header. These headers are allowed in a preflight OPTIONS request. In response to any preflight OPTIONS request, Amazon S3 returns any requested headers that are allowed.
AllowedMethods String Required: Yes. An HTTP method that you allow the origin to execute. The valid values are GET, PUT, HEAD, POST, and DELETE.
AllowedOrigins String Required: Yes. An origin that you allow to send cross-domain requests.
ExposedHeaders String Required: No. One or more headers in the response that are accessible to client applications (for example, from a JavaScript XMLHttpRequest object).
Id String Required: No. A unique identifier for this rule. The value cannot be more than 255 characters.
MaxAge Number Required: No. The time in seconds that your browser is to cache the preflight response for the specified resource.
Source: