You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::SecurityHub::Types::AwsApiGatewayMethodSettingsWhen passing AwsApiGatewayMethodSettings as input to an Aws::Client method, you can use a vanilla Hash:
{
metrics_enabled: false,
logging_level: "NonEmptyString",
data_trace_enabled: false,
throttling_burst_limit: 1,
throttling_rate_limit: 1.0,
caching_enabled: false,
cache_ttl_in_seconds: 1,
cache_data_encrypted: false,
require_authorization_for_cache_control: false,
unauthorized_cache_control_header_strategy: "NonEmptyString",
http_method: "NonEmptyString",
resource_path: "NonEmptyString",
}
Defines settings for a method for the stage.
Instance Attribute Summary collapseIndicates whether the cached responses are encrypted.
Specifies the time to live (TTL), in seconds, for cached responses.
Indicates whether responses are cached and returned for requests.
Indicates whether data trace logging is enabled for the method.
The HTTP method.
The logging level for this method.
Indicates whether CloudWatch metrics are enabled for the method.
Indicates whether authorization is required for a cache invalidation request.
The resource path for this method.
The throttling burst limit for the method.
The throttling rate limit for the method.
Indicates how to handle unauthorized requests for cache invalidation.
Indicates whether the cached responses are encrypted.
#cache_ttl_in_seconds ⇒ IntegerSpecifies the time to live (TTL), in seconds, for cached responses. The higher the TTL, the longer the response is cached.
#caching_enabled ⇒ BooleanIndicates whether responses are cached and returned for requests. For responses to be cached, a cache cluster must be enabled on the stage.
#data_trace_enabled ⇒ BooleanIndicates whether data trace logging is enabled for the method. Data trace logging affects the log entries that are pushed to CloudWatch Logs.
#http_method ⇒ StringThe HTTP method. You can use an asterisk (*) as a wildcard to apply method settings to multiple methods.
#logging_level ⇒ StringThe logging level for this method. The logging level affects the log entries that are pushed to CloudWatch Logs.
If the logging level is ERROR
, then the logs only include error-level entries.
If the logging level is INFO
, then the logs include both ERROR
events and extra informational events.
Valid values: OFF
| ERROR
| INFO
Indicates whether CloudWatch metrics are enabled for the method.
Indicates whether authorization is required for a cache invalidation request.
#resource_path ⇒ StringThe resource path for this method. Forward slashes (/) are encoded as ~1 . The initial slash must include a forward slash.
For example, the path value /resource/subresource
must be encoded as /~1resource~1subresource
.
To specify the root path, use only a slash (/). You can use an asterisk (*) as a wildcard to apply method settings to multiple methods.
#throttling_burst_limit ⇒ IntegerThe throttling burst limit for the method.
#throttling_rate_limit ⇒ FloatThe throttling rate limit for the method.
Indicates how to handle unauthorized requests for cache invalidation.
Valid values: FAIL_WITH_403
| SUCCEED_WITH_RESPONSE_HEADER
| SUCCEED_WITHOUT_RESPONSE_HEADER
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