@aws-solutions-constructs/aws-apigateway-dynamodb 2.61.0 → 2.63.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.
Files changed (22) hide show
  1. package/.jsii +128 -27
  2. package/README.md +4 -0
  3. package/lib/index.d.ts +76 -0
  4. package/lib/index.js +15 -7
  5. package/package.json +6 -6
  6. package/test/apigateway-dynamodb.test.js +102 -1
  7. package/test/integ.apiddb-additional-request-templates-custom-resource-name.js +2 -2
  8. package/test/integ.apiddb-additional-request-templates.js +2 -2
  9. package/test/integ.apiddb-apigateway-dynamodb-CRUD.js +2 -2
  10. package/test/integ.apiddb-apigateway-dynamodb-existing-table.js +2 -2
  11. package/test/integ.apiddb-custom-integration-responses.js +2 -2
  12. package/test/integ.apiddb-custom-method-response.d.ts +13 -0
  13. package/test/integ.apiddb-custom-method-response.js +63 -0
  14. package/test/integ.apiddb-custom-method-response.js.snapshot/apiddb-custom-method-response.assets.json +19 -0
  15. package/test/integ.apiddb-custom-method-response.js.snapshot/apiddb-custom-method-response.template.json +489 -0
  16. package/test/integ.apiddb-custom-method-response.js.snapshot/apiddbcustommethodresponseIntegDefaultTestDeployAssertAC6F68EC.assets.json +19 -0
  17. package/test/integ.apiddb-custom-method-response.js.snapshot/apiddbcustommethodresponseIntegDefaultTestDeployAssertAC6F68EC.template.json +36 -0
  18. package/test/integ.apiddb-custom-method-response.js.snapshot/cdk.out +1 -0
  19. package/test/integ.apiddb-custom-method-response.js.snapshot/integ.json +12 -0
  20. package/test/integ.apiddb-custom-method-response.js.snapshot/manifest.json +191 -0
  21. package/test/integ.apiddb-custom-method-response.js.snapshot/tree.json +764 -0
  22. package/test/integ.apiddb-no-arguments.js +2 -2
@@ -0,0 +1,191 @@
1
+ {
2
+ "version": "36.0.0",
3
+ "artifacts": {
4
+ "apiddbcustommethodresponseIntegDefaultTestDeployAssertAC6F68EC.assets": {
5
+ "type": "cdk:asset-manifest",
6
+ "properties": {
7
+ "file": "apiddbcustommethodresponseIntegDefaultTestDeployAssertAC6F68EC.assets.json",
8
+ "requiresBootstrapStackVersion": 6,
9
+ "bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version"
10
+ }
11
+ },
12
+ "apiddbcustommethodresponseIntegDefaultTestDeployAssertAC6F68EC": {
13
+ "type": "aws:cloudformation:stack",
14
+ "environment": "aws://unknown-account/unknown-region",
15
+ "properties": {
16
+ "templateFile": "apiddbcustommethodresponseIntegDefaultTestDeployAssertAC6F68EC.template.json",
17
+ "terminationProtection": false,
18
+ "validateOnSynth": false,
19
+ "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-deploy-role-${AWS::AccountId}-${AWS::Region}",
20
+ "cloudFormationExecutionRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-cfn-exec-role-${AWS::AccountId}-${AWS::Region}",
21
+ "stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/21fbb51d7b23f6a6c262b46a9caee79d744a3ac019fd45422d988b96d44b2a22.json",
22
+ "requiresBootstrapStackVersion": 6,
23
+ "bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version",
24
+ "additionalDependencies": [
25
+ "apiddbcustommethodresponseIntegDefaultTestDeployAssertAC6F68EC.assets"
26
+ ],
27
+ "lookupRole": {
28
+ "arn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-lookup-role-${AWS::AccountId}-${AWS::Region}",
29
+ "requiresBootstrapStackVersion": 8,
30
+ "bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version"
31
+ }
32
+ },
33
+ "dependencies": [
34
+ "apiddbcustommethodresponseIntegDefaultTestDeployAssertAC6F68EC.assets"
35
+ ],
36
+ "metadata": {
37
+ "/apiddb-custom-method-response/Integ/DefaultTest/DeployAssert/BootstrapVersion": [
38
+ {
39
+ "type": "aws:cdk:logicalId",
40
+ "data": "BootstrapVersion"
41
+ }
42
+ ],
43
+ "/apiddb-custom-method-response/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion": [
44
+ {
45
+ "type": "aws:cdk:logicalId",
46
+ "data": "CheckBootstrapVersion"
47
+ }
48
+ ]
49
+ },
50
+ "displayName": "apiddb-custom-method-response/Integ/DefaultTest/DeployAssert"
51
+ },
52
+ "apiddb-custom-method-response.assets": {
53
+ "type": "cdk:asset-manifest",
54
+ "properties": {
55
+ "file": "apiddb-custom-method-response.assets.json",
56
+ "requiresBootstrapStackVersion": 6,
57
+ "bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version"
58
+ }
59
+ },
60
+ "apiddb-custom-method-response": {
61
+ "type": "aws:cloudformation:stack",
62
+ "environment": "aws://unknown-account/unknown-region",
63
+ "properties": {
64
+ "templateFile": "apiddb-custom-method-response.template.json",
65
+ "terminationProtection": false,
66
+ "validateOnSynth": false,
67
+ "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-deploy-role-${AWS::AccountId}-${AWS::Region}",
68
+ "cloudFormationExecutionRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-cfn-exec-role-${AWS::AccountId}-${AWS::Region}",
69
+ "stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/7913a7050e5c393d80027306c7e295d8910401b542b654afce863313ba52d253.json",
70
+ "requiresBootstrapStackVersion": 6,
71
+ "bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version",
72
+ "additionalDependencies": [
73
+ "apiddb-custom-method-response.assets"
74
+ ],
75
+ "lookupRole": {
76
+ "arn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-lookup-role-${AWS::AccountId}-${AWS::Region}",
77
+ "requiresBootstrapStackVersion": 8,
78
+ "bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version"
79
+ }
80
+ },
81
+ "dependencies": [
82
+ "apiddb-custom-method-response.assets"
83
+ ],
84
+ "metadata": {
85
+ "/apiddb-custom-method-response/existing-table/Resource": [
86
+ {
87
+ "type": "aws:cdk:logicalId",
88
+ "data": "existingtableE51CCC93"
89
+ }
90
+ ],
91
+ "/apiddb-custom-method-response/test-api-gateway-dynamodb-additional-request-templates/ApiAccessLogGroup/Resource": [
92
+ {
93
+ "type": "aws:cdk:logicalId",
94
+ "data": "testapigatewaydynamodbadditionalrequesttemplatesApiAccessLogGroupAF75D750"
95
+ }
96
+ ],
97
+ "/apiddb-custom-method-response/test-api-gateway-dynamodb-additional-request-templates/RestApi/Resource": [
98
+ {
99
+ "type": "aws:cdk:logicalId",
100
+ "data": "testapigatewaydynamodbadditionalrequesttemplatesRestApi03F6484C"
101
+ }
102
+ ],
103
+ "/apiddb-custom-method-response/test-api-gateway-dynamodb-additional-request-templates/RestApi/Deployment/Resource": [
104
+ {
105
+ "type": "aws:cdk:logicalId",
106
+ "data": "testapigatewaydynamodbadditionalrequesttemplatesRestApiDeployment0AE7C47799d5eb6ebbe5fc8402f3118bd7d77b35"
107
+ }
108
+ ],
109
+ "/apiddb-custom-method-response/test-api-gateway-dynamodb-additional-request-templates/RestApi/DeploymentStage.prod/Resource": [
110
+ {
111
+ "type": "aws:cdk:logicalId",
112
+ "data": "testapigatewaydynamodbadditionalrequesttemplatesRestApiDeploymentStageprod33ED5D23"
113
+ }
114
+ ],
115
+ "/apiddb-custom-method-response/test-api-gateway-dynamodb-additional-request-templates/RestApi/Endpoint": [
116
+ {
117
+ "type": "aws:cdk:logicalId",
118
+ "data": "testapigatewaydynamodbadditionalrequesttemplatesRestApiEndpoint855E7762"
119
+ }
120
+ ],
121
+ "/apiddb-custom-method-response/test-api-gateway-dynamodb-additional-request-templates/RestApi/Default/{id}/Resource": [
122
+ {
123
+ "type": "aws:cdk:logicalId",
124
+ "data": "testapigatewaydynamodbadditionalrequesttemplatesRestApiidA77CCE90"
125
+ }
126
+ ],
127
+ "/apiddb-custom-method-response/test-api-gateway-dynamodb-additional-request-templates/RestApi/Default/{id}/GET/Resource": [
128
+ {
129
+ "type": "aws:cdk:logicalId",
130
+ "data": "testapigatewaydynamodbadditionalrequesttemplatesRestApiidGET05129D15"
131
+ }
132
+ ],
133
+ "/apiddb-custom-method-response/test-api-gateway-dynamodb-additional-request-templates/RestApi/Default/{id}/DELETE/Resource": [
134
+ {
135
+ "type": "aws:cdk:logicalId",
136
+ "data": "testapigatewaydynamodbadditionalrequesttemplatesRestApiidDELETEF6A7D04D"
137
+ }
138
+ ],
139
+ "/apiddb-custom-method-response/test-api-gateway-dynamodb-additional-request-templates/RestApi/UsagePlan/Resource": [
140
+ {
141
+ "type": "aws:cdk:logicalId",
142
+ "data": "testapigatewaydynamodbadditionalrequesttemplatesRestApiUsagePlan905D10C7"
143
+ }
144
+ ],
145
+ "/apiddb-custom-method-response/test-api-gateway-dynamodb-additional-request-templates/LambdaRestApiCloudWatchRole/Resource": [
146
+ {
147
+ "type": "aws:cdk:logicalId",
148
+ "data": "testapigatewaydynamodbadditionalrequesttemplatesLambdaRestApiCloudWatchRole51265771"
149
+ }
150
+ ],
151
+ "/apiddb-custom-method-response/test-api-gateway-dynamodb-additional-request-templates/LambdaRestApiAccount": [
152
+ {
153
+ "type": "aws:cdk:logicalId",
154
+ "data": "testapigatewaydynamodbadditionalrequesttemplatesLambdaRestApiAccount8891474D"
155
+ }
156
+ ],
157
+ "/apiddb-custom-method-response/test-api-gateway-dynamodb-additional-request-templates/api-gateway-role/Resource": [
158
+ {
159
+ "type": "aws:cdk:logicalId",
160
+ "data": "testapigatewaydynamodbadditionalrequesttemplatesapigatewayroleFDAECAC6"
161
+ }
162
+ ],
163
+ "/apiddb-custom-method-response/test-api-gateway-dynamodb-additional-request-templates/api-gateway-role/DefaultPolicy/Resource": [
164
+ {
165
+ "type": "aws:cdk:logicalId",
166
+ "data": "testapigatewaydynamodbadditionalrequesttemplatesapigatewayroleDefaultPolicy4C47B35E"
167
+ }
168
+ ],
169
+ "/apiddb-custom-method-response/BootstrapVersion": [
170
+ {
171
+ "type": "aws:cdk:logicalId",
172
+ "data": "BootstrapVersion"
173
+ }
174
+ ],
175
+ "/apiddb-custom-method-response/CheckBootstrapVersion": [
176
+ {
177
+ "type": "aws:cdk:logicalId",
178
+ "data": "CheckBootstrapVersion"
179
+ }
180
+ ]
181
+ },
182
+ "displayName": "apiddb-custom-method-response"
183
+ },
184
+ "Tree": {
185
+ "type": "cdk:tree",
186
+ "properties": {
187
+ "file": "tree.json"
188
+ }
189
+ }
190
+ }
191
+ }