AwsApiGatewayMethodSettings
¶
Source code in docs_src/capo_securityhub/types/aws_api_gateway_method_settings.py
cache_data_encrypted
instance-attribute
¶
cache_data_encrypted: NotRequired[Boolean]
Indicates whether the cached responses are encrypted.
cache_ttl_in_seconds
instance-attribute
¶
cache_ttl_in_seconds: NotRequired[Integer]
Specifies the time to live (TTL), in seconds, for cached responses. The higher the TTL, the longer the response is cached.
caching_enabled
instance-attribute
¶
caching_enabled: NotRequired[Boolean]
Indicates 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
instance-attribute
¶
data_trace_enabled: NotRequired[Boolean]
Indicates whether data trace logging is enabled for the method. Data trace logging affects the log entries that are pushed to CloudWatch Logs.
http_method
instance-attribute
¶
http_method: NotRequired[NonEmptyString]
The HTTP method. You can use an asterisk (*) as a wildcard to apply method settings to multiple methods.
logging_level
instance-attribute
¶
logging_level: NotRequired[NonEmptyString]
The 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
metrics_enabled
instance-attribute
¶
metrics_enabled: NotRequired[Boolean]
Indicates whether CloudWatch metrics are enabled for the method.
require_authorization_for_cache_control
instance-attribute
¶
require_authorization_for_cache_control: NotRequired[Boolean]
Indicates whether authorization is required for a cache invalidation request.
resource_path
instance-attribute
¶
resource_path: NotRequired[NonEmptyString]
The 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
instance-attribute
¶
throttling_burst_limit: NotRequired[Integer]
The throttling burst limit for the method.
throttling_rate_limit
instance-attribute
¶
throttling_rate_limit: NotRequired[Double]
The throttling rate limit for the method.
unauthorized_cache_control_header_strategy
instance-attribute
¶
unauthorized_cache_control_header_strategy: NotRequired[NonEmptyString]
Indicates how to handle unauthorized requests for cache invalidation.
Valid values: FAIL_WITH_403 | SUCCEED_WITH_RESPONSE_HEADER | SUCCEED_WITHOUT_RESPONSE_HEADER