You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::SecurityHub::Types::AwsCorsConfigurationWhen passing AwsCorsConfiguration as input to an Aws::Client method, you can use a vanilla Hash:
{
allow_origins: ["NonEmptyString"],
allow_credentials: false,
expose_headers: ["NonEmptyString"],
max_age: 1,
allow_methods: ["NonEmptyString"],
allow_headers: ["NonEmptyString"],
}
Contains the cross-origin resource sharing (CORS) configuration for the API. CORS is only supported for HTTP APIs.
Returned by:
Instance Attribute Summary collapseIndicates whether the CORS request includes credentials.
The allowed headers for CORS requests.
The allowed methods for CORS requests.
The allowed origins for CORS requests.
The exposed headers for CORS requests.
The number of seconds for which the browser caches preflight request results.
Indicates whether the CORS request includes credentials.
The allowed headers for CORS requests.
#allow_methods ⇒ Array<String>The allowed methods for CORS requests.
#allow_origins ⇒ Array<String>The allowed origins for CORS requests.
The exposed headers for CORS requests.
#max_age ⇒ IntegerThe number of seconds for which the browser caches preflight request results.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4