MethodSettingsSettings class

Constructors

MethodSettingsSettings({Input<bool?>? cacheDataEncrypted, Input<int?>? cacheTtlInSeconds, Input<bool?>? cachingEnabled, Input<bool?>? dataTraceEnabled, Input<String?>? loggingLevel, Input<bool?>? metricsEnabled, Input<bool?>? requireAuthorizationForCacheControl, Input<int?>? throttlingBurstLimit, Input<double?>? throttlingRateLimit, Input<String?>? unauthorizedCacheControlHeaderStrategy})
Creates a new MethodSettingsSettings. cacheDataEncrypted Whether the cached responses are encrypted. cacheTtlInSeconds Time to live (TTL), in seconds, for cached responses. The higher the TTL, the longer the response will be cached. cachingEnabled Whether responses should be cached and returned for requests. A cache cluster must be enabled on the stage for responses to be cached. dataTraceEnabled Whether data trace logging is enabled for this method, which effects the log entries pushed to Amazon CloudWatch Logs. loggingLevel Logging level for this method, which effects the log entries pushed to Amazon CloudWatch Logs. The available levels are OFF, ERROR, and INFO. metricsEnabled Whether Amazon CloudWatch metrics are enabled for this method. requireAuthorizationForCacheControl Whether authorization is required for a cache invalidation request. throttlingBurstLimit Throttling burst limit. Default: -1 (throttling disabled). throttlingRateLimit Throttling rate limit. Default: -1 (throttling disabled). unauthorizedCacheControlHeaderStrategy How to handle unauthorized requests for cache invalidation. The available values are FAIL_WITH_403, SUCCEED_WITH_RESPONSE_HEADER, SUCCEED_WITHOUT_RESPONSE_HEADER.
const
MethodSettingsSettings.fromMap(Map<String, dynamic> map)
factory

Properties

cacheDataEncrypted → Input<bool?>?
Whether the cached responses are encrypted.
final
cacheTtlInSeconds → Input<int?>?
Time to live (TTL), in seconds, for cached responses. The higher the TTL, the longer the response will be cached.
final
cachingEnabled → Input<bool?>?
Whether responses should be cached and returned for requests. A cache cluster must be enabled on the stage for responses to be cached.
final
dataTraceEnabled → Input<bool?>?
Whether data trace logging is enabled for this method, which effects the log entries pushed to Amazon CloudWatch Logs.
final
hashCode → int
The hash code for this object.
no setterinherited
loggingLevel → Input<String?>?
Logging level for this method, which effects the log entries pushed to Amazon CloudWatch Logs. The available levels are OFF, ERROR, and INFO.
final
metricsEnabled → Input<bool?>?
Whether Amazon CloudWatch metrics are enabled for this method.
final
requireAuthorizationForCacheControl → Input<bool?>?
Whether authorization is required for a cache invalidation request.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
throttlingBurstLimit → Input<int?>?
Throttling burst limit. Default: -1 (throttling disabled).
final
throttlingRateLimit → Input<double?>?
Throttling rate limit. Default: -1 (throttling disabled).
final
unauthorizedCacheControlHeaderStrategy → Input<String?>?
How to handle unauthorized requests for cache invalidation. The available values are FAIL_WITH_403, SUCCEED_WITH_RESPONSE_HEADER, SUCCEED_WITHOUT_RESPONSE_HEADER.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited