|
1 | 1 | { |
2 | 2 | "typeName": "AWS::ApiGateway::ApiKey", |
3 | | - "description": "Resource Type definition for AWS::ApiGateway::ApiKey", |
| 3 | + "description": "The ``AWS::ApiGateway::ApiKey`` resource creates a unique key that you can distribute to clients who are executing API Gateway ``Method`` resources that require an API key. To specify which API key clients must use, map the API key with the ``RestApi`` and ``Stage`` resources that include the methods that require a key.", |
4 | 4 | "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-apigateway", |
5 | 5 | "additionalProperties": false, |
6 | 6 | "properties": { |
7 | 7 | "CustomerId": { |
8 | | - "description": "An AWS Marketplace customer identifier to use when integrating with the AWS SaaS Marketplace.", |
| 8 | + "description": "An MKT customer identifier, when integrating with the AWS SaaS Marketplace.", |
9 | 9 | "type": "string", |
10 | | - "markdownDescription": "An AWS Marketplace customer identifier to use when integrating with the AWS SaaS Marketplace.\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption" |
| 10 | + "markdownDescription": "An MKT customer identifier, when integrating with the AWS SaaS Marketplace.\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption" |
11 | 11 | }, |
12 | 12 | "Description": { |
13 | | - "description": "A description of the purpose of the API key.", |
| 13 | + "description": "The description of the ApiKey.", |
14 | 14 | "type": "string", |
15 | | - "markdownDescription": "A description of the purpose of the API key.\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption" |
| 15 | + "markdownDescription": "The description of the ApiKey.\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption" |
16 | 16 | }, |
17 | 17 | "Enabled": { |
18 | | - "description": "Indicates whether the API key can be used by clients.", |
| 18 | + "description": "Specifies whether the ApiKey can be used by callers.", |
19 | 19 | "default": false, |
20 | 20 | "type": "boolean", |
21 | | - "markdownDescription": "Indicates whether the API key can be used by clients.\n\n---\n\nRequired: No \nType: Boolean \nUpdate requires: No interruption" |
| 21 | + "markdownDescription": "Specifies whether the ApiKey can be used by callers.\n\n---\n\nRequired: No \nType: Boolean \nUpdate requires: No interruption" |
22 | 22 | }, |
23 | 23 | "GenerateDistinctId": { |
24 | | - "description": "Specifies whether the key identifier is distinct from the created API key value. This parameter is deprecated and should not be used.", |
| 24 | + "description": "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.", |
25 | 25 | "type": "boolean", |
26 | | - "markdownDescription": "Specifies whether the key identifier is distinct from the created API key value. This parameter is deprecated and should not be used.\n\n---\n\nRequired: No \nType: Boolean \nUpdate requires: Replacement" |
| 26 | + "markdownDescription": "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.\n\n---\n\nRequired: No \nType: Boolean \nUpdate requires: Replacement" |
27 | 27 | }, |
28 | 28 | "Name": { |
29 | | - "description": "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.", |
| 29 | + "description": "A name for the API key. If you don't specify a name, CFN generates a unique physical ID and uses that ID for the API key name. For more information, see [Name Type](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-name.html).\n 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.", |
30 | 30 | "type": "string", |
31 | | - "markdownDescription": "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.\n\n---\n\nRequired: No \nType: String \nUpdate requires: Replacement" |
| 31 | + "markdownDescription": "A name for the API key. If you don't specify a name, CFN generates a unique physical ID and uses that ID for the API key name. For more information, see [Name Type](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-name.html).\n 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.\n\n---\n\nRequired: No \nType: String \nUpdate requires: Replacement" |
32 | 32 | }, |
33 | 33 | "StageKeys": { |
34 | | - "description": "A list of stages to associate with this API key.", |
| 34 | + "description": "DEPRECATED FOR USAGE PLANS - Specifies stages associated with the API key.", |
35 | 35 | "type": "array", |
36 | 36 | "uniqueItems": true, |
37 | 37 | "items": { |
38 | 38 | "$ref": "#/definitions/StageKey" |
39 | 39 | }, |
40 | | - "markdownDescription": "A list of stages to associate with this API key.\n\n---\n\nRequired: No \nType: Array \nUpdate requires: No interruption" |
| 40 | + "markdownDescription": "DEPRECATED FOR USAGE PLANS - Specifies stages associated with the API key.\n\n---\n\nRequired: No \nType: Array \nUpdate requires: No interruption" |
41 | 41 | }, |
42 | 42 | "Tags": { |
43 | | - "description": "An array of arbitrary tags (key-value pairs) to associate with the API key.", |
| 43 | + "description": "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.", |
44 | 44 | "type": "array", |
45 | 45 | "uniqueItems": false, |
46 | 46 | "items": { |
47 | 47 | "$ref": "#/definitions/Tag" |
48 | 48 | }, |
49 | | - "markdownDescription": "An array of arbitrary tags (key-value pairs) to associate with the API key.\n\n---\n\nRequired: No \nType: Array \nUpdate requires: No interruption" |
| 49 | + "markdownDescription": "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.\n\n---\n\nRequired: No \nType: Array \nUpdate requires: No interruption" |
50 | 50 | }, |
51 | 51 | "Value": { |
52 | | - "description": "The value of the API key. Must be at least 20 characters long.", |
| 52 | + "description": "Specifies a value of the API key.", |
53 | 53 | "type": "string", |
54 | | - "markdownDescription": "The value of the API key. Must be at least 20 characters long.\n\n---\n\nRequired: No \nType: String \nUpdate requires: Replacement" |
| 54 | + "markdownDescription": "Specifies a value of the API key.\n\n---\n\nRequired: No \nType: String \nUpdate requires: Replacement" |
55 | 55 | } |
56 | 56 | }, |
57 | 57 | "definitions": { |
|
60 | 60 | "additionalProperties": false, |
61 | 61 | "properties": { |
62 | 62 | "RestApiId": { |
63 | | - "description": "The ID of a RestApi resource that includes the stage with which you want to associate the API key.", |
| 63 | + "description": "The string identifier of the associated RestApi.", |
64 | 64 | "type": "string", |
65 | | - "markdownDescription": "The ID of a RestApi resource that includes the stage with which you want to associate the API key.\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption" |
| 65 | + "markdownDescription": "The string identifier of the associated RestApi.\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption" |
66 | 66 | }, |
67 | 67 | "StageName": { |
68 | | - "description": "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. ", |
| 68 | + "description": "The stage name associated with the stage key.", |
69 | 69 | "type": "string", |
70 | | - "markdownDescription": "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. \n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption" |
| 70 | + "markdownDescription": "The stage name associated with the stage key.\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption" |
71 | 71 | } |
72 | 72 | }, |
73 | | - "markdownDescription": "\n\n---\n\nRequired: No \nUpdate requires: No interruption" |
| 73 | + "description": "``StageKey`` is a property of the [AWS::ApiGateway::ApiKey](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-apikey.html) resource that specifies the stage to associate with the API key. This association allows only clients with the key to make requests to methods in that stage.", |
| 74 | + "markdownDescription": "``StageKey`` is a property of the [AWS::ApiGateway::ApiKey](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-apikey.html) resource that specifies the stage to associate with the API key. This association allows only clients with the key to make requests to methods in that stage.\n\n---\n\nRequired: No \nUpdate requires: No interruption" |
74 | 75 | }, |
75 | 76 | "Tag": { |
76 | 77 | "type": "object", |
|
115 | 116 | "create": { |
116 | 117 | "permissions": [ |
117 | 118 | "apigateway:POST", |
118 | | - "apigateway:GET" |
| 119 | + "apigateway:GET", |
| 120 | + "apigateway:PUT" |
119 | 121 | ] |
120 | 122 | }, |
121 | 123 | "read": { |
|
133 | 135 | }, |
134 | 136 | "delete": { |
135 | 137 | "permissions": [ |
136 | | - "apigateway:DELETE" |
| 138 | + "apigateway:DELETE", |
| 139 | + "apigateway:GET" |
137 | 140 | ] |
138 | 141 | }, |
139 | 142 | "list": { |
|
0 commit comments