Type object
Schema URL https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-apigateway-apikey.json
Parent schema serverless-framework-configuration
Type: object

Resource Type definition for AWS::ApiGateway::ApiKey. Source:- https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-apigateway

Properties

CustomerId string | Aws_CF_FunctionString

An AWS Marketplace customer identifier to use when integrating with the AWS SaaS Marketplace.

Description string | Aws_CF_FunctionString

A description of the purpose of the API key.

Enabled boolean

Indicates whether the API key can be used by clients.

Default: false
GenerateDistinctId boolean

Specifies whether the key identifier is distinct from the created API key value. This parameter is deprecated and should not be used.

Name string | Aws_CF_FunctionString

A 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.

StageKeys StageKey[]

A list of stages to associate with this API key.

uniqueItems=true
Tags Tag[]

An array of arbitrary tags (key-value pairs) to associate with the API key.

Value string | Aws_CF_FunctionString

The value of the API key. Must be at least 20 characters long.

Definitions

StageKey object
RestApiId string | Aws_CF_FunctionString

The ID of a RestApi resource that includes the stage with which you want to associate the API key.

StageName string | Aws_CF_FunctionString

The name of the stage with which to associate the API key. The stage must be included in the RestApi resource that you specified in the RestApiId property.

Tag object
Key string | Aws_CF_FunctionString required

The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

Value string | Aws_CF_FunctionString required

The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.