Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

AwsApiGatewayMethodSettings

import type { AwsApiGatewayMethodSettings } from "https://aws-api.deno.dev/v0.4/services/securityhub.ts?docs=full";

Defines settings for a method for the stage.

interface AwsApiGatewayMethodSettings {
CacheDataEncrypted?: boolean | null;
CacheTtlInSeconds?: number | null;
CachingEnabled?: boolean | null;
DataTraceEnabled?: boolean | null;
HttpMethod?: string | null;
LoggingLevel?: string | null;
MetricsEnabled?: boolean | null;
RequireAuthorizationForCacheControl?: boolean | null;
ResourcePath?: string | null;
ThrottlingBurstLimit?: number | null;
ThrottlingRateLimit?: number | null;
UnauthorizedCacheControlHeaderStrategy?: string | null;
}

§Properties

§
CacheDataEncrypted?: boolean | null
[src]

Indicates whether the cached responses are encrypted.

§
CacheTtlInSeconds?: number | null
[src]

Specifies the time to live (TTL), in seconds, for cached responses. The higher the TTL, the longer the response is cached.

§
CachingEnabled?: boolean | null
[src]

Indicates whether responses are cached and returned for requests. For responses to be cached, a cache cluster must be enabled on the stage.

§
DataTraceEnabled?: boolean | null
[src]

Indicates whether data trace logging is enabled for the method. Data trace logging affects the log entries that are pushed to CloudWatch Logs.

§
HttpMethod?: string | null
[src]

The HTTP method. You can use an asterisk (*) as a wildcard to apply method settings to multiple methods.

§
LoggingLevel?: string | null
[src]

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

§
MetricsEnabled?: boolean | null
[src]

Indicates whether CloudWatch metrics are enabled for the method.

§
RequireAuthorizationForCacheControl?: boolean | null
[src]

Indicates whether authorization is required for a cache invalidation request.

§
ResourcePath?: string | null
[src]

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.

§
ThrottlingBurstLimit?: number | null
[src]

The throttling burst limit for the method.

§
ThrottlingRateLimit?: number | null
[src]

The throttling rate limit for the method.

§
UnauthorizedCacheControlHeaderStrategy?: string | null
[src]

Indicates how to handle unauthorized requests for cache invalidation.

Valid values: FAIL_WITH_403 | SUCCEED_WITH_RESPONSE_HEADER | SUCCEED_WITHOUT_RESPONSE_HEADER