An API Gateway ApiKey, for which a rate limiting configuration can be specified.
import { RateLimitedApiKey } from 'aws-cdk-lib/aws-apigatewayv2';Or use the module namespace:
import * as apigatewayv2 from 'aws-cdk-lib/aws-apigatewayv2';
// apigatewayv2.RateLimitedApiKeyConfiguration passed to the constructor as RateLimitedApiKeyProps.
apiStagesOptionalUsagePlanPerApiStage[]API Stages to be associated with the RateLimitedApiKey.
Default: none
quotaOptionalQuotaSettingsNumber of requests clients can make in a given time period.
Default: none
throttleOptionalThrottleSettingsOverall throttle settings for the API.
Default: none
ApiKeyPropscustomerIdOptionalinherited from ApiKeyPropsstringAn AWS Marketplace customer identifier to use when integrating with the AWS SaaS Marketplace.
Default: none
enabledOptionalinherited from ApiKeyPropsbooleanIndicates whether the API key can be used by clients.
Default: true
generateDistinctIdOptionalinherited from ApiKeyPropsbooleanSpecifies whether the key identifier is distinct from the created API key value.
Default: false
ApiKeyOptionsapiKeyNameOptionalinherited from ApiKeyOptionsstringA name for the API key. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the API key name.
Default: automatically generated name
descriptionOptionalinherited from ApiKeyOptionsstringA description of the purpose of the API key.
Default: none
valueOptionalinherited from ApiKeyOptionsstringThe value of the API key. Must be at least 20 characters long.
Default: none
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-apigatewayv2