@aws-solutions-constructs/aws-apigateway-dynamodb 2.29.0 → 2.31.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +339 -37
- package/README.md +26 -9
- package/lib/index.d.ts +98 -14
- package/lib/index.js +38 -22
- package/package.json +6 -6
- package/test/apigateway-dynamodb.test.d.ts +1 -1
- package/test/apigateway-dynamodb.test.js +410 -2
- package/test/integ.additional-request-templates.d.ts +13 -0
- package/test/integ.additional-request-templates.expected.json +418 -0
- package/test/integ.additional-request-templates.js +50 -0
- package/test/integ.apigateway-dynamodb-CRUD.d.ts +1 -1
- package/test/integ.apigateway-dynamodb-CRUD.js +2 -2
- package/test/integ.apigateway-dynamodb-existing-table.d.ts +1 -1
- package/test/integ.apigateway-dynamodb-existing-table.js +2 -2
- package/test/integ.custom-integration-responses.d.ts +13 -0
- package/test/integ.custom-integration-responses.expected.json +406 -0
- package/test/integ.custom-integration-responses.js +48 -0
- package/test/integ.no-arguments.d.ts +1 -1
- package/test/integ.no-arguments.js +2 -2
package/.jsii
CHANGED
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
"url": "https://aws.amazon.com"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@aws-solutions-constructs/core": "2.
|
|
12
|
-
"aws-cdk-lib": "^2.
|
|
11
|
+
"@aws-solutions-constructs/core": "2.31.0",
|
|
12
|
+
"aws-cdk-lib": "^2.64.0",
|
|
13
13
|
"constructs": "^10.0.0"
|
|
14
14
|
},
|
|
15
15
|
"dependencyClosure": {
|
|
@@ -950,6 +950,19 @@
|
|
|
950
950
|
}
|
|
951
951
|
}
|
|
952
952
|
},
|
|
953
|
+
"aws-cdk-lib.aws_devicefarm": {
|
|
954
|
+
"targets": {
|
|
955
|
+
"dotnet": {
|
|
956
|
+
"namespace": "Amazon.CDK.AWS.DeviceFarm"
|
|
957
|
+
},
|
|
958
|
+
"java": {
|
|
959
|
+
"package": "software.amazon.awscdk.services.devicefarm"
|
|
960
|
+
},
|
|
961
|
+
"python": {
|
|
962
|
+
"module": "aws_cdk.aws_devicefarm"
|
|
963
|
+
}
|
|
964
|
+
}
|
|
965
|
+
},
|
|
953
966
|
"aws-cdk-lib.aws_devopsguru": {
|
|
954
967
|
"targets": {
|
|
955
968
|
"dotnet": {
|
|
@@ -1015,6 +1028,19 @@
|
|
|
1015
1028
|
}
|
|
1016
1029
|
}
|
|
1017
1030
|
},
|
|
1031
|
+
"aws-cdk-lib.aws_docdbelastic": {
|
|
1032
|
+
"targets": {
|
|
1033
|
+
"dotnet": {
|
|
1034
|
+
"namespace": "Amazon.CDK.AWS.DocDBElastic"
|
|
1035
|
+
},
|
|
1036
|
+
"java": {
|
|
1037
|
+
"package": "software.amazon.awscdk.services.docdbelastic"
|
|
1038
|
+
},
|
|
1039
|
+
"python": {
|
|
1040
|
+
"module": "aws_cdk.aws_docdbelastic"
|
|
1041
|
+
}
|
|
1042
|
+
}
|
|
1043
|
+
},
|
|
1018
1044
|
"aws-cdk-lib.aws_dynamodb": {
|
|
1019
1045
|
"targets": {
|
|
1020
1046
|
"dotnet": {
|
|
@@ -1431,6 +1457,19 @@
|
|
|
1431
1457
|
}
|
|
1432
1458
|
}
|
|
1433
1459
|
},
|
|
1460
|
+
"aws-cdk-lib.aws_grafana": {
|
|
1461
|
+
"targets": {
|
|
1462
|
+
"dotnet": {
|
|
1463
|
+
"namespace": "Amazon.CDK.AWS.Grafana"
|
|
1464
|
+
},
|
|
1465
|
+
"java": {
|
|
1466
|
+
"package": "software.amazon.awscdk.services.grafana"
|
|
1467
|
+
},
|
|
1468
|
+
"python": {
|
|
1469
|
+
"module": "aws_cdk.aws_grafana"
|
|
1470
|
+
}
|
|
1471
|
+
}
|
|
1472
|
+
},
|
|
1434
1473
|
"aws-cdk-lib.aws_greengrass": {
|
|
1435
1474
|
"targets": {
|
|
1436
1475
|
"dotnet": {
|
|
@@ -1743,6 +1782,19 @@
|
|
|
1743
1782
|
}
|
|
1744
1783
|
}
|
|
1745
1784
|
},
|
|
1785
|
+
"aws-cdk-lib.aws_kendraranking": {
|
|
1786
|
+
"targets": {
|
|
1787
|
+
"dotnet": {
|
|
1788
|
+
"namespace": "Amazon.CDK.AWS.KendraRanking"
|
|
1789
|
+
},
|
|
1790
|
+
"java": {
|
|
1791
|
+
"package": "software.amazon.awscdk.services.kendraranking"
|
|
1792
|
+
},
|
|
1793
|
+
"python": {
|
|
1794
|
+
"module": "aws_cdk.aws_kendraranking"
|
|
1795
|
+
}
|
|
1796
|
+
}
|
|
1797
|
+
},
|
|
1746
1798
|
"aws-cdk-lib.aws_kinesis": {
|
|
1747
1799
|
"targets": {
|
|
1748
1800
|
"dotnet": {
|
|
@@ -2211,6 +2263,45 @@
|
|
|
2211
2263
|
}
|
|
2212
2264
|
}
|
|
2213
2265
|
},
|
|
2266
|
+
"aws-cdk-lib.aws_oam": {
|
|
2267
|
+
"targets": {
|
|
2268
|
+
"dotnet": {
|
|
2269
|
+
"namespace": "Amazon.CDK.AWS.Oam"
|
|
2270
|
+
},
|
|
2271
|
+
"java": {
|
|
2272
|
+
"package": "software.amazon.awscdk.services.oam"
|
|
2273
|
+
},
|
|
2274
|
+
"python": {
|
|
2275
|
+
"module": "aws_cdk.aws_oam"
|
|
2276
|
+
}
|
|
2277
|
+
}
|
|
2278
|
+
},
|
|
2279
|
+
"aws-cdk-lib.aws_omics": {
|
|
2280
|
+
"targets": {
|
|
2281
|
+
"dotnet": {
|
|
2282
|
+
"namespace": "Amazon.CDK.AWS.Omics"
|
|
2283
|
+
},
|
|
2284
|
+
"java": {
|
|
2285
|
+
"package": "software.amazon.awscdk.services.omics"
|
|
2286
|
+
},
|
|
2287
|
+
"python": {
|
|
2288
|
+
"module": "aws_cdk.aws_omics"
|
|
2289
|
+
}
|
|
2290
|
+
}
|
|
2291
|
+
},
|
|
2292
|
+
"aws-cdk-lib.aws_opensearchserverless": {
|
|
2293
|
+
"targets": {
|
|
2294
|
+
"dotnet": {
|
|
2295
|
+
"namespace": "Amazon.CDK.AWS.OpenSearchServerless"
|
|
2296
|
+
},
|
|
2297
|
+
"java": {
|
|
2298
|
+
"package": "software.amazon.awscdk.services.opensearchserverless"
|
|
2299
|
+
},
|
|
2300
|
+
"python": {
|
|
2301
|
+
"module": "aws_cdk.aws_opensearchserverless"
|
|
2302
|
+
}
|
|
2303
|
+
}
|
|
2304
|
+
},
|
|
2214
2305
|
"aws-cdk-lib.aws_opensearchservice": {
|
|
2215
2306
|
"targets": {
|
|
2216
2307
|
"dotnet": {
|
|
@@ -2315,6 +2406,19 @@
|
|
|
2315
2406
|
}
|
|
2316
2407
|
}
|
|
2317
2408
|
},
|
|
2409
|
+
"aws-cdk-lib.aws_pipes": {
|
|
2410
|
+
"targets": {
|
|
2411
|
+
"dotnet": {
|
|
2412
|
+
"namespace": "Amazon.CDK.AWS.Pipes"
|
|
2413
|
+
},
|
|
2414
|
+
"java": {
|
|
2415
|
+
"package": "software.amazon.awscdk.services.pipes"
|
|
2416
|
+
},
|
|
2417
|
+
"python": {
|
|
2418
|
+
"module": "aws_cdk.aws_pipes"
|
|
2419
|
+
}
|
|
2420
|
+
}
|
|
2421
|
+
},
|
|
2318
2422
|
"aws-cdk-lib.aws_qldb": {
|
|
2319
2423
|
"targets": {
|
|
2320
2424
|
"dotnet": {
|
|
@@ -2809,6 +2913,19 @@
|
|
|
2809
2913
|
}
|
|
2810
2914
|
}
|
|
2811
2915
|
},
|
|
2916
|
+
"aws-cdk-lib.aws_simspaceweaver": {
|
|
2917
|
+
"targets": {
|
|
2918
|
+
"dotnet": {
|
|
2919
|
+
"namespace": "Amazon.CDK.AWS.SimSpaceWeaver"
|
|
2920
|
+
},
|
|
2921
|
+
"java": {
|
|
2922
|
+
"package": "software.amazon.awscdk.services.simspaceweaver"
|
|
2923
|
+
},
|
|
2924
|
+
"python": {
|
|
2925
|
+
"module": "aws_cdk.aws_simspaceweaver"
|
|
2926
|
+
}
|
|
2927
|
+
}
|
|
2928
|
+
},
|
|
2812
2929
|
"aws-cdk-lib.aws_sns": {
|
|
2813
2930
|
"targets": {
|
|
2814
2931
|
"dotnet": {
|
|
@@ -3254,7 +3371,7 @@
|
|
|
3254
3371
|
},
|
|
3255
3372
|
"description": "CDK Constructs for AWS API Gateway and Amazon DynamoDB integration.",
|
|
3256
3373
|
"homepage": "https://github.com/awslabs/aws-solutions-constructs.git",
|
|
3257
|
-
"jsiiVersion": "1.
|
|
3374
|
+
"jsiiVersion": "1.74.0 (build 6d08790)",
|
|
3258
3375
|
"keywords": [
|
|
3259
3376
|
"aws",
|
|
3260
3377
|
"cdk",
|
|
@@ -3273,7 +3390,7 @@
|
|
|
3273
3390
|
},
|
|
3274
3391
|
"name": "@aws-solutions-constructs/aws-apigateway-dynamodb",
|
|
3275
3392
|
"readme": {
|
|
3276
|
-
"markdown": "# aws-apigateway-dynamodb module\n<!--BEGIN STABILITY BANNER-->\n\n---\n\n\n\n> All classes are under active development and subject to non-backward compatible changes or removal in any\n> future version. These are not subject to the [Semantic Versioning](https://semver.org/) model.\n> This means that while you may use them, you may need to update your source code when upgrading to a newer version of this package.\n\n---\n<!--END STABILITY BANNER-->\n\n| **Reference Documentation**:| <span style=\"font-weight: normal\">https://docs.aws.amazon.com/solutions/latest/constructs/</span>|\n|:-------------|:-------------|\n<div style=\"height:8px\"></div>\n\n\n| **Language** | **Package** |\n|:-------------|-----------------|\n| Python|`aws_solutions_constructs.aws_apigateway_dynamodb`|\n| Typescript|`@aws-solutions-constructs/aws-apigateway-dynamodb`|\n| Java|`software.amazon.awsconstructs.services.apigatewaydynamodb`|\n\n## Overview\nThis AWS Solutions Construct implements an Amazon API Gateway REST API connected to Amazon DynamoDB table.\n\nHere is a minimal deployable pattern definition in:\n\nTypescript\n``` typescript\nimport { Construct } from 'constructs';\nimport { Stack, StackProps } from 'aws-cdk-lib';\nimport { ApiGatewayToDynamoDBProps, ApiGatewayToDynamoDB } from \"@aws-solutions-constructs/aws-apigateway-dynamodb\";\n\nnew ApiGatewayToDynamoDB(this, 'test-api-gateway-dynamodb-default', {});\n```\n\nPython\n``` python\nfrom aws_solutions_constructs.aws_apigateway_dynamodb import ApiGatewayToDynamoDB\nfrom aws_cdk import Stack\nfrom constructs import Construct\n\nApiGatewayToDynamoDB(self, 'test-api-gateway-dynamodb-default')\n```\n\nJava\n``` java\nimport software.constructs.Construct;\n\nimport software.amazon.awscdk.Stack;\nimport software.amazon.awscdk.StackProps;\nimport software.amazon.awsconstructs.services.apigatewaydynamodb.*;\n\nnew ApiGatewayToDynamoDB(this, \"test-api-gateway-dynamodb-default\", new ApiGatewayToDynamoDBProps.Builder()\n .build());\n```\n\n## Pattern Construct Props\n\n| **Name** | **Type** | **Description** |\n|:-------------|:----------------|-----------------|\n|dynamoTableProps?|[`dynamodb.TableProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_dynamodb.TableProps.html)|Optional user provided props to override the default props for DynamoDB Table.|\n|existingTableObj?|[`dynamodb.Table`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_dynamodb.Table.html)|Existing instance of DynamoDB table object, providing both this and `dynamoTableProps` will cause an error.|\n|apiGatewayProps?|[`api.RestApiProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_apigateway.RestApiProps.html)|Optional user-provided props to override the default props for the API Gateway.|\n|allowCreateOperation?|`boolean`|Whether to deploy API Gateway Method for Create operation on DynamoDB table.|\n|createRequestTemplate?|`string`|API Gateway Request template for Create method, required if `allowCreateOperation` set to true.|\n|allowReadOperation?|`boolean`|Whether to deploy API Gateway Method for Read operation on DynamoDB table.|\n|readRequestTemplate?|`string`|Optional API Gateway Request template for Read method, it will use the default template if `allowReadOperation` is true and `readRequestTemplate` is not provided. The default template only supports a partition key and not partition + sort keys.|\n|allowUpdateOperation?|`boolean`|Whether to deploy API Gateway Method for Update operation on DynamoDB table.|\n|updateRequestTemplate?|`string`|API Gateway Request template for Update method, required if `allowUpdateOperation` set to true.|\n|allowDeleteOperation?|`boolean`|Whether to deploy API Gateway Method for Delete operation on DynamoDB table.|\n|deleteRequestTemplate?|`string`|Optional API Gateway Request template for Delete method, it will use the default template if `allowDeleteOperation` is true and `deleteRequestTemplate` is not provided. The default template only supports a partition key and not partition + sort keys.|\n|logGroupProps?|[`logs.LogGroupProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_logs.LogGroupProps.html)|User provided props to override the default props for for the CloudWatchLogs LogGroup.|\n\n## Pattern Properties\n\n| **Name** | **Type** | **Description** |\n|:-------------|:----------------|-----------------|\n|apiGateway|[`api.RestApi`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_apigateway.RestApi.html)|Returns an instance of the api.RestApi created by the construct.|\n|apiGatewayRole|[`iam.Role`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_iam.Role.html)|Returns an instance of the iam.Role created by the construct for API Gateway.|\n|dynamoTable|[`dynamodb.Table`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_dynamodb.Table.html)|Returns an instance of dynamodb.Table created by the construct.|\n|apiGatewayCloudWatchRole?|[`iam.Role`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_iam.Role.html)|Returns an instance of the iam.Role created by the construct for API Gateway for CloudWatch access.|\n|apiGatewayLogGroup|[`logs.LogGroup`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_logs.LogGroup.html)|Returns an instance of the LogGroup created by the construct for API Gateway access logging to CloudWatch.|\n\n## Default settings\n\nOut of the box implementation of the Construct without any override will set the following defaults:\n\n### Amazon API Gateway\n* Deploy an edge-optimized API endpoint\n* Enable CloudWatch logging for API Gateway\n* Configure least privilege access IAM role for API Gateway\n* Set the default authorizationType for all API methods to IAM\n* Enable X-Ray Tracing\n\n### Amazon DynamoDB Table\n* Set the billing mode for DynamoDB Table to On-Demand (Pay per request)\n* Enable server-side encryption for DynamoDB Table using AWS managed KMS Key\n* Creates a partition key called 'id' for DynamoDB Table\n* Retain the Table when deleting the CloudFormation stack\n* Enable continuous backups and point-in-time recovery\n\n## Architecture\n\n\n***\n© Copyright 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n"
|
|
3393
|
+
"markdown": "# aws-apigateway-dynamodb module\n<!--BEGIN STABILITY BANNER-->\n\n---\n\n\n\n> All classes are under active development and subject to non-backward compatible changes or removal in any\n> future version. These are not subject to the [Semantic Versioning](https://semver.org/) model.\n> This means that while you may use them, you may need to update your source code when upgrading to a newer version of this package.\n\n---\n<!--END STABILITY BANNER-->\n\n| **Reference Documentation**:| <span style=\"font-weight: normal\">https://docs.aws.amazon.com/solutions/latest/constructs/</span>|\n|:-------------|:-------------|\n<div style=\"height:8px\"></div>\n\n\n| **Language** | **Package** |\n|:-------------|-----------------|\n| Python|`aws_solutions_constructs.aws_apigateway_dynamodb`|\n| Typescript|`@aws-solutions-constructs/aws-apigateway-dynamodb`|\n| Java|`software.amazon.awsconstructs.services.apigatewaydynamodb`|\n\n## Overview\nThis AWS Solutions Construct implements an Amazon API Gateway REST API connected to Amazon DynamoDB table.\n\nHere is a minimal deployable pattern definition in:\n\nTypescript\n``` typescript\nimport { Construct } from 'constructs';\nimport { Stack, StackProps } from 'aws-cdk-lib';\nimport { ApiGatewayToDynamoDBProps, ApiGatewayToDynamoDB } from \"@aws-solutions-constructs/aws-apigateway-dynamodb\";\n\nnew ApiGatewayToDynamoDB(this, 'test-api-gateway-dynamodb-default', {});\n```\n\nPython\n``` python\nfrom aws_solutions_constructs.aws_apigateway_dynamodb import ApiGatewayToDynamoDB\nfrom aws_cdk import Stack\nfrom constructs import Construct\n\nApiGatewayToDynamoDB(self, 'test-api-gateway-dynamodb-default')\n```\n\nJava\n``` java\nimport software.constructs.Construct;\n\nimport software.amazon.awscdk.Stack;\nimport software.amazon.awscdk.StackProps;\nimport software.amazon.awsconstructs.services.apigatewaydynamodb.*;\n\nnew ApiGatewayToDynamoDB(this, \"test-api-gateway-dynamodb-default\", new ApiGatewayToDynamoDBProps.Builder()\n .build());\n```\n\n## Pattern Construct Props\n\n| **Name** | **Type** | **Description** |\n|:-------------|:----------------|-----------------|\n|dynamoTableProps?|[`dynamodb.TableProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_dynamodb.TableProps.html)|Optional user provided props to override the default props for DynamoDB Table.|\n|existingTableObj?|[`dynamodb.Table`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_dynamodb.Table.html)|Existing instance of DynamoDB table object, providing both this and `dynamoTableProps` will cause an error.|\n|apiGatewayProps?|[`api.RestApiProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_apigateway.RestApiProps.html)|Optional user-provided props to override the default props for the API Gateway.|\n|allowCreateOperation?|`boolean`|Whether to deploy an API Gateway Method for POST HTTP operations on the DynamoDB table (i.e. dynamodb:PutItem).|\n|createRequestTemplate?|`string`|API Gateway Request Template for the create method for the default `application/json` content-type. This property is required if the `allowCreateOperation` property is set to true.|\n|additionalCreateRequestTemplates?|`{ [contentType: string]: string; }`|Optional Create Request Templates for content-types other than `application/json`. Use the `createRequestTemplate` property to set the request template for the `application/json` content-type. This property can only be specified if the `allowCreateOperation` property is set to true.|\n|createIntegrationResponses?|[`api.IntegrationResponses[]`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_apigateway.IntegrationResponse.html)|Optional, custom API Gateway Integration Response for the create method. This property can only be specified if the `allowCreateOperation` property is set to true.|\n|allowReadOperation?|`boolean`|Whether to deploy an API Gateway Method for GET HTTP operations on DynamoDB table (i.e. dynamodb:Query).|\n|readRequestTemplate?|`string`|API Gateway Request Template for the read method for the default `application/json` content-type. The default template only supports a partition key and not partition + sort keys.|\n|additionalReadRequestTemplates?|`{ [contentType: string]: string; }`|Optional Read Request Templates for content-types other than `application/json`. Use the `readRequestTemplate` property to set the request template for the `application/json` content-type.|\n|readIntegrationResponses?|[`api.IntegrationResponses[]`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_apigateway.IntegrationResponse.html)|Optional, custom API Gateway Integration Response for the read method.|\n|allowUpdateOperation?|`boolean`|Whether to deploy API Gateway Method for PUT HTTP operations on DynamoDB table (i.e. dynamodb:UpdateItem).|\n|updateRequestTemplate?|`string`|API Gateway Request Template for the update method. This property is required if the `allowUpdateOperation` property is set to true.|\n|additionalUpdateRequestTemplates?|`{ [contentType: string]: string; }`|Optional Update Request Templates for content-types other than `application/json`. Use the `updateRequestTemplate` property to set the request template for the `application/json` content-type. This property can only be specified if the `allowUpdateOperation` property is set to true.|\n|updateIntegrationResponses?|[`api.IntegrationResponses[]`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_apigateway.IntegrationResponse.html)|Optional, custom API Gateway Integration Response for the update method. This property can only be specified if the `allowUpdateOperation` property is set to true.|\n|allowDeleteOperation?|`boolean`|Whether to deploy API Gateway Method for DELETE HTTP operations on DynamoDB table (i.e. dynamodb:DeleteItem).|\n|deleteRequestTemplate?|`string`|API Gateway Request Template for the delete method for the default `application/json` content-type. |\n|additionalDeleteRequestTemplates?|`{ [contentType: string]: string; }`|Optional Delete request templates for content-types other than `application/json`. Use the `deleteRequestTemplate` property to set the request template for the `application/json` content-type. This property can only be specified if the `allowDeleteOperation` property is set to true.|\n|deleteIntegrationResponses?|[`api.IntegrationResponses[]`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_apigateway.IntegrationResponse.html)|Optional, custom API Gateway Integration Response for the delete method. This property can only be specified if the `allowDeleteOperation` property is set to true.|\n|logGroupProps?|[`logs.LogGroupProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_logs.LogGroupProps.html)|User provided props to override the default props for for the CloudWatchLogs LogGroup.|\n\n## Pattern Properties\n\n| **Name** | **Type** | **Description** |\n|:-------------|:----------------|-----------------|\n|apiGateway|[`api.RestApi`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_apigateway.RestApi.html)|Returns an instance of the api.RestApi created by the construct.|\n|apiGatewayRole|[`iam.Role`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_iam.Role.html)|Returns an instance of the iam.Role created by the construct for API Gateway.|\n|dynamoTable|[`dynamodb.Table`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_dynamodb.Table.html)|Returns an instance of dynamodb.Table created by the construct.|\n|apiGatewayCloudWatchRole?|[`iam.Role`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_iam.Role.html)|Returns an instance of the iam.Role created by the construct for API Gateway for CloudWatch access.|\n|apiGatewayLogGroup|[`logs.LogGroup`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_logs.LogGroup.html)|Returns an instance of the LogGroup created by the construct for API Gateway access logging to CloudWatch.|\n\n# API Gateway Request/Response Template Properties Overview\nThis construct allows you to implement four DynamoDB API operations, CREATE/READ/UPDATE/DELETE (corresponding the HTTP POST/GET/PUT/DELETE requests respectively). They are completely independent and each follows the same pattern:\n* Setting `allowCreateOperation` to true will implement the `application/json` content-type with default request and response templates\n* The request template for `application/json` requests can be customized using the `createRequestTemplate` prop value\n* *Additional* request templates can be specified using the `additionalCreateRequestTemplates` prop value. Note - these DO NOT replace the `application/json` content-type\n* Customized integration responses can be specified for any content type in the `createIntegrationResponses` prop value.\n\nSupplying any of these values without setting allowCreateOperation to true will result in an error. This pattern is the same for all four API operations.\n\n## Default settings\n\nOut of the box implementation of the Construct without any override will set the following defaults:\n\n### Amazon API Gateway\n* Deploy an edge-optimized API endpoint\n* Enable CloudWatch logging for API Gateway\n* Configure least privilege access IAM role for API Gateway\n* Set the default authorizationType for all API methods to IAM\n* Enable X-Ray Tracing\n\n### Amazon DynamoDB Table\n* Set the billing mode for DynamoDB Table to On-Demand (Pay per request)\n* Enable server-side encryption for DynamoDB Table using AWS managed KMS Key\n* Creates a partition key called 'id' for DynamoDB Table\n* Retain the Table when deleting the CloudFormation stack\n* Enable continuous backups and point-in-time recovery\n\n## Architecture\n\n\n***\n© Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n"
|
|
3277
3394
|
},
|
|
3278
3395
|
"repository": {
|
|
3279
3396
|
"directory": "source/patterns/@aws-solutions-constructs/aws-apigateway-dynamodb",
|
|
@@ -3323,7 +3440,7 @@
|
|
|
3323
3440
|
},
|
|
3324
3441
|
"locationInModule": {
|
|
3325
3442
|
"filename": "lib/index.ts",
|
|
3326
|
-
"line":
|
|
3443
|
+
"line": 198
|
|
3327
3444
|
},
|
|
3328
3445
|
"parameters": [
|
|
3329
3446
|
{
|
|
@@ -3358,7 +3475,7 @@
|
|
|
3358
3475
|
"kind": "class",
|
|
3359
3476
|
"locationInModule": {
|
|
3360
3477
|
"filename": "lib/index.ts",
|
|
3361
|
-
"line":
|
|
3478
|
+
"line": 184
|
|
3362
3479
|
},
|
|
3363
3480
|
"name": "ApiGatewayToDynamoDB",
|
|
3364
3481
|
"properties": [
|
|
@@ -3366,7 +3483,7 @@
|
|
|
3366
3483
|
"immutable": true,
|
|
3367
3484
|
"locationInModule": {
|
|
3368
3485
|
"filename": "lib/index.ts",
|
|
3369
|
-
"line":
|
|
3486
|
+
"line": 187
|
|
3370
3487
|
},
|
|
3371
3488
|
"name": "apiGateway",
|
|
3372
3489
|
"type": {
|
|
@@ -3377,7 +3494,7 @@
|
|
|
3377
3494
|
"immutable": true,
|
|
3378
3495
|
"locationInModule": {
|
|
3379
3496
|
"filename": "lib/index.ts",
|
|
3380
|
-
"line":
|
|
3497
|
+
"line": 189
|
|
3381
3498
|
},
|
|
3382
3499
|
"name": "apiGatewayLogGroup",
|
|
3383
3500
|
"type": {
|
|
@@ -3388,7 +3505,7 @@
|
|
|
3388
3505
|
"immutable": true,
|
|
3389
3506
|
"locationInModule": {
|
|
3390
3507
|
"filename": "lib/index.ts",
|
|
3391
|
-
"line":
|
|
3508
|
+
"line": 186
|
|
3392
3509
|
},
|
|
3393
3510
|
"name": "apiGatewayRole",
|
|
3394
3511
|
"type": {
|
|
@@ -3399,7 +3516,7 @@
|
|
|
3399
3516
|
"immutable": true,
|
|
3400
3517
|
"locationInModule": {
|
|
3401
3518
|
"filename": "lib/index.ts",
|
|
3402
|
-
"line":
|
|
3519
|
+
"line": 185
|
|
3403
3520
|
},
|
|
3404
3521
|
"name": "dynamoTable",
|
|
3405
3522
|
"type": {
|
|
@@ -3410,7 +3527,7 @@
|
|
|
3410
3527
|
"immutable": true,
|
|
3411
3528
|
"locationInModule": {
|
|
3412
3529
|
"filename": "lib/index.ts",
|
|
3413
|
-
"line":
|
|
3530
|
+
"line": 188
|
|
3414
3531
|
},
|
|
3415
3532
|
"name": "apiGatewayCloudWatchRole",
|
|
3416
3533
|
"optional": true,
|
|
@@ -3433,20 +3550,112 @@
|
|
|
3433
3550
|
"kind": "interface",
|
|
3434
3551
|
"locationInModule": {
|
|
3435
3552
|
"filename": "lib/index.ts",
|
|
3436
|
-
"line":
|
|
3553
|
+
"line": 27
|
|
3437
3554
|
},
|
|
3438
3555
|
"name": "ApiGatewayToDynamoDBProps",
|
|
3439
3556
|
"properties": [
|
|
3557
|
+
{
|
|
3558
|
+
"abstract": true,
|
|
3559
|
+
"docs": {
|
|
3560
|
+
"default": "- None",
|
|
3561
|
+
"remarks": "Use the `createRequestTemplate` property to set the request template for the `application/json` content-type.\nThis property can only be specified if the `allowCreateOperation` property is set to true.",
|
|
3562
|
+
"summary": "Optional Create Request Templates for content-types other than `application/json`."
|
|
3563
|
+
},
|
|
3564
|
+
"immutable": true,
|
|
3565
|
+
"locationInModule": {
|
|
3566
|
+
"filename": "lib/index.ts",
|
|
3567
|
+
"line": 66
|
|
3568
|
+
},
|
|
3569
|
+
"name": "additionalCreateRequestTemplates",
|
|
3570
|
+
"optional": true,
|
|
3571
|
+
"type": {
|
|
3572
|
+
"collection": {
|
|
3573
|
+
"elementtype": {
|
|
3574
|
+
"primitive": "string"
|
|
3575
|
+
},
|
|
3576
|
+
"kind": "map"
|
|
3577
|
+
}
|
|
3578
|
+
}
|
|
3579
|
+
},
|
|
3580
|
+
{
|
|
3581
|
+
"abstract": true,
|
|
3582
|
+
"docs": {
|
|
3583
|
+
"default": "- None",
|
|
3584
|
+
"remarks": "Use the `deleteRequestTemplate` property to set the request template for the `application/json` content-type.\nThis property can only be specified if the `allowDeleteOperation` property is set to true.",
|
|
3585
|
+
"summary": "Optional Delete request templates for content-types other than `application/json`."
|
|
3586
|
+
},
|
|
3587
|
+
"immutable": true,
|
|
3588
|
+
"locationInModule": {
|
|
3589
|
+
"filename": "lib/index.ts",
|
|
3590
|
+
"line": 165
|
|
3591
|
+
},
|
|
3592
|
+
"name": "additionalDeleteRequestTemplates",
|
|
3593
|
+
"optional": true,
|
|
3594
|
+
"type": {
|
|
3595
|
+
"collection": {
|
|
3596
|
+
"elementtype": {
|
|
3597
|
+
"primitive": "string"
|
|
3598
|
+
},
|
|
3599
|
+
"kind": "map"
|
|
3600
|
+
}
|
|
3601
|
+
}
|
|
3602
|
+
},
|
|
3603
|
+
{
|
|
3604
|
+
"abstract": true,
|
|
3605
|
+
"docs": {
|
|
3606
|
+
"default": "- None",
|
|
3607
|
+
"remarks": "Use the `readRequestTemplate` property to set the request template for the `application/json` content-type.",
|
|
3608
|
+
"summary": "Optional Read Request Templates for content-types other than `application/json`."
|
|
3609
|
+
},
|
|
3610
|
+
"immutable": true,
|
|
3611
|
+
"locationInModule": {
|
|
3612
|
+
"filename": "lib/index.ts",
|
|
3613
|
+
"line": 102
|
|
3614
|
+
},
|
|
3615
|
+
"name": "additionalReadRequestTemplates",
|
|
3616
|
+
"optional": true,
|
|
3617
|
+
"type": {
|
|
3618
|
+
"collection": {
|
|
3619
|
+
"elementtype": {
|
|
3620
|
+
"primitive": "string"
|
|
3621
|
+
},
|
|
3622
|
+
"kind": "map"
|
|
3623
|
+
}
|
|
3624
|
+
}
|
|
3625
|
+
},
|
|
3626
|
+
{
|
|
3627
|
+
"abstract": true,
|
|
3628
|
+
"docs": {
|
|
3629
|
+
"default": "- None",
|
|
3630
|
+
"remarks": "Use the `updateRequestTemplate` property to set the request template for the `application/json` content-type.\nThis property can only be specified if the `allowUpdateOperation` property is set to true.",
|
|
3631
|
+
"summary": "Optional Update Request Templates for content-types other than `application/json`."
|
|
3632
|
+
},
|
|
3633
|
+
"immutable": true,
|
|
3634
|
+
"locationInModule": {
|
|
3635
|
+
"filename": "lib/index.ts",
|
|
3636
|
+
"line": 129
|
|
3637
|
+
},
|
|
3638
|
+
"name": "additionalUpdateRequestTemplates",
|
|
3639
|
+
"optional": true,
|
|
3640
|
+
"type": {
|
|
3641
|
+
"collection": {
|
|
3642
|
+
"elementtype": {
|
|
3643
|
+
"primitive": "string"
|
|
3644
|
+
},
|
|
3645
|
+
"kind": "map"
|
|
3646
|
+
}
|
|
3647
|
+
}
|
|
3648
|
+
},
|
|
3440
3649
|
{
|
|
3441
3650
|
"abstract": true,
|
|
3442
3651
|
"docs": {
|
|
3443
3652
|
"default": "- false",
|
|
3444
|
-
"summary": "Whether to deploy API Gateway Method for
|
|
3653
|
+
"summary": "Whether to deploy an API Gateway Method for POST HTTP operations on the DynamoDB table (i.e. dynamodb:PutItem)."
|
|
3445
3654
|
},
|
|
3446
3655
|
"immutable": true,
|
|
3447
3656
|
"locationInModule": {
|
|
3448
3657
|
"filename": "lib/index.ts",
|
|
3449
|
-
"line":
|
|
3658
|
+
"line": 51
|
|
3450
3659
|
},
|
|
3451
3660
|
"name": "allowCreateOperation",
|
|
3452
3661
|
"optional": true,
|
|
@@ -3458,12 +3667,12 @@
|
|
|
3458
3667
|
"abstract": true,
|
|
3459
3668
|
"docs": {
|
|
3460
3669
|
"default": "- false",
|
|
3461
|
-
"summary": "Whether to deploy API Gateway Method for
|
|
3670
|
+
"summary": "Whether to deploy API Gateway Method for DELETE HTTP operations on DynamoDB table (i.e. dynamodb:DeleteItem)."
|
|
3462
3671
|
},
|
|
3463
3672
|
"immutable": true,
|
|
3464
3673
|
"locationInModule": {
|
|
3465
3674
|
"filename": "lib/index.ts",
|
|
3466
|
-
"line":
|
|
3675
|
+
"line": 142
|
|
3467
3676
|
},
|
|
3468
3677
|
"name": "allowDeleteOperation",
|
|
3469
3678
|
"optional": true,
|
|
@@ -3475,12 +3684,12 @@
|
|
|
3475
3684
|
"abstract": true,
|
|
3476
3685
|
"docs": {
|
|
3477
3686
|
"default": "- true",
|
|
3478
|
-
"summary": "Whether to deploy API Gateway Method for
|
|
3687
|
+
"summary": "Whether to deploy an API Gateway Method for GET HTTP operations on DynamoDB table (i.e. dynamodb:Query)."
|
|
3479
3688
|
},
|
|
3480
3689
|
"immutable": true,
|
|
3481
3690
|
"locationInModule": {
|
|
3482
3691
|
"filename": "lib/index.ts",
|
|
3483
|
-
"line":
|
|
3692
|
+
"line": 79
|
|
3484
3693
|
},
|
|
3485
3694
|
"name": "allowReadOperation",
|
|
3486
3695
|
"optional": true,
|
|
@@ -3492,12 +3701,12 @@
|
|
|
3492
3701
|
"abstract": true,
|
|
3493
3702
|
"docs": {
|
|
3494
3703
|
"default": "- false",
|
|
3495
|
-
"summary": "Whether to deploy API Gateway Method for
|
|
3704
|
+
"summary": "Whether to deploy API Gateway Method for PUT HTTP operations on DynamoDB table (i.e. dynamodb:UpdateItem)."
|
|
3496
3705
|
},
|
|
3497
3706
|
"immutable": true,
|
|
3498
3707
|
"locationInModule": {
|
|
3499
3708
|
"filename": "lib/index.ts",
|
|
3500
|
-
"line":
|
|
3709
|
+
"line": 114
|
|
3501
3710
|
},
|
|
3502
3711
|
"name": "allowUpdateOperation",
|
|
3503
3712
|
"optional": true,
|
|
@@ -3514,7 +3723,7 @@
|
|
|
3514
3723
|
"immutable": true,
|
|
3515
3724
|
"locationInModule": {
|
|
3516
3725
|
"filename": "lib/index.ts",
|
|
3517
|
-
"line":
|
|
3726
|
+
"line": 45
|
|
3518
3727
|
},
|
|
3519
3728
|
"name": "apiGatewayProps",
|
|
3520
3729
|
"optional": true,
|
|
@@ -3522,16 +3731,40 @@
|
|
|
3522
3731
|
"fqn": "aws-cdk-lib.aws_apigateway.RestApiProps"
|
|
3523
3732
|
}
|
|
3524
3733
|
},
|
|
3734
|
+
{
|
|
3735
|
+
"abstract": true,
|
|
3736
|
+
"docs": {
|
|
3737
|
+
"default": "- [{statusCode:\"200\"},{statusCode:\"500\",responseTemplates:{\"text/html\":\"Error\"},selectionPattern:\"500\"}]",
|
|
3738
|
+
"remarks": "This property can only be specified if the `allowCreateOperation` property is set to true.",
|
|
3739
|
+
"summary": "Optional, custom API Gateway Integration Response for the create method."
|
|
3740
|
+
},
|
|
3741
|
+
"immutable": true,
|
|
3742
|
+
"locationInModule": {
|
|
3743
|
+
"filename": "lib/index.ts",
|
|
3744
|
+
"line": 73
|
|
3745
|
+
},
|
|
3746
|
+
"name": "createIntegrationResponses",
|
|
3747
|
+
"optional": true,
|
|
3748
|
+
"type": {
|
|
3749
|
+
"collection": {
|
|
3750
|
+
"elementtype": {
|
|
3751
|
+
"fqn": "aws-cdk-lib.aws_apigateway.IntegrationResponse"
|
|
3752
|
+
},
|
|
3753
|
+
"kind": "array"
|
|
3754
|
+
}
|
|
3755
|
+
}
|
|
3756
|
+
},
|
|
3525
3757
|
{
|
|
3526
3758
|
"abstract": true,
|
|
3527
3759
|
"docs": {
|
|
3528
3760
|
"default": "- None",
|
|
3529
|
-
"
|
|
3761
|
+
"remarks": "This property is required if the `allowCreateOperation` property is set to true.",
|
|
3762
|
+
"summary": "API Gateway Request Template for the create method for the default `application/json` content-type."
|
|
3530
3763
|
},
|
|
3531
3764
|
"immutable": true,
|
|
3532
3765
|
"locationInModule": {
|
|
3533
3766
|
"filename": "lib/index.ts",
|
|
3534
|
-
"line":
|
|
3767
|
+
"line": 58
|
|
3535
3768
|
},
|
|
3536
3769
|
"name": "createRequestTemplate",
|
|
3537
3770
|
"optional": true,
|
|
@@ -3542,14 +3775,37 @@
|
|
|
3542
3775
|
{
|
|
3543
3776
|
"abstract": true,
|
|
3544
3777
|
"docs": {
|
|
3545
|
-
"default": "-
|
|
3546
|
-
"remarks": "
|
|
3547
|
-
"summary": "Optional API Gateway
|
|
3778
|
+
"default": "- [{statusCode:\"200\"},{statusCode:\"500\",responseTemplates:{\"text/html\":\"Error\"},selectionPattern:\"500\"}]",
|
|
3779
|
+
"remarks": "This property can only be specified if the `allowDeleteOperation` property is set to true.",
|
|
3780
|
+
"summary": "Optional, custom API Gateway Integration Response for the delete method."
|
|
3781
|
+
},
|
|
3782
|
+
"immutable": true,
|
|
3783
|
+
"locationInModule": {
|
|
3784
|
+
"filename": "lib/index.ts",
|
|
3785
|
+
"line": 172
|
|
3786
|
+
},
|
|
3787
|
+
"name": "deleteIntegrationResponses",
|
|
3788
|
+
"optional": true,
|
|
3789
|
+
"type": {
|
|
3790
|
+
"collection": {
|
|
3791
|
+
"elementtype": {
|
|
3792
|
+
"fqn": "aws-cdk-lib.aws_apigateway.IntegrationResponse"
|
|
3793
|
+
},
|
|
3794
|
+
"kind": "array"
|
|
3795
|
+
}
|
|
3796
|
+
}
|
|
3797
|
+
},
|
|
3798
|
+
{
|
|
3799
|
+
"abstract": true,
|
|
3800
|
+
"docs": {
|
|
3801
|
+
"default": "- `{ \\\n\"TableName\": \"DYNAMODB_TABLE_NAME\", \\\n\"Key\": { \\\n\"${partitionKeyName}\": { \\\n \"S\": \"$input.params('PARTITION_KEY_NAME')\" \\\n } \\\n}, \\\n\"ReturnValues\": \"ALL_OLD\" \\\n}`",
|
|
3802
|
+
"remarks": "This property can only be specified if the `allowDeleteOperation` property is set to true.",
|
|
3803
|
+
"summary": "API Gateway Request Template for the delete method for the default `application/json` content-type."
|
|
3548
3804
|
},
|
|
3549
3805
|
"immutable": true,
|
|
3550
3806
|
"locationInModule": {
|
|
3551
3807
|
"filename": "lib/index.ts",
|
|
3552
|
-
"line":
|
|
3808
|
+
"line": 157
|
|
3553
3809
|
},
|
|
3554
3810
|
"name": "deleteRequestTemplate",
|
|
3555
3811
|
"optional": true,
|
|
@@ -3566,7 +3822,7 @@
|
|
|
3566
3822
|
"immutable": true,
|
|
3567
3823
|
"locationInModule": {
|
|
3568
3824
|
"filename": "lib/index.ts",
|
|
3569
|
-
"line":
|
|
3825
|
+
"line": 33
|
|
3570
3826
|
},
|
|
3571
3827
|
"name": "dynamoTableProps",
|
|
3572
3828
|
"optional": true,
|
|
@@ -3583,7 +3839,7 @@
|
|
|
3583
3839
|
"immutable": true,
|
|
3584
3840
|
"locationInModule": {
|
|
3585
3841
|
"filename": "lib/index.ts",
|
|
3586
|
-
"line":
|
|
3842
|
+
"line": 39
|
|
3587
3843
|
},
|
|
3588
3844
|
"name": "existingTableObj",
|
|
3589
3845
|
"optional": true,
|
|
@@ -3600,7 +3856,7 @@
|
|
|
3600
3856
|
"immutable": true,
|
|
3601
3857
|
"locationInModule": {
|
|
3602
3858
|
"filename": "lib/index.ts",
|
|
3603
|
-
"line":
|
|
3859
|
+
"line": 178
|
|
3604
3860
|
},
|
|
3605
3861
|
"name": "logGroupProps",
|
|
3606
3862
|
"optional": true,
|
|
@@ -3611,14 +3867,36 @@
|
|
|
3611
3867
|
{
|
|
3612
3868
|
"abstract": true,
|
|
3613
3869
|
"docs": {
|
|
3614
|
-
"default": "-
|
|
3870
|
+
"default": "- [{statusCode:\"200\"},{statusCode:\"500\",responseTemplates:{\"text/html\":\"Error\"},selectionPattern:\"500\"}]",
|
|
3871
|
+
"summary": "Optional, custom API Gateway Integration Response for the read method."
|
|
3872
|
+
},
|
|
3873
|
+
"immutable": true,
|
|
3874
|
+
"locationInModule": {
|
|
3875
|
+
"filename": "lib/index.ts",
|
|
3876
|
+
"line": 108
|
|
3877
|
+
},
|
|
3878
|
+
"name": "readIntegrationResponses",
|
|
3879
|
+
"optional": true,
|
|
3880
|
+
"type": {
|
|
3881
|
+
"collection": {
|
|
3882
|
+
"elementtype": {
|
|
3883
|
+
"fqn": "aws-cdk-lib.aws_apigateway.IntegrationResponse"
|
|
3884
|
+
},
|
|
3885
|
+
"kind": "array"
|
|
3886
|
+
}
|
|
3887
|
+
}
|
|
3888
|
+
},
|
|
3889
|
+
{
|
|
3890
|
+
"abstract": true,
|
|
3891
|
+
"docs": {
|
|
3892
|
+
"default": "- `{ \\\n\"TableName\": \"DYNAMODB_TABLE_NAME\", \\\n\"KeyConditionExpression\": \"PARTITION_KEY_NAME = :v1\", \\\n\"ExpressionAttributeValues\": { \\\n\":v1\": { \\\n \"S\": \"$input.params('PARTITION_KEY_NAME')\" \\\n} \\\n} \\\n}`",
|
|
3615
3893
|
"remarks": "The default template only supports a partition key and not partition + sort keys.",
|
|
3616
|
-
"summary": "
|
|
3894
|
+
"summary": "API Gateway Request Template for the read method for the default `application/json` content-type."
|
|
3617
3895
|
},
|
|
3618
3896
|
"immutable": true,
|
|
3619
3897
|
"locationInModule": {
|
|
3620
3898
|
"filename": "lib/index.ts",
|
|
3621
|
-
"line":
|
|
3899
|
+
"line": 95
|
|
3622
3900
|
},
|
|
3623
3901
|
"name": "readRequestTemplate",
|
|
3624
3902
|
"optional": true,
|
|
@@ -3626,16 +3904,40 @@
|
|
|
3626
3904
|
"primitive": "string"
|
|
3627
3905
|
}
|
|
3628
3906
|
},
|
|
3907
|
+
{
|
|
3908
|
+
"abstract": true,
|
|
3909
|
+
"docs": {
|
|
3910
|
+
"default": "- [{statusCode:\"200\"},{statusCode:\"500\",responseTemplates:{\"text/html\":\"Error\"},selectionPattern:\"500\"}]",
|
|
3911
|
+
"remarks": "This property can only be specified if the `allowUpdateOperation` property is set to true.",
|
|
3912
|
+
"summary": "Optional, custom API Gateway Integration Response for the update method."
|
|
3913
|
+
},
|
|
3914
|
+
"immutable": true,
|
|
3915
|
+
"locationInModule": {
|
|
3916
|
+
"filename": "lib/index.ts",
|
|
3917
|
+
"line": 136
|
|
3918
|
+
},
|
|
3919
|
+
"name": "updateIntegrationResponses",
|
|
3920
|
+
"optional": true,
|
|
3921
|
+
"type": {
|
|
3922
|
+
"collection": {
|
|
3923
|
+
"elementtype": {
|
|
3924
|
+
"fqn": "aws-cdk-lib.aws_apigateway.IntegrationResponse"
|
|
3925
|
+
},
|
|
3926
|
+
"kind": "array"
|
|
3927
|
+
}
|
|
3928
|
+
}
|
|
3929
|
+
},
|
|
3629
3930
|
{
|
|
3630
3931
|
"abstract": true,
|
|
3631
3932
|
"docs": {
|
|
3632
3933
|
"default": "- None",
|
|
3633
|
-
"
|
|
3934
|
+
"remarks": "This property is required if the `allowUpdateOperation` property is set to true.",
|
|
3935
|
+
"summary": "API Gateway Request Template for the update method."
|
|
3634
3936
|
},
|
|
3635
3937
|
"immutable": true,
|
|
3636
3938
|
"locationInModule": {
|
|
3637
3939
|
"filename": "lib/index.ts",
|
|
3638
|
-
"line":
|
|
3940
|
+
"line": 121
|
|
3639
3941
|
},
|
|
3640
3942
|
"name": "updateRequestTemplate",
|
|
3641
3943
|
"optional": true,
|
|
@@ -3647,6 +3949,6 @@
|
|
|
3647
3949
|
"symbolId": "lib/index:ApiGatewayToDynamoDBProps"
|
|
3648
3950
|
}
|
|
3649
3951
|
},
|
|
3650
|
-
"version": "2.
|
|
3651
|
-
"fingerprint": "
|
|
3952
|
+
"version": "2.31.0",
|
|
3953
|
+
"fingerprint": "JwhhHb8j0plu9esMqqJyGYwBhnnQge8RgjU3cpIv1pI="
|
|
3652
3954
|
}
|