Create an ApiKey resource.
See https://www.paws-r-sdk.com/docs/apigateway_create_api_key/ for full documentation.
Usage
apigateway_create_api_key(
name = NULL,
description = NULL,
enabled = NULL,
generateDistinctId = NULL,
value = NULL,
stageKeys = NULL,
customerId = NULL,
tags = NULL
)Arguments
- name
The name of the ApiKey.
- description
The description of the ApiKey.
- enabled
Specifies whether the ApiKey can be used by callers.
- generateDistinctId
Specifies whether (
true) or not (false) the key identifier is distinct from the created API key value. This parameter is deprecated and should not be used.- value
Specifies a value of the API key.
- stageKeys
DEPRECATED FOR USAGE PLANS - Specifies stages associated with the API key.
- customerId
An Amazon Web Services Marketplace customer identifier, when integrating with the Amazon Web Services SaaS Marketplace.
The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with
aws:. The tag value can be up to 256 characters.