Create an ApiKey resource.
apigateway_create_api_key(name, description, enabled,
generateDistinctId, value, stageKeys, customerId, tags)The name of the ApiKey.
The description of the ApiKey.
Specifies whether the ApiKey can be used by callers.
Specifies whether (true) or not (false) the key identifier is
distinct from the created API key value.
Specifies a value of the API key.
DEPRECATED FOR USAGE PLANS - Specifies stages associated with the API key.
An AWS Marketplace customer identifier , when integrating with the AWS 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.
svc$create_api_key(
name = "string",
description = "string",
enabled = TRUE|FALSE,
generateDistinctId = TRUE|FALSE,
value = "string",
stageKeys = list(
list(
restApiId = "string",
stageName = "string"
)
),
customerId = "string",
tags = list(
"string"
)
)
::: {.seeAlso} AWS CLI :::