Class: Aws::SecurityHub::Types::AwsCorsConfiguration
- Inherits:
-
Struct
- Object
- Struct
- Aws::SecurityHub::Types::AwsCorsConfiguration
- Defined in:
- gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb
Overview
Contains the cross-origin resource sharing (CORS) configuration for the API. CORS is only supported for HTTP APIs.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#allow_credentials ⇒ Boolean
Indicates whether the CORS request includes credentials.
-
#allow_headers ⇒ Array<String>
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.
-
#expose_headers ⇒ Array<String>
The exposed headers for CORS requests.
-
#max_age ⇒ Integer
The number of seconds for which the browser caches preflight request results.
Instance Attribute Details
#allow_credentials ⇒ Boolean
Indicates whether the CORS request includes credentials.
5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 5578 class AwsCorsConfiguration < Struct.new( :allow_origins, :allow_credentials, :expose_headers, :max_age, :allow_methods, :allow_headers) SENSITIVE = [] include Aws::Structure end |
#allow_headers ⇒ Array<String>
The allowed headers for CORS requests.
5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 5578 class AwsCorsConfiguration < Struct.new( :allow_origins, :allow_credentials, :expose_headers, :max_age, :allow_methods, :allow_headers) SENSITIVE = [] include Aws::Structure end |
#allow_methods ⇒ Array<String>
The allowed methods for CORS requests.
5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 5578 class AwsCorsConfiguration < Struct.new( :allow_origins, :allow_credentials, :expose_headers, :max_age, :allow_methods, :allow_headers) SENSITIVE = [] include Aws::Structure end |
#allow_origins ⇒ Array<String>
The allowed origins for CORS requests.
5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 5578 class AwsCorsConfiguration < Struct.new( :allow_origins, :allow_credentials, :expose_headers, :max_age, :allow_methods, :allow_headers) SENSITIVE = [] include Aws::Structure end |
#expose_headers ⇒ Array<String>
The exposed headers for CORS requests.
5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 5578 class AwsCorsConfiguration < Struct.new( :allow_origins, :allow_credentials, :expose_headers, :max_age, :allow_methods, :allow_headers) SENSITIVE = [] include Aws::Structure end |
#max_age ⇒ Integer
The number of seconds for which the browser caches preflight request results.
5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 5578 class AwsCorsConfiguration < Struct.new( :allow_origins, :allow_credentials, :expose_headers, :max_age, :allow_methods, :allow_headers) SENSITIVE = [] include Aws::Structure end |