@aws-solutions-constructs/aws-lambda-dynamodb 2.79.1 → 2.81.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 +43 -43
- package/lib/index.js +1 -1
- package/package.json +6 -6
- package/test/integ.lamddb-add-secondary-index.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js +21 -0
- package/test/integ.lamddb-add-secondary-index.js.snapshot/cdk.out +1 -1
- package/test/integ.lamddb-add-secondary-index.js.snapshot/integ.json +1 -1
- package/test/integ.lamddb-add-secondary-index.js.snapshot/lamddb-add-secondary-index.assets.json +6 -6
- package/test/integ.lamddb-add-secondary-index.js.snapshot/lamddb-add-secondary-index.template.json +25 -19
- package/test/integ.lamddb-add-secondary-index.js.snapshot/lamddbaddsecondaryindexIntegDefaultTestDeployAssert3193B4D9.assets.json +1 -1
- package/test/integ.lamddb-add-secondary-index.js.snapshot/manifest.json +197 -3
- package/test/integ.lamddb-add-secondary-index.js.snapshot/tree.json +1 -415
- package/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/cdk.out +1 -1
- package/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/integ.json +1 -1
- package/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/lamddb-deployFunctionWithExistingVpc.assets.json +3 -3
- package/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/lamddb-deployFunctionWithExistingVpc.template.json +35 -7
- package/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/lamddbdeployFunctionWithExistingVpcIntegDefaultTestDeployAssertEE08E38E.assets.json +1 -1
- package/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/manifest.json +476 -3
- package/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/tree.json +1 -1386
- package/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/cdk.out +1 -1
- package/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/integ.json +1 -1
- package/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/lamddb-deployFunctionWithVpc.assets.json +3 -3
- package/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/lamddb-deployFunctionWithVpc.template.json +33 -7
- package/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/lamddbdeployFunctionWithVpcIntegDefaultTestDeployAssert0AB8275C.assets.json +1 -1
- package/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/manifest.json +404 -3
- package/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/tree.json +1 -968
- package/test/integ.lamddb-no-arguments.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js +21 -0
- package/test/integ.lamddb-no-arguments.js.snapshot/cdk.out +1 -1
- package/test/integ.lamddb-no-arguments.js.snapshot/integ.json +1 -1
- package/test/integ.lamddb-no-arguments.js.snapshot/lamddb-no-arguments.assets.json +6 -6
- package/test/integ.lamddb-no-arguments.js.snapshot/lamddb-no-arguments.template.json +25 -19
- package/test/integ.lamddb-no-arguments.js.snapshot/lamddbnoargumentsIntegDefaultTestDeployAssert248B75D0.assets.json +1 -1
- package/test/integ.lamddb-no-arguments.js.snapshot/manifest.json +183 -3
- package/test/integ.lamddb-no-arguments.js.snapshot/tree.json +1 -386
- package/test/integ.lamddb-set-billing-mode.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js +21 -0
- package/test/integ.lamddb-set-billing-mode.js.snapshot/cdk.out +1 -1
- package/test/integ.lamddb-set-billing-mode.js.snapshot/integ.json +1 -1
- package/test/integ.lamddb-set-billing-mode.js.snapshot/lamddb-set-billing-mode.assets.json +6 -6
- package/test/integ.lamddb-set-billing-mode.js.snapshot/lamddb-set-billing-mode.template.json +25 -19
- package/test/integ.lamddb-set-billing-mode.js.snapshot/lamddbsetbillingmodeIntegDefaultTestDeployAssertDAE32272.assets.json +1 -1
- package/test/integ.lamddb-set-billing-mode.js.snapshot/manifest.json +185 -3
- package/test/integ.lamddb-set-billing-mode.js.snapshot/tree.json +1 -389
- package/test/integ.lamddb-use-existing-func.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js +21 -0
- package/test/integ.lamddb-use-existing-func.js.snapshot/cdk.out +1 -1
- package/test/integ.lamddb-use-existing-func.js.snapshot/integ.json +1 -1
- package/test/integ.lamddb-use-existing-func.js.snapshot/lamddb-use-existing-func.assets.json +6 -6
- package/test/integ.lamddb-use-existing-func.js.snapshot/lamddb-use-existing-func.template.json +25 -19
- package/test/integ.lamddb-use-existing-func.js.snapshot/lamddbuseexistingfuncIntegDefaultTestDeployAssert48D284DD.assets.json +1 -1
- package/test/integ.lamddb-use-existing-func.js.snapshot/manifest.json +183 -3
- package/test/integ.lamddb-use-existing-func.js.snapshot/tree.json +1 -386
- package/test/integ.lamddb-add-secondary-index.js.snapshot/asset.0c3255e93ffe7a906c7422e9f0e9cc4c7fd86ee996ee3bb302e2f134b38463c8/index.js +0 -8
- package/test/integ.lamddb-no-arguments.js.snapshot/asset.0c3255e93ffe7a906c7422e9f0e9cc4c7fd86ee996ee3bb302e2f134b38463c8/index.js +0 -8
- package/test/integ.lamddb-set-billing-mode.js.snapshot/asset.0c3255e93ffe7a906c7422e9f0e9cc4c7fd86ee996ee3bb302e2f134b38463c8/index.js +0 -8
- package/test/integ.lamddb-use-existing-func.js.snapshot/asset.0c3255e93ffe7a906c7422e9f0e9cc4c7fd86ee996ee3bb302e2f134b38463c8/index.js +0 -8
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "
|
|
2
|
+
"version": "42.0.0",
|
|
3
3
|
"artifacts": {
|
|
4
4
|
"lamddbsetbillingmodeIntegDefaultTestDeployAssertDAE32272.assets": {
|
|
5
5
|
"type": "cdk:asset-manifest",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"validateOnSynth": false,
|
|
67
67
|
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-deploy-role-${AWS::AccountId}-${AWS::Region}",
|
|
68
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}/
|
|
69
|
+
"stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/4523ea9c5043eeeece834e81a14df946c778c1885217c9c133588f0706b592cd.json",
|
|
70
70
|
"requiresBootstrapStackVersion": 6,
|
|
71
71
|
"bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version",
|
|
72
72
|
"additionalDependencies": [
|
|
@@ -82,30 +82,211 @@
|
|
|
82
82
|
"lamddb-set-billing-mode.assets"
|
|
83
83
|
],
|
|
84
84
|
"metadata": {
|
|
85
|
+
"/lamddb-set-billing-mode/test-lambda-dynamodb-stack/LambdaFunctionServiceRole": [
|
|
86
|
+
{
|
|
87
|
+
"type": "aws:cdk:analytics:construct",
|
|
88
|
+
"data": {
|
|
89
|
+
"assumedBy": {
|
|
90
|
+
"principalAccount": "*",
|
|
91
|
+
"assumeRoleAction": "*"
|
|
92
|
+
},
|
|
93
|
+
"inlinePolicies": "*"
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"type": "aws:cdk:analytics:method",
|
|
98
|
+
"data": {
|
|
99
|
+
"attachInlinePolicy": [
|
|
100
|
+
"*"
|
|
101
|
+
]
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"type": "aws:cdk:analytics:method",
|
|
106
|
+
"data": {
|
|
107
|
+
"attachInlinePolicy": [
|
|
108
|
+
"*"
|
|
109
|
+
]
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"type": "aws:cdk:analytics:method",
|
|
114
|
+
"data": {
|
|
115
|
+
"addToPrincipalPolicy": [
|
|
116
|
+
{}
|
|
117
|
+
]
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"type": "aws:cdk:analytics:method",
|
|
122
|
+
"data": {
|
|
123
|
+
"attachInlinePolicy": [
|
|
124
|
+
"*"
|
|
125
|
+
]
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"type": "aws:cdk:analytics:method",
|
|
130
|
+
"data": {
|
|
131
|
+
"attachInlinePolicy": [
|
|
132
|
+
"*"
|
|
133
|
+
]
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
],
|
|
137
|
+
"/lamddb-set-billing-mode/test-lambda-dynamodb-stack/LambdaFunctionServiceRole/ImportLambdaFunctionServiceRole": [
|
|
138
|
+
{
|
|
139
|
+
"type": "aws:cdk:analytics:construct",
|
|
140
|
+
"data": "*"
|
|
141
|
+
}
|
|
142
|
+
],
|
|
85
143
|
"/lamddb-set-billing-mode/test-lambda-dynamodb-stack/LambdaFunctionServiceRole/Resource": [
|
|
86
144
|
{
|
|
87
145
|
"type": "aws:cdk:logicalId",
|
|
88
146
|
"data": "testlambdadynamodbstackLambdaFunctionServiceRole758347A1"
|
|
89
147
|
}
|
|
90
148
|
],
|
|
149
|
+
"/lamddb-set-billing-mode/test-lambda-dynamodb-stack/LambdaFunctionServiceRole/DefaultPolicy": [
|
|
150
|
+
{
|
|
151
|
+
"type": "aws:cdk:analytics:construct",
|
|
152
|
+
"data": "*"
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"type": "aws:cdk:analytics:method",
|
|
156
|
+
"data": {
|
|
157
|
+
"attachToRole": [
|
|
158
|
+
"*"
|
|
159
|
+
]
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"type": "aws:cdk:analytics:method",
|
|
164
|
+
"data": {
|
|
165
|
+
"attachToRole": [
|
|
166
|
+
"*"
|
|
167
|
+
]
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"type": "aws:cdk:analytics:method",
|
|
172
|
+
"data": {
|
|
173
|
+
"addStatements": [
|
|
174
|
+
{}
|
|
175
|
+
]
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
],
|
|
91
179
|
"/lamddb-set-billing-mode/test-lambda-dynamodb-stack/LambdaFunctionServiceRole/DefaultPolicy/Resource": [
|
|
92
180
|
{
|
|
93
181
|
"type": "aws:cdk:logicalId",
|
|
94
182
|
"data": "testlambdadynamodbstackLambdaFunctionServiceRoleDefaultPolicy547FB7F4"
|
|
95
183
|
}
|
|
96
184
|
],
|
|
185
|
+
"/lamddb-set-billing-mode/test-lambda-dynamodb-stack/LambdaFunction": [
|
|
186
|
+
{
|
|
187
|
+
"type": "aws:cdk:analytics:construct",
|
|
188
|
+
"data": {
|
|
189
|
+
"role": "*",
|
|
190
|
+
"tracing": "Active",
|
|
191
|
+
"code": "*",
|
|
192
|
+
"runtime": "*",
|
|
193
|
+
"handler": "*"
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"type": "aws:cdk:analytics:method",
|
|
198
|
+
"data": {
|
|
199
|
+
"addEnvironment": [
|
|
200
|
+
"*",
|
|
201
|
+
"*",
|
|
202
|
+
{
|
|
203
|
+
"removeInEdge": true
|
|
204
|
+
}
|
|
205
|
+
]
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"type": "aws:cdk:analytics:method",
|
|
210
|
+
"data": {
|
|
211
|
+
"addEnvironment": [
|
|
212
|
+
"*",
|
|
213
|
+
"*"
|
|
214
|
+
]
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
],
|
|
97
218
|
"/lamddb-set-billing-mode/test-lambda-dynamodb-stack/LambdaFunction/Resource": [
|
|
98
219
|
{
|
|
99
220
|
"type": "aws:cdk:logicalId",
|
|
100
221
|
"data": "testlambdadynamodbstackLambdaFunction5DDB3E8D"
|
|
101
222
|
}
|
|
102
223
|
],
|
|
224
|
+
"/lamddb-set-billing-mode/test-lambda-dynamodb-stack/LambdaFunction/inlinePolicyAddedToExecutionRole-0": [
|
|
225
|
+
{
|
|
226
|
+
"type": "aws:cdk:analytics:construct",
|
|
227
|
+
"data": {
|
|
228
|
+
"statements": "*"
|
|
229
|
+
}
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"type": "aws:cdk:analytics:method",
|
|
233
|
+
"data": {
|
|
234
|
+
"addStatements": [
|
|
235
|
+
{}
|
|
236
|
+
]
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
"type": "aws:cdk:analytics:method",
|
|
241
|
+
"data": {
|
|
242
|
+
"attachToRole": [
|
|
243
|
+
"*"
|
|
244
|
+
]
|
|
245
|
+
}
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"type": "aws:cdk:analytics:method",
|
|
249
|
+
"data": {
|
|
250
|
+
"attachToRole": [
|
|
251
|
+
"*"
|
|
252
|
+
]
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
],
|
|
256
|
+
"/lamddb-set-billing-mode/test-lambda-dynamodb-stack/LambdaFunction/inlinePolicyAddedToExecutionRole-0/Resource": [
|
|
257
|
+
{
|
|
258
|
+
"type": "aws:cdk:logicalId",
|
|
259
|
+
"data": "testlambdadynamodbstackLambdaFunctioninlinePolicyAddedToExecutionRole019E2DE85"
|
|
260
|
+
}
|
|
261
|
+
],
|
|
262
|
+
"/lamddb-set-billing-mode/test-lambda-dynamodb-stack/DynamoTable": [
|
|
263
|
+
{
|
|
264
|
+
"type": "aws:cdk:analytics:construct",
|
|
265
|
+
"data": {
|
|
266
|
+
"billingMode": "PROVISIONED",
|
|
267
|
+
"encryption": "AWS_MANAGED",
|
|
268
|
+
"pointInTimeRecovery": true,
|
|
269
|
+
"partitionKey": {
|
|
270
|
+
"name": "*",
|
|
271
|
+
"type": "S"
|
|
272
|
+
},
|
|
273
|
+
"readCapacity": "*",
|
|
274
|
+
"writeCapacity": "*"
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
],
|
|
103
278
|
"/lamddb-set-billing-mode/test-lambda-dynamodb-stack/DynamoTable/Resource": [
|
|
104
279
|
{
|
|
105
280
|
"type": "aws:cdk:logicalId",
|
|
106
281
|
"data": "testlambdadynamodbstackDynamoTable8138E93B"
|
|
107
282
|
}
|
|
108
283
|
],
|
|
284
|
+
"/lamddb-set-billing-mode/test-lambda-dynamodb-stack/DynamoTable/ScalingRole": [
|
|
285
|
+
{
|
|
286
|
+
"type": "aws:cdk:analytics:construct",
|
|
287
|
+
"data": "*"
|
|
288
|
+
}
|
|
289
|
+
],
|
|
109
290
|
"/lamddb-set-billing-mode/BootstrapVersion": [
|
|
110
291
|
{
|
|
111
292
|
"type": "aws:cdk:logicalId",
|
|
@@ -127,5 +308,6 @@
|
|
|
127
308
|
"file": "tree.json"
|
|
128
309
|
}
|
|
129
310
|
}
|
|
130
|
-
}
|
|
311
|
+
},
|
|
312
|
+
"minimumCliVersion": "2.1006.0"
|
|
131
313
|
}
|
|
@@ -1,389 +1 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": "tree-0.1",
|
|
3
|
-
"tree": {
|
|
4
|
-
"id": "App",
|
|
5
|
-
"path": "",
|
|
6
|
-
"children": {
|
|
7
|
-
"lamddb-set-billing-mode": {
|
|
8
|
-
"id": "lamddb-set-billing-mode",
|
|
9
|
-
"path": "lamddb-set-billing-mode",
|
|
10
|
-
"children": {
|
|
11
|
-
"test-lambda-dynamodb-stack": {
|
|
12
|
-
"id": "test-lambda-dynamodb-stack",
|
|
13
|
-
"path": "lamddb-set-billing-mode/test-lambda-dynamodb-stack",
|
|
14
|
-
"children": {
|
|
15
|
-
"LambdaFunctionServiceRole": {
|
|
16
|
-
"id": "LambdaFunctionServiceRole",
|
|
17
|
-
"path": "lamddb-set-billing-mode/test-lambda-dynamodb-stack/LambdaFunctionServiceRole",
|
|
18
|
-
"children": {
|
|
19
|
-
"ImportLambdaFunctionServiceRole": {
|
|
20
|
-
"id": "ImportLambdaFunctionServiceRole",
|
|
21
|
-
"path": "lamddb-set-billing-mode/test-lambda-dynamodb-stack/LambdaFunctionServiceRole/ImportLambdaFunctionServiceRole",
|
|
22
|
-
"constructInfo": {
|
|
23
|
-
"fqn": "aws-cdk-lib.Resource",
|
|
24
|
-
"version": "2.150.0"
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
"Resource": {
|
|
28
|
-
"id": "Resource",
|
|
29
|
-
"path": "lamddb-set-billing-mode/test-lambda-dynamodb-stack/LambdaFunctionServiceRole/Resource",
|
|
30
|
-
"attributes": {
|
|
31
|
-
"aws:cdk:cloudformation:type": "AWS::IAM::Role",
|
|
32
|
-
"aws:cdk:cloudformation:props": {
|
|
33
|
-
"assumeRolePolicyDocument": {
|
|
34
|
-
"Statement": [
|
|
35
|
-
{
|
|
36
|
-
"Action": "sts:AssumeRole",
|
|
37
|
-
"Effect": "Allow",
|
|
38
|
-
"Principal": {
|
|
39
|
-
"Service": "lambda.amazonaws.com"
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
],
|
|
43
|
-
"Version": "2012-10-17"
|
|
44
|
-
},
|
|
45
|
-
"policies": [
|
|
46
|
-
{
|
|
47
|
-
"policyName": "LambdaFunctionServiceRolePolicy",
|
|
48
|
-
"policyDocument": {
|
|
49
|
-
"Statement": [
|
|
50
|
-
{
|
|
51
|
-
"Action": [
|
|
52
|
-
"logs:CreateLogGroup",
|
|
53
|
-
"logs:CreateLogStream",
|
|
54
|
-
"logs:PutLogEvents"
|
|
55
|
-
],
|
|
56
|
-
"Effect": "Allow",
|
|
57
|
-
"Resource": {
|
|
58
|
-
"Fn::Join": [
|
|
59
|
-
"",
|
|
60
|
-
[
|
|
61
|
-
"arn:",
|
|
62
|
-
{
|
|
63
|
-
"Ref": "AWS::Partition"
|
|
64
|
-
},
|
|
65
|
-
":logs:",
|
|
66
|
-
{
|
|
67
|
-
"Ref": "AWS::Region"
|
|
68
|
-
},
|
|
69
|
-
":",
|
|
70
|
-
{
|
|
71
|
-
"Ref": "AWS::AccountId"
|
|
72
|
-
},
|
|
73
|
-
":log-group:/aws/lambda/*"
|
|
74
|
-
]
|
|
75
|
-
]
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
],
|
|
79
|
-
"Version": "2012-10-17"
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
]
|
|
83
|
-
}
|
|
84
|
-
},
|
|
85
|
-
"constructInfo": {
|
|
86
|
-
"fqn": "aws-cdk-lib.aws_iam.CfnRole",
|
|
87
|
-
"version": "2.150.0"
|
|
88
|
-
}
|
|
89
|
-
},
|
|
90
|
-
"DefaultPolicy": {
|
|
91
|
-
"id": "DefaultPolicy",
|
|
92
|
-
"path": "lamddb-set-billing-mode/test-lambda-dynamodb-stack/LambdaFunctionServiceRole/DefaultPolicy",
|
|
93
|
-
"children": {
|
|
94
|
-
"Resource": {
|
|
95
|
-
"id": "Resource",
|
|
96
|
-
"path": "lamddb-set-billing-mode/test-lambda-dynamodb-stack/LambdaFunctionServiceRole/DefaultPolicy/Resource",
|
|
97
|
-
"attributes": {
|
|
98
|
-
"aws:cdk:cloudformation:type": "AWS::IAM::Policy",
|
|
99
|
-
"aws:cdk:cloudformation:props": {
|
|
100
|
-
"policyDocument": {
|
|
101
|
-
"Statement": [
|
|
102
|
-
{
|
|
103
|
-
"Action": [
|
|
104
|
-
"xray:PutTelemetryRecords",
|
|
105
|
-
"xray:PutTraceSegments"
|
|
106
|
-
],
|
|
107
|
-
"Effect": "Allow",
|
|
108
|
-
"Resource": "*"
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
"Action": [
|
|
112
|
-
"dynamodb:BatchGetItem",
|
|
113
|
-
"dynamodb:BatchWriteItem",
|
|
114
|
-
"dynamodb:ConditionCheckItem",
|
|
115
|
-
"dynamodb:DeleteItem",
|
|
116
|
-
"dynamodb:DescribeTable",
|
|
117
|
-
"dynamodb:GetItem",
|
|
118
|
-
"dynamodb:GetRecords",
|
|
119
|
-
"dynamodb:GetShardIterator",
|
|
120
|
-
"dynamodb:PutItem",
|
|
121
|
-
"dynamodb:Query",
|
|
122
|
-
"dynamodb:Scan",
|
|
123
|
-
"dynamodb:UpdateItem"
|
|
124
|
-
],
|
|
125
|
-
"Effect": "Allow",
|
|
126
|
-
"Resource": [
|
|
127
|
-
{
|
|
128
|
-
"Fn::GetAtt": [
|
|
129
|
-
"testlambdadynamodbstackDynamoTable8138E93B",
|
|
130
|
-
"Arn"
|
|
131
|
-
]
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
"Ref": "AWS::NoValue"
|
|
135
|
-
}
|
|
136
|
-
]
|
|
137
|
-
}
|
|
138
|
-
],
|
|
139
|
-
"Version": "2012-10-17"
|
|
140
|
-
},
|
|
141
|
-
"policyName": "testlambdadynamodbstackLambdaFunctionServiceRoleDefaultPolicy547FB7F4",
|
|
142
|
-
"roles": [
|
|
143
|
-
{
|
|
144
|
-
"Ref": "testlambdadynamodbstackLambdaFunctionServiceRole758347A1"
|
|
145
|
-
}
|
|
146
|
-
]
|
|
147
|
-
}
|
|
148
|
-
},
|
|
149
|
-
"constructInfo": {
|
|
150
|
-
"fqn": "aws-cdk-lib.aws_iam.CfnPolicy",
|
|
151
|
-
"version": "2.150.0"
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
},
|
|
155
|
-
"constructInfo": {
|
|
156
|
-
"fqn": "aws-cdk-lib.aws_iam.Policy",
|
|
157
|
-
"version": "2.150.0"
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
},
|
|
161
|
-
"constructInfo": {
|
|
162
|
-
"fqn": "aws-cdk-lib.aws_iam.Role",
|
|
163
|
-
"version": "2.150.0"
|
|
164
|
-
}
|
|
165
|
-
},
|
|
166
|
-
"LambdaFunction": {
|
|
167
|
-
"id": "LambdaFunction",
|
|
168
|
-
"path": "lamddb-set-billing-mode/test-lambda-dynamodb-stack/LambdaFunction",
|
|
169
|
-
"children": {
|
|
170
|
-
"Code": {
|
|
171
|
-
"id": "Code",
|
|
172
|
-
"path": "lamddb-set-billing-mode/test-lambda-dynamodb-stack/LambdaFunction/Code",
|
|
173
|
-
"children": {
|
|
174
|
-
"Stage": {
|
|
175
|
-
"id": "Stage",
|
|
176
|
-
"path": "lamddb-set-billing-mode/test-lambda-dynamodb-stack/LambdaFunction/Code/Stage",
|
|
177
|
-
"constructInfo": {
|
|
178
|
-
"fqn": "aws-cdk-lib.AssetStaging",
|
|
179
|
-
"version": "2.150.0"
|
|
180
|
-
}
|
|
181
|
-
},
|
|
182
|
-
"AssetBucket": {
|
|
183
|
-
"id": "AssetBucket",
|
|
184
|
-
"path": "lamddb-set-billing-mode/test-lambda-dynamodb-stack/LambdaFunction/Code/AssetBucket",
|
|
185
|
-
"constructInfo": {
|
|
186
|
-
"fqn": "aws-cdk-lib.aws_s3.BucketBase",
|
|
187
|
-
"version": "2.150.0"
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
},
|
|
191
|
-
"constructInfo": {
|
|
192
|
-
"fqn": "aws-cdk-lib.aws_s3_assets.Asset",
|
|
193
|
-
"version": "2.150.0"
|
|
194
|
-
}
|
|
195
|
-
},
|
|
196
|
-
"Resource": {
|
|
197
|
-
"id": "Resource",
|
|
198
|
-
"path": "lamddb-set-billing-mode/test-lambda-dynamodb-stack/LambdaFunction/Resource",
|
|
199
|
-
"attributes": {
|
|
200
|
-
"aws:cdk:cloudformation:type": "AWS::Lambda::Function",
|
|
201
|
-
"aws:cdk:cloudformation:props": {
|
|
202
|
-
"code": {
|
|
203
|
-
"s3Bucket": {
|
|
204
|
-
"Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
|
|
205
|
-
},
|
|
206
|
-
"s3Key": "0c3255e93ffe7a906c7422e9f0e9cc4c7fd86ee996ee3bb302e2f134b38463c8.zip"
|
|
207
|
-
},
|
|
208
|
-
"environment": {
|
|
209
|
-
"variables": {
|
|
210
|
-
"AWS_NODEJS_CONNECTION_REUSE_ENABLED": "1",
|
|
211
|
-
"DDB_TABLE_NAME": {
|
|
212
|
-
"Ref": "testlambdadynamodbstackDynamoTable8138E93B"
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
},
|
|
216
|
-
"handler": "index.handler",
|
|
217
|
-
"role": {
|
|
218
|
-
"Fn::GetAtt": [
|
|
219
|
-
"testlambdadynamodbstackLambdaFunctionServiceRole758347A1",
|
|
220
|
-
"Arn"
|
|
221
|
-
]
|
|
222
|
-
},
|
|
223
|
-
"runtime": "nodejs20.x",
|
|
224
|
-
"tracingConfig": {
|
|
225
|
-
"mode": "Active"
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
},
|
|
229
|
-
"constructInfo": {
|
|
230
|
-
"fqn": "aws-cdk-lib.aws_lambda.CfnFunction",
|
|
231
|
-
"version": "2.150.0"
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
|
-
},
|
|
235
|
-
"constructInfo": {
|
|
236
|
-
"fqn": "aws-cdk-lib.aws_lambda.Function",
|
|
237
|
-
"version": "2.150.0"
|
|
238
|
-
}
|
|
239
|
-
},
|
|
240
|
-
"DynamoTable": {
|
|
241
|
-
"id": "DynamoTable",
|
|
242
|
-
"path": "lamddb-set-billing-mode/test-lambda-dynamodb-stack/DynamoTable",
|
|
243
|
-
"children": {
|
|
244
|
-
"Resource": {
|
|
245
|
-
"id": "Resource",
|
|
246
|
-
"path": "lamddb-set-billing-mode/test-lambda-dynamodb-stack/DynamoTable/Resource",
|
|
247
|
-
"attributes": {
|
|
248
|
-
"aws:cdk:cloudformation:type": "AWS::DynamoDB::Table",
|
|
249
|
-
"aws:cdk:cloudformation:props": {
|
|
250
|
-
"attributeDefinitions": [
|
|
251
|
-
{
|
|
252
|
-
"attributeName": "id",
|
|
253
|
-
"attributeType": "S"
|
|
254
|
-
}
|
|
255
|
-
],
|
|
256
|
-
"keySchema": [
|
|
257
|
-
{
|
|
258
|
-
"attributeName": "id",
|
|
259
|
-
"keyType": "HASH"
|
|
260
|
-
}
|
|
261
|
-
],
|
|
262
|
-
"pointInTimeRecoverySpecification": {
|
|
263
|
-
"pointInTimeRecoveryEnabled": true
|
|
264
|
-
},
|
|
265
|
-
"provisionedThroughput": {
|
|
266
|
-
"readCapacityUnits": 3,
|
|
267
|
-
"writeCapacityUnits": 3
|
|
268
|
-
},
|
|
269
|
-
"sseSpecification": {
|
|
270
|
-
"sseEnabled": true
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
},
|
|
274
|
-
"constructInfo": {
|
|
275
|
-
"fqn": "aws-cdk-lib.aws_dynamodb.CfnTable",
|
|
276
|
-
"version": "2.150.0"
|
|
277
|
-
}
|
|
278
|
-
},
|
|
279
|
-
"ScalingRole": {
|
|
280
|
-
"id": "ScalingRole",
|
|
281
|
-
"path": "lamddb-set-billing-mode/test-lambda-dynamodb-stack/DynamoTable/ScalingRole",
|
|
282
|
-
"constructInfo": {
|
|
283
|
-
"fqn": "aws-cdk-lib.Resource",
|
|
284
|
-
"version": "2.150.0"
|
|
285
|
-
}
|
|
286
|
-
}
|
|
287
|
-
},
|
|
288
|
-
"constructInfo": {
|
|
289
|
-
"fqn": "aws-cdk-lib.aws_dynamodb.Table",
|
|
290
|
-
"version": "2.150.0"
|
|
291
|
-
}
|
|
292
|
-
}
|
|
293
|
-
},
|
|
294
|
-
"constructInfo": {
|
|
295
|
-
"fqn": "@aws-solutions-constructs/aws-lambda-dynamodb.LambdaToDynamoDB",
|
|
296
|
-
"version": "2.63.0"
|
|
297
|
-
}
|
|
298
|
-
},
|
|
299
|
-
"Integ": {
|
|
300
|
-
"id": "Integ",
|
|
301
|
-
"path": "lamddb-set-billing-mode/Integ",
|
|
302
|
-
"children": {
|
|
303
|
-
"DefaultTest": {
|
|
304
|
-
"id": "DefaultTest",
|
|
305
|
-
"path": "lamddb-set-billing-mode/Integ/DefaultTest",
|
|
306
|
-
"children": {
|
|
307
|
-
"Default": {
|
|
308
|
-
"id": "Default",
|
|
309
|
-
"path": "lamddb-set-billing-mode/Integ/DefaultTest/Default",
|
|
310
|
-
"constructInfo": {
|
|
311
|
-
"fqn": "constructs.Construct",
|
|
312
|
-
"version": "10.3.0"
|
|
313
|
-
}
|
|
314
|
-
},
|
|
315
|
-
"DeployAssert": {
|
|
316
|
-
"id": "DeployAssert",
|
|
317
|
-
"path": "lamddb-set-billing-mode/Integ/DefaultTest/DeployAssert",
|
|
318
|
-
"children": {
|
|
319
|
-
"BootstrapVersion": {
|
|
320
|
-
"id": "BootstrapVersion",
|
|
321
|
-
"path": "lamddb-set-billing-mode/Integ/DefaultTest/DeployAssert/BootstrapVersion",
|
|
322
|
-
"constructInfo": {
|
|
323
|
-
"fqn": "aws-cdk-lib.CfnParameter",
|
|
324
|
-
"version": "2.150.0"
|
|
325
|
-
}
|
|
326
|
-
},
|
|
327
|
-
"CheckBootstrapVersion": {
|
|
328
|
-
"id": "CheckBootstrapVersion",
|
|
329
|
-
"path": "lamddb-set-billing-mode/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion",
|
|
330
|
-
"constructInfo": {
|
|
331
|
-
"fqn": "aws-cdk-lib.CfnRule",
|
|
332
|
-
"version": "2.150.0"
|
|
333
|
-
}
|
|
334
|
-
}
|
|
335
|
-
},
|
|
336
|
-
"constructInfo": {
|
|
337
|
-
"fqn": "aws-cdk-lib.Stack",
|
|
338
|
-
"version": "2.150.0"
|
|
339
|
-
}
|
|
340
|
-
}
|
|
341
|
-
},
|
|
342
|
-
"constructInfo": {
|
|
343
|
-
"fqn": "@aws-cdk/integ-tests-alpha.IntegTestCase",
|
|
344
|
-
"version": "2.150.0-alpha.0"
|
|
345
|
-
}
|
|
346
|
-
}
|
|
347
|
-
},
|
|
348
|
-
"constructInfo": {
|
|
349
|
-
"fqn": "@aws-cdk/integ-tests-alpha.IntegTest",
|
|
350
|
-
"version": "2.150.0-alpha.0"
|
|
351
|
-
}
|
|
352
|
-
},
|
|
353
|
-
"BootstrapVersion": {
|
|
354
|
-
"id": "BootstrapVersion",
|
|
355
|
-
"path": "lamddb-set-billing-mode/BootstrapVersion",
|
|
356
|
-
"constructInfo": {
|
|
357
|
-
"fqn": "aws-cdk-lib.CfnParameter",
|
|
358
|
-
"version": "2.150.0"
|
|
359
|
-
}
|
|
360
|
-
},
|
|
361
|
-
"CheckBootstrapVersion": {
|
|
362
|
-
"id": "CheckBootstrapVersion",
|
|
363
|
-
"path": "lamddb-set-billing-mode/CheckBootstrapVersion",
|
|
364
|
-
"constructInfo": {
|
|
365
|
-
"fqn": "aws-cdk-lib.CfnRule",
|
|
366
|
-
"version": "2.150.0"
|
|
367
|
-
}
|
|
368
|
-
}
|
|
369
|
-
},
|
|
370
|
-
"constructInfo": {
|
|
371
|
-
"fqn": "aws-cdk-lib.Stack",
|
|
372
|
-
"version": "2.150.0"
|
|
373
|
-
}
|
|
374
|
-
},
|
|
375
|
-
"Tree": {
|
|
376
|
-
"id": "Tree",
|
|
377
|
-
"path": "Tree",
|
|
378
|
-
"constructInfo": {
|
|
379
|
-
"fqn": "constructs.Construct",
|
|
380
|
-
"version": "10.3.0"
|
|
381
|
-
}
|
|
382
|
-
}
|
|
383
|
-
},
|
|
384
|
-
"constructInfo": {
|
|
385
|
-
"fqn": "aws-cdk-lib.App",
|
|
386
|
-
"version": "2.150.0"
|
|
387
|
-
}
|
|
388
|
-
}
|
|
389
|
-
}
|
|
1
|
+
{"version":"tree-0.1","tree":{"id":"App","path":"","children":{"lamddb-set-billing-mode":{"id":"lamddb-set-billing-mode","path":"lamddb-set-billing-mode","children":{"test-lambda-dynamodb-stack":{"id":"test-lambda-dynamodb-stack","path":"lamddb-set-billing-mode/test-lambda-dynamodb-stack","children":{"LambdaFunctionServiceRole":{"id":"LambdaFunctionServiceRole","path":"lamddb-set-billing-mode/test-lambda-dynamodb-stack/LambdaFunctionServiceRole","children":{"ImportLambdaFunctionServiceRole":{"id":"ImportLambdaFunctionServiceRole","path":"lamddb-set-billing-mode/test-lambda-dynamodb-stack/LambdaFunctionServiceRole/ImportLambdaFunctionServiceRole","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.186.0","metadata":["*"]}},"Resource":{"id":"Resource","path":"lamddb-set-billing-mode/test-lambda-dynamodb-stack/LambdaFunctionServiceRole/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Role","aws:cdk:cloudformation:props":{"assumeRolePolicyDocument":{"Statement":[{"Action":"sts:AssumeRole","Effect":"Allow","Principal":{"Service":"lambda.amazonaws.com"}}],"Version":"2012-10-17"},"policies":[{"policyName":"LambdaFunctionServiceRolePolicy","policyDocument":{"Statement":[{"Action":["logs:CreateLogGroup","logs:CreateLogStream","logs:PutLogEvents"],"Effect":"Allow","Resource":{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":logs:",{"Ref":"AWS::Region"},":",{"Ref":"AWS::AccountId"},":log-group:/aws/lambda/*"]]}}],"Version":"2012-10-17"}}]}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnRole","version":"2.186.0"}},"DefaultPolicy":{"id":"DefaultPolicy","path":"lamddb-set-billing-mode/test-lambda-dynamodb-stack/LambdaFunctionServiceRole/DefaultPolicy","children":{"Resource":{"id":"Resource","path":"lamddb-set-billing-mode/test-lambda-dynamodb-stack/LambdaFunctionServiceRole/DefaultPolicy/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Policy","aws:cdk:cloudformation:props":{"policyDocument":{"Statement":[{"Action":["dynamodb:BatchGetItem","dynamodb:BatchWriteItem","dynamodb:ConditionCheckItem","dynamodb:DeleteItem","dynamodb:DescribeTable","dynamodb:GetItem","dynamodb:GetRecords","dynamodb:GetShardIterator","dynamodb:PutItem","dynamodb:Query","dynamodb:Scan","dynamodb:UpdateItem"],"Effect":"Allow","Resource":[{"Fn::GetAtt":["testlambdadynamodbstackDynamoTable8138E93B","Arn"]},{"Ref":"AWS::NoValue"}]}],"Version":"2012-10-17"},"policyName":"testlambdadynamodbstackLambdaFunctionServiceRoleDefaultPolicy547FB7F4","roles":[{"Ref":"testlambdadynamodbstackLambdaFunctionServiceRole758347A1"}]}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnPolicy","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Policy","version":"2.186.0","metadata":["*",{"attachToRole":["*"]},{"attachToRole":["*"]},{"addStatements":[{}]}]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Role","version":"2.186.0","metadata":[{"assumedBy":{"principalAccount":"*","assumeRoleAction":"*"},"inlinePolicies":"*"},{"attachInlinePolicy":["*"]},{"attachInlinePolicy":["*"]},{"addToPrincipalPolicy":[{}]},{"attachInlinePolicy":["*"]},{"attachInlinePolicy":["*"]}]}},"LambdaFunction":{"id":"LambdaFunction","path":"lamddb-set-billing-mode/test-lambda-dynamodb-stack/LambdaFunction","children":{"Code":{"id":"Code","path":"lamddb-set-billing-mode/test-lambda-dynamodb-stack/LambdaFunction/Code","children":{"Stage":{"id":"Stage","path":"lamddb-set-billing-mode/test-lambda-dynamodb-stack/LambdaFunction/Code/Stage","constructInfo":{"fqn":"aws-cdk-lib.AssetStaging","version":"2.186.0"}},"AssetBucket":{"id":"AssetBucket","path":"lamddb-set-billing-mode/test-lambda-dynamodb-stack/LambdaFunction/Code/AssetBucket","constructInfo":{"fqn":"aws-cdk-lib.aws_s3.BucketBase","version":"2.186.0","metadata":[]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_s3_assets.Asset","version":"2.186.0"}},"Resource":{"id":"Resource","path":"lamddb-set-billing-mode/test-lambda-dynamodb-stack/LambdaFunction/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::Lambda::Function","aws:cdk:cloudformation:props":{"code":{"s3Bucket":{"Fn::Sub":"cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"},"s3Key":"a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c.zip"},"environment":{"variables":{"AWS_NODEJS_CONNECTION_REUSE_ENABLED":"1","DDB_TABLE_NAME":{"Ref":"testlambdadynamodbstackDynamoTable8138E93B"}}},"handler":"index.handler","role":{"Fn::GetAtt":["testlambdadynamodbstackLambdaFunctionServiceRole758347A1","Arn"]},"runtime":"nodejs20.x","tracingConfig":{"mode":"Active"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_lambda.CfnFunction","version":"2.186.0"}},"inlinePolicyAddedToExecutionRole-0":{"id":"inlinePolicyAddedToExecutionRole-0","path":"lamddb-set-billing-mode/test-lambda-dynamodb-stack/LambdaFunction/inlinePolicyAddedToExecutionRole-0","children":{"Resource":{"id":"Resource","path":"lamddb-set-billing-mode/test-lambda-dynamodb-stack/LambdaFunction/inlinePolicyAddedToExecutionRole-0/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Policy","aws:cdk:cloudformation:props":{"policyDocument":{"Statement":[{"Action":["xray:PutTelemetryRecords","xray:PutTraceSegments"],"Effect":"Allow","Resource":"*"}],"Version":"2012-10-17"},"policyName":"testlambdadynamodbstackLambdaFunctioninlinePolicyAddedToExecutionRole019E2DE85","roles":[{"Ref":"testlambdadynamodbstackLambdaFunctionServiceRole758347A1"}]}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnPolicy","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Policy","version":"2.186.0","metadata":[{"statements":"*"},{"addStatements":[{}]},{"attachToRole":["*"]},{"attachToRole":["*"]}]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_lambda.Function","version":"2.186.0","metadata":[{"role":"*","tracing":"Active","code":"*","runtime":"*","handler":"*"},{"addEnvironment":["*","*",{"removeInEdge":true}]},{"addEnvironment":["*","*"]}]}},"DynamoTable":{"id":"DynamoTable","path":"lamddb-set-billing-mode/test-lambda-dynamodb-stack/DynamoTable","children":{"Resource":{"id":"Resource","path":"lamddb-set-billing-mode/test-lambda-dynamodb-stack/DynamoTable/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::DynamoDB::Table","aws:cdk:cloudformation:props":{"attributeDefinitions":[{"attributeName":"id","attributeType":"S"}],"keySchema":[{"attributeName":"id","keyType":"HASH"}],"pointInTimeRecoverySpecification":{"pointInTimeRecoveryEnabled":true},"provisionedThroughput":{"readCapacityUnits":3,"writeCapacityUnits":3},"sseSpecification":{"sseEnabled":true}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_dynamodb.CfnTable","version":"2.186.0"}},"ScalingRole":{"id":"ScalingRole","path":"lamddb-set-billing-mode/test-lambda-dynamodb-stack/DynamoTable/ScalingRole","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.186.0","metadata":["*"]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_dynamodb.Table","version":"2.186.0","metadata":[{"billingMode":"PROVISIONED","encryption":"AWS_MANAGED","pointInTimeRecovery":true,"partitionKey":{"name":"*","type":"S"},"readCapacity":"*","writeCapacity":"*"}]}}},"constructInfo":{"fqn":"@aws-solutions-constructs/aws-lambda-dynamodb.LambdaToDynamoDB","version":"2.80.0"}},"Integ":{"id":"Integ","path":"lamddb-set-billing-mode/Integ","children":{"DefaultTest":{"id":"DefaultTest","path":"lamddb-set-billing-mode/Integ/DefaultTest","children":{"Default":{"id":"Default","path":"lamddb-set-billing-mode/Integ/DefaultTest/Default","constructInfo":{"fqn":"constructs.Construct","version":"10.4.2"}},"DeployAssert":{"id":"DeployAssert","path":"lamddb-set-billing-mode/Integ/DefaultTest/DeployAssert","children":{"BootstrapVersion":{"id":"BootstrapVersion","path":"lamddb-set-billing-mode/Integ/DefaultTest/DeployAssert/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.186.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"lamddb-set-billing-mode/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnRule","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.Stack","version":"2.186.0"}}},"constructInfo":{"fqn":"@aws-cdk/integ-tests-alpha.IntegTestCase","version":"2.186.0-alpha.0"}}},"constructInfo":{"fqn":"@aws-cdk/integ-tests-alpha.IntegTest","version":"2.186.0-alpha.0"}},"BootstrapVersion":{"id":"BootstrapVersion","path":"lamddb-set-billing-mode/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.186.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"lamddb-set-billing-mode/CheckBootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnRule","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.Stack","version":"2.186.0"}},"Tree":{"id":"Tree","path":"Tree","constructInfo":{"fqn":"constructs.Construct","version":"10.4.2"}}},"constructInfo":{"fqn":"aws-cdk-lib.App","version":"2.186.0"}}}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance
|
|
5
|
+
* with the License. A copy of the License is located at
|
|
6
|
+
*
|
|
7
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
*
|
|
9
|
+
* or in the 'license' file accompanying this file. This file is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES
|
|
10
|
+
* OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions
|
|
11
|
+
* and limitations under the License.
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
exports.handler = async function(event) {
|
|
15
|
+
console.log('request:', JSON.stringify(event, undefined, 2));
|
|
16
|
+
return {
|
|
17
|
+
statusCode: 200,
|
|
18
|
+
headers: { 'Content-Type': 'text/plain' },
|
|
19
|
+
body: `Hello, CDK! You've hit ${event.path}\n`
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"
|
|
1
|
+
{"version":"40.0.0"}
|