Bases: object
Properties for defining a CfnApiKey
.
customer_id (Optional
[str
]) â An AWS Marketplace customer identifier, when integrating with the AWS SaaS Marketplace.
description (Optional
[str
]) â The description of the ApiKey.
enabled (Union
[bool
, IResolvable
, None
]) â Specifies whether the ApiKey can be used by callers.
generate_distinct_id (Union
[bool
, IResolvable
, None
]) â 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.
name (Optional
[str
]) â 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. For more information, see Name Type . .. epigraph:: If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
stage_keys (Union
[IResolvable
, Sequence
[Union
[IResolvable
, StageKeyProperty
, Dict
[str
, Any
]]], None
]) â DEPRECATED FOR USAGE PLANS - Specifies stages associated with the API key.
tags (Optional
[Sequence
[Union
[CfnTag
, Dict
[str
, Any
]]]]) â 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.
value (Optional
[str
]) â Specifies a value of the API key.
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-apikey.html
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_apigateway as apigateway cfn_api_key_props = apigateway.CfnApiKeyProps( customer_id="customerId", description="description", enabled=False, generate_distinct_id=False, name="name", stage_keys=[apigateway.CfnApiKey.StageKeyProperty( rest_api_id="restApiId", stage_name="stageName" )], tags=[CfnTag( key="key", value="value" )], value="value" )
Attributes
An AWS Marketplace customer identifier, when integrating with the AWS SaaS Marketplace.
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.
This parameter is deprecated and should not be used.
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. For more information, see Name Type . .. epigraph:
If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
DEPRECATED FOR USAGE PLANS - Specifies stages associated with the API key.
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.
Specifies a value of the API key.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4