Skip to content
v2.274.0

AddApiKeyOptions Struct ​

Options to the UsagePlan.addApiKey() method.

Example ​

ts
declare const usageplan: apigateway.UsagePlan;
declare const apiKey: apigateway.ApiKey;

usageplan.addApiKey(apiKey, {
  overrideLogicalId: '...',
});

Properties ​

overrideLogicalIdoptionalstringoverride_logical_idoptionalstroverrideLogicalIdoptionalStringOverrideLogicalIdoptionalstringOverrideLogicalIdoptional*string#
Override the CloudFormation logical id of the AWS::ApiGateway::UsagePlanKey resource.

Default: autogenerated by the CDK