@aws-solutions-constructs/aws-eventbridge-lambda 2.80.0 → 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 -4
- package/lib/index.js +1 -1
- package/package.json +6 -6
- package/test/integ.evtlam-eventbridge-existing-eventbus.js.snapshot/asset.3a18fd3de4803f72260a058823accffd4f8d69986c6862a23cd86265f6cafa0f/index.js +23 -0
- package/test/integ.evtlam-eventbridge-existing-eventbus.js.snapshot/cdk.out +1 -1
- package/test/integ.evtlam-eventbridge-existing-eventbus.js.snapshot/evtlam-eventbridge-existing-eventbus.assets.json +6 -6
- package/test/integ.evtlam-eventbridge-existing-eventbus.js.snapshot/evtlam-eventbridge-existing-eventbus.template.json +25 -36
- package/test/integ.evtlam-eventbridge-existing-eventbus.js.snapshot/evtlameventbridgeexistingeventbusIntegDefaultTestDeployAssertF331E474.assets.json +1 -1
- package/test/integ.evtlam-eventbridge-existing-eventbus.js.snapshot/integ.json +1 -1
- package/test/integ.evtlam-eventbridge-existing-eventbus.js.snapshot/manifest.json +142 -6
- package/test/integ.evtlam-eventbridge-existing-eventbus.js.snapshot/tree.json +1 -399
- package/test/integ.evtlam-eventbridge-new-eventbus.js.snapshot/asset.3a18fd3de4803f72260a058823accffd4f8d69986c6862a23cd86265f6cafa0f/index.js +23 -0
- package/test/integ.evtlam-eventbridge-new-eventbus.js.snapshot/cdk.out +1 -1
- package/test/integ.evtlam-eventbridge-new-eventbus.js.snapshot/evtlam-eventbridge-new-eventbus.assets.json +6 -6
- package/test/integ.evtlam-eventbridge-new-eventbus.js.snapshot/evtlam-eventbridge-new-eventbus.template.json +25 -36
- package/test/integ.evtlam-eventbridge-new-eventbus.js.snapshot/evtlameventbridgeneweventbusIntegDefaultTestDeployAssert45FE6822.assets.json +1 -1
- package/test/integ.evtlam-eventbridge-new-eventbus.js.snapshot/integ.json +1 -1
- package/test/integ.evtlam-eventbridge-new-eventbus.js.snapshot/manifest.json +142 -6
- package/test/integ.evtlam-eventbridge-new-eventbus.js.snapshot/tree.json +1 -399
- package/test/integ.evtlam-eventbridge-no-argument.js.snapshot/asset.3a18fd3de4803f72260a058823accffd4f8d69986c6862a23cd86265f6cafa0f/index.js +23 -0
- package/test/integ.evtlam-eventbridge-no-argument.js.snapshot/cdk.out +1 -1
- package/test/integ.evtlam-eventbridge-no-argument.js.snapshot/evtlam-eventbridge-no-argument.assets.json +6 -6
- package/test/integ.evtlam-eventbridge-no-argument.js.snapshot/evtlam-eventbridge-no-argument.template.json +25 -36
- package/test/integ.evtlam-eventbridge-no-argument.js.snapshot/evtlameventbridgenoargumentIntegDefaultTestDeployAssert5D6CC728.assets.json +1 -1
- package/test/integ.evtlam-eventbridge-no-argument.js.snapshot/integ.json +1 -1
- package/test/integ.evtlam-eventbridge-no-argument.js.snapshot/manifest.json +132 -6
- package/test/integ.evtlam-eventbridge-no-argument.js.snapshot/tree.json +1 -368
- package/test/integ.evtlam-eventbridge-existing-eventbus.js.snapshot/asset.42a35bbf0dec9ef0ac5b0dde87e71a1b8929e8d2d178dd09ccfb2c928ec0198c/index.js +0 -10
- package/test/integ.evtlam-eventbridge-new-eventbus.js.snapshot/asset.42a35bbf0dec9ef0ac5b0dde87e71a1b8929e8d2d178dd09ccfb2c928ec0198c/index.js +0 -10
- package/test/integ.evtlam-eventbridge-no-argument.js.snapshot/asset.42a35bbf0dec9ef0ac5b0dde87e71a1b8929e8d2d178dd09ccfb2c928ec0198c/index.js +0 -10
|
@@ -1,368 +1 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": "tree-0.1",
|
|
3
|
-
"tree": {
|
|
4
|
-
"id": "App",
|
|
5
|
-
"path": "",
|
|
6
|
-
"children": {
|
|
7
|
-
"evtlam-eventbridge-no-argument": {
|
|
8
|
-
"id": "evtlam-eventbridge-no-argument",
|
|
9
|
-
"path": "evtlam-eventbridge-no-argument",
|
|
10
|
-
"children": {
|
|
11
|
-
"test-eventbridge-lambda": {
|
|
12
|
-
"id": "test-eventbridge-lambda",
|
|
13
|
-
"path": "evtlam-eventbridge-no-argument/test-eventbridge-lambda",
|
|
14
|
-
"children": {
|
|
15
|
-
"LambdaFunctionServiceRole": {
|
|
16
|
-
"id": "LambdaFunctionServiceRole",
|
|
17
|
-
"path": "evtlam-eventbridge-no-argument/test-eventbridge-lambda/LambdaFunctionServiceRole",
|
|
18
|
-
"children": {
|
|
19
|
-
"ImportLambdaFunctionServiceRole": {
|
|
20
|
-
"id": "ImportLambdaFunctionServiceRole",
|
|
21
|
-
"path": "evtlam-eventbridge-no-argument/test-eventbridge-lambda/LambdaFunctionServiceRole/ImportLambdaFunctionServiceRole",
|
|
22
|
-
"constructInfo": {
|
|
23
|
-
"fqn": "aws-cdk-lib.Resource",
|
|
24
|
-
"version": "2.150.0"
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
"Resource": {
|
|
28
|
-
"id": "Resource",
|
|
29
|
-
"path": "evtlam-eventbridge-no-argument/test-eventbridge-lambda/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": "evtlam-eventbridge-no-argument/test-eventbridge-lambda/LambdaFunctionServiceRole/DefaultPolicy",
|
|
93
|
-
"children": {
|
|
94
|
-
"Resource": {
|
|
95
|
-
"id": "Resource",
|
|
96
|
-
"path": "evtlam-eventbridge-no-argument/test-eventbridge-lambda/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
|
-
"Version": "2012-10-17"
|
|
112
|
-
},
|
|
113
|
-
"policyName": "testeventbridgelambdaLambdaFunctionServiceRoleDefaultPolicyB0C15F1B",
|
|
114
|
-
"roles": [
|
|
115
|
-
{
|
|
116
|
-
"Ref": "testeventbridgelambdaLambdaFunctionServiceRole6D02CEEE"
|
|
117
|
-
}
|
|
118
|
-
]
|
|
119
|
-
}
|
|
120
|
-
},
|
|
121
|
-
"constructInfo": {
|
|
122
|
-
"fqn": "aws-cdk-lib.aws_iam.CfnPolicy",
|
|
123
|
-
"version": "2.150.0"
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
},
|
|
127
|
-
"constructInfo": {
|
|
128
|
-
"fqn": "aws-cdk-lib.aws_iam.Policy",
|
|
129
|
-
"version": "2.150.0"
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
},
|
|
133
|
-
"constructInfo": {
|
|
134
|
-
"fqn": "aws-cdk-lib.aws_iam.Role",
|
|
135
|
-
"version": "2.150.0"
|
|
136
|
-
}
|
|
137
|
-
},
|
|
138
|
-
"LambdaFunction": {
|
|
139
|
-
"id": "LambdaFunction",
|
|
140
|
-
"path": "evtlam-eventbridge-no-argument/test-eventbridge-lambda/LambdaFunction",
|
|
141
|
-
"children": {
|
|
142
|
-
"Code": {
|
|
143
|
-
"id": "Code",
|
|
144
|
-
"path": "evtlam-eventbridge-no-argument/test-eventbridge-lambda/LambdaFunction/Code",
|
|
145
|
-
"children": {
|
|
146
|
-
"Stage": {
|
|
147
|
-
"id": "Stage",
|
|
148
|
-
"path": "evtlam-eventbridge-no-argument/test-eventbridge-lambda/LambdaFunction/Code/Stage",
|
|
149
|
-
"constructInfo": {
|
|
150
|
-
"fqn": "aws-cdk-lib.AssetStaging",
|
|
151
|
-
"version": "2.150.0"
|
|
152
|
-
}
|
|
153
|
-
},
|
|
154
|
-
"AssetBucket": {
|
|
155
|
-
"id": "AssetBucket",
|
|
156
|
-
"path": "evtlam-eventbridge-no-argument/test-eventbridge-lambda/LambdaFunction/Code/AssetBucket",
|
|
157
|
-
"constructInfo": {
|
|
158
|
-
"fqn": "aws-cdk-lib.aws_s3.BucketBase",
|
|
159
|
-
"version": "2.150.0"
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
},
|
|
163
|
-
"constructInfo": {
|
|
164
|
-
"fqn": "aws-cdk-lib.aws_s3_assets.Asset",
|
|
165
|
-
"version": "2.150.0"
|
|
166
|
-
}
|
|
167
|
-
},
|
|
168
|
-
"Resource": {
|
|
169
|
-
"id": "Resource",
|
|
170
|
-
"path": "evtlam-eventbridge-no-argument/test-eventbridge-lambda/LambdaFunction/Resource",
|
|
171
|
-
"attributes": {
|
|
172
|
-
"aws:cdk:cloudformation:type": "AWS::Lambda::Function",
|
|
173
|
-
"aws:cdk:cloudformation:props": {
|
|
174
|
-
"code": {
|
|
175
|
-
"s3Bucket": {
|
|
176
|
-
"Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
|
|
177
|
-
},
|
|
178
|
-
"s3Key": "42a35bbf0dec9ef0ac5b0dde87e71a1b8929e8d2d178dd09ccfb2c928ec0198c.zip"
|
|
179
|
-
},
|
|
180
|
-
"environment": {
|
|
181
|
-
"variables": {
|
|
182
|
-
"AWS_NODEJS_CONNECTION_REUSE_ENABLED": "1"
|
|
183
|
-
}
|
|
184
|
-
},
|
|
185
|
-
"handler": "index.handler",
|
|
186
|
-
"role": {
|
|
187
|
-
"Fn::GetAtt": [
|
|
188
|
-
"testeventbridgelambdaLambdaFunctionServiceRole6D02CEEE",
|
|
189
|
-
"Arn"
|
|
190
|
-
]
|
|
191
|
-
},
|
|
192
|
-
"runtime": "nodejs20.x",
|
|
193
|
-
"tracingConfig": {
|
|
194
|
-
"mode": "Active"
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
},
|
|
198
|
-
"constructInfo": {
|
|
199
|
-
"fqn": "aws-cdk-lib.aws_lambda.CfnFunction",
|
|
200
|
-
"version": "2.150.0"
|
|
201
|
-
}
|
|
202
|
-
},
|
|
203
|
-
"AwsEventsLambdaInvokePermission-1": {
|
|
204
|
-
"id": "AwsEventsLambdaInvokePermission-1",
|
|
205
|
-
"path": "evtlam-eventbridge-no-argument/test-eventbridge-lambda/LambdaFunction/AwsEventsLambdaInvokePermission-1",
|
|
206
|
-
"attributes": {
|
|
207
|
-
"aws:cdk:cloudformation:type": "AWS::Lambda::Permission",
|
|
208
|
-
"aws:cdk:cloudformation:props": {
|
|
209
|
-
"action": "lambda:InvokeFunction",
|
|
210
|
-
"functionName": {
|
|
211
|
-
"Fn::GetAtt": [
|
|
212
|
-
"testeventbridgelambdaLambdaFunction475423FD",
|
|
213
|
-
"Arn"
|
|
214
|
-
]
|
|
215
|
-
},
|
|
216
|
-
"principal": "events.amazonaws.com",
|
|
217
|
-
"sourceArn": {
|
|
218
|
-
"Fn::GetAtt": [
|
|
219
|
-
"testeventbridgelambdaEventsRule7DB0954D",
|
|
220
|
-
"Arn"
|
|
221
|
-
]
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
},
|
|
225
|
-
"constructInfo": {
|
|
226
|
-
"fqn": "aws-cdk-lib.aws_lambda.CfnPermission",
|
|
227
|
-
"version": "2.150.0"
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
},
|
|
231
|
-
"constructInfo": {
|
|
232
|
-
"fqn": "aws-cdk-lib.aws_lambda.Function",
|
|
233
|
-
"version": "2.150.0"
|
|
234
|
-
}
|
|
235
|
-
},
|
|
236
|
-
"EventsRule": {
|
|
237
|
-
"id": "EventsRule",
|
|
238
|
-
"path": "evtlam-eventbridge-no-argument/test-eventbridge-lambda/EventsRule",
|
|
239
|
-
"children": {
|
|
240
|
-
"Resource": {
|
|
241
|
-
"id": "Resource",
|
|
242
|
-
"path": "evtlam-eventbridge-no-argument/test-eventbridge-lambda/EventsRule/Resource",
|
|
243
|
-
"attributes": {
|
|
244
|
-
"aws:cdk:cloudformation:type": "AWS::Events::Rule",
|
|
245
|
-
"aws:cdk:cloudformation:props": {
|
|
246
|
-
"scheduleExpression": "rate(5 minutes)",
|
|
247
|
-
"state": "ENABLED",
|
|
248
|
-
"targets": [
|
|
249
|
-
{
|
|
250
|
-
"id": "Target0",
|
|
251
|
-
"arn": {
|
|
252
|
-
"Fn::GetAtt": [
|
|
253
|
-
"testeventbridgelambdaLambdaFunction475423FD",
|
|
254
|
-
"Arn"
|
|
255
|
-
]
|
|
256
|
-
}
|
|
257
|
-
}
|
|
258
|
-
]
|
|
259
|
-
}
|
|
260
|
-
},
|
|
261
|
-
"constructInfo": {
|
|
262
|
-
"fqn": "aws-cdk-lib.aws_events.CfnRule",
|
|
263
|
-
"version": "2.150.0"
|
|
264
|
-
}
|
|
265
|
-
}
|
|
266
|
-
},
|
|
267
|
-
"constructInfo": {
|
|
268
|
-
"fqn": "aws-cdk-lib.aws_events.Rule",
|
|
269
|
-
"version": "2.150.0"
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
},
|
|
273
|
-
"constructInfo": {
|
|
274
|
-
"fqn": "@aws-solutions-constructs/aws-eventbridge-lambda.EventbridgeToLambda",
|
|
275
|
-
"version": "2.63.0"
|
|
276
|
-
}
|
|
277
|
-
},
|
|
278
|
-
"Integ": {
|
|
279
|
-
"id": "Integ",
|
|
280
|
-
"path": "evtlam-eventbridge-no-argument/Integ",
|
|
281
|
-
"children": {
|
|
282
|
-
"DefaultTest": {
|
|
283
|
-
"id": "DefaultTest",
|
|
284
|
-
"path": "evtlam-eventbridge-no-argument/Integ/DefaultTest",
|
|
285
|
-
"children": {
|
|
286
|
-
"Default": {
|
|
287
|
-
"id": "Default",
|
|
288
|
-
"path": "evtlam-eventbridge-no-argument/Integ/DefaultTest/Default",
|
|
289
|
-
"constructInfo": {
|
|
290
|
-
"fqn": "constructs.Construct",
|
|
291
|
-
"version": "10.3.0"
|
|
292
|
-
}
|
|
293
|
-
},
|
|
294
|
-
"DeployAssert": {
|
|
295
|
-
"id": "DeployAssert",
|
|
296
|
-
"path": "evtlam-eventbridge-no-argument/Integ/DefaultTest/DeployAssert",
|
|
297
|
-
"children": {
|
|
298
|
-
"BootstrapVersion": {
|
|
299
|
-
"id": "BootstrapVersion",
|
|
300
|
-
"path": "evtlam-eventbridge-no-argument/Integ/DefaultTest/DeployAssert/BootstrapVersion",
|
|
301
|
-
"constructInfo": {
|
|
302
|
-
"fqn": "aws-cdk-lib.CfnParameter",
|
|
303
|
-
"version": "2.150.0"
|
|
304
|
-
}
|
|
305
|
-
},
|
|
306
|
-
"CheckBootstrapVersion": {
|
|
307
|
-
"id": "CheckBootstrapVersion",
|
|
308
|
-
"path": "evtlam-eventbridge-no-argument/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion",
|
|
309
|
-
"constructInfo": {
|
|
310
|
-
"fqn": "aws-cdk-lib.CfnRule",
|
|
311
|
-
"version": "2.150.0"
|
|
312
|
-
}
|
|
313
|
-
}
|
|
314
|
-
},
|
|
315
|
-
"constructInfo": {
|
|
316
|
-
"fqn": "aws-cdk-lib.Stack",
|
|
317
|
-
"version": "2.150.0"
|
|
318
|
-
}
|
|
319
|
-
}
|
|
320
|
-
},
|
|
321
|
-
"constructInfo": {
|
|
322
|
-
"fqn": "@aws-cdk/integ-tests-alpha.IntegTestCase",
|
|
323
|
-
"version": "2.150.0-alpha.0"
|
|
324
|
-
}
|
|
325
|
-
}
|
|
326
|
-
},
|
|
327
|
-
"constructInfo": {
|
|
328
|
-
"fqn": "@aws-cdk/integ-tests-alpha.IntegTest",
|
|
329
|
-
"version": "2.150.0-alpha.0"
|
|
330
|
-
}
|
|
331
|
-
},
|
|
332
|
-
"BootstrapVersion": {
|
|
333
|
-
"id": "BootstrapVersion",
|
|
334
|
-
"path": "evtlam-eventbridge-no-argument/BootstrapVersion",
|
|
335
|
-
"constructInfo": {
|
|
336
|
-
"fqn": "aws-cdk-lib.CfnParameter",
|
|
337
|
-
"version": "2.150.0"
|
|
338
|
-
}
|
|
339
|
-
},
|
|
340
|
-
"CheckBootstrapVersion": {
|
|
341
|
-
"id": "CheckBootstrapVersion",
|
|
342
|
-
"path": "evtlam-eventbridge-no-argument/CheckBootstrapVersion",
|
|
343
|
-
"constructInfo": {
|
|
344
|
-
"fqn": "aws-cdk-lib.CfnRule",
|
|
345
|
-
"version": "2.150.0"
|
|
346
|
-
}
|
|
347
|
-
}
|
|
348
|
-
},
|
|
349
|
-
"constructInfo": {
|
|
350
|
-
"fqn": "aws-cdk-lib.Stack",
|
|
351
|
-
"version": "2.150.0"
|
|
352
|
-
}
|
|
353
|
-
},
|
|
354
|
-
"Tree": {
|
|
355
|
-
"id": "Tree",
|
|
356
|
-
"path": "Tree",
|
|
357
|
-
"constructInfo": {
|
|
358
|
-
"fqn": "constructs.Construct",
|
|
359
|
-
"version": "10.3.0"
|
|
360
|
-
}
|
|
361
|
-
}
|
|
362
|
-
},
|
|
363
|
-
"constructInfo": {
|
|
364
|
-
"fqn": "aws-cdk-lib.App",
|
|
365
|
-
"version": "2.150.0"
|
|
366
|
-
}
|
|
367
|
-
}
|
|
368
|
-
}
|
|
1
|
+
{"version":"tree-0.1","tree":{"id":"App","path":"","children":{"evtlam-eventbridge-no-argument":{"id":"evtlam-eventbridge-no-argument","path":"evtlam-eventbridge-no-argument","children":{"test-eventbridge-lambda":{"id":"test-eventbridge-lambda","path":"evtlam-eventbridge-no-argument/test-eventbridge-lambda","children":{"LambdaFunctionServiceRole":{"id":"LambdaFunctionServiceRole","path":"evtlam-eventbridge-no-argument/test-eventbridge-lambda/LambdaFunctionServiceRole","children":{"ImportLambdaFunctionServiceRole":{"id":"ImportLambdaFunctionServiceRole","path":"evtlam-eventbridge-no-argument/test-eventbridge-lambda/LambdaFunctionServiceRole/ImportLambdaFunctionServiceRole","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.186.0","metadata":["*"]}},"Resource":{"id":"Resource","path":"evtlam-eventbridge-no-argument/test-eventbridge-lambda/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"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Role","version":"2.186.0","metadata":[{"assumedBy":{"principalAccount":"*","assumeRoleAction":"*"},"inlinePolicies":"*"},{"attachInlinePolicy":["*"]},{"attachInlinePolicy":["*"]}]}},"LambdaFunction":{"id":"LambdaFunction","path":"evtlam-eventbridge-no-argument/test-eventbridge-lambda/LambdaFunction","children":{"Code":{"id":"Code","path":"evtlam-eventbridge-no-argument/test-eventbridge-lambda/LambdaFunction/Code","children":{"Stage":{"id":"Stage","path":"evtlam-eventbridge-no-argument/test-eventbridge-lambda/LambdaFunction/Code/Stage","constructInfo":{"fqn":"aws-cdk-lib.AssetStaging","version":"2.186.0"}},"AssetBucket":{"id":"AssetBucket","path":"evtlam-eventbridge-no-argument/test-eventbridge-lambda/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":"evtlam-eventbridge-no-argument/test-eventbridge-lambda/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":"3a18fd3de4803f72260a058823accffd4f8d69986c6862a23cd86265f6cafa0f.zip"},"environment":{"variables":{"AWS_NODEJS_CONNECTION_REUSE_ENABLED":"1"}},"handler":"index.handler","role":{"Fn::GetAtt":["testeventbridgelambdaLambdaFunctionServiceRole6D02CEEE","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":"evtlam-eventbridge-no-argument/test-eventbridge-lambda/LambdaFunction/inlinePolicyAddedToExecutionRole-0","children":{"Resource":{"id":"Resource","path":"evtlam-eventbridge-no-argument/test-eventbridge-lambda/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":"testeventbridgelambdaLambdaFunctioninlinePolicyAddedToExecutionRole032228887","roles":[{"Ref":"testeventbridgelambdaLambdaFunctionServiceRole6D02CEEE"}]}},"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":["*"]}]}},"AwsEventsLambdaInvokePermission-1":{"id":"AwsEventsLambdaInvokePermission-1","path":"evtlam-eventbridge-no-argument/test-eventbridge-lambda/LambdaFunction/AwsEventsLambdaInvokePermission-1","attributes":{"aws:cdk:cloudformation:type":"AWS::Lambda::Permission","aws:cdk:cloudformation:props":{"action":"lambda:InvokeFunction","functionName":{"Fn::GetAtt":["testeventbridgelambdaLambdaFunction475423FD","Arn"]},"principal":"events.amazonaws.com","sourceArn":{"Fn::GetAtt":["testeventbridgelambdaEventsRule7DB0954D","Arn"]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_lambda.CfnPermission","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_lambda.Function","version":"2.186.0","metadata":[{"role":"*","tracing":"Active","code":"*","runtime":"*","handler":"*"},{"addEnvironment":["*","*",{"removeInEdge":true}]}]}},"EventsRule":{"id":"EventsRule","path":"evtlam-eventbridge-no-argument/test-eventbridge-lambda/EventsRule","children":{"Resource":{"id":"Resource","path":"evtlam-eventbridge-no-argument/test-eventbridge-lambda/EventsRule/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::Events::Rule","aws:cdk:cloudformation:props":{"scheduleExpression":"rate(5 minutes)","state":"ENABLED","targets":[{"id":"Target0","arn":{"Fn::GetAtt":["testeventbridgelambdaLambdaFunction475423FD","Arn"]}}]}},"constructInfo":{"fqn":"aws-cdk-lib.aws_events.CfnRule","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_events.Rule","version":"2.186.0","metadata":[{"targets":"*","eventBus":"*","schedule":"*"},{"addEventPattern":["*"]},{"addTarget":[{}]}]}}},"constructInfo":{"fqn":"@aws-solutions-constructs/aws-eventbridge-lambda.EventbridgeToLambda","version":"2.80.0"}},"Integ":{"id":"Integ","path":"evtlam-eventbridge-no-argument/Integ","children":{"DefaultTest":{"id":"DefaultTest","path":"evtlam-eventbridge-no-argument/Integ/DefaultTest","children":{"Default":{"id":"Default","path":"evtlam-eventbridge-no-argument/Integ/DefaultTest/Default","constructInfo":{"fqn":"constructs.Construct","version":"10.4.2"}},"DeployAssert":{"id":"DeployAssert","path":"evtlam-eventbridge-no-argument/Integ/DefaultTest/DeployAssert","children":{"BootstrapVersion":{"id":"BootstrapVersion","path":"evtlam-eventbridge-no-argument/Integ/DefaultTest/DeployAssert/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.186.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"evtlam-eventbridge-no-argument/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":"evtlam-eventbridge-no-argument/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.186.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"evtlam-eventbridge-no-argument/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"}}}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
console.log('Loading function');
|
|
2
|
-
|
|
3
|
-
exports.handler = async (event, context) => {
|
|
4
|
-
console.log('Received event:', JSON.stringify(event, null, 2));
|
|
5
|
-
return {
|
|
6
|
-
statusCode: 200,
|
|
7
|
-
headers: { 'Content-Type': 'text/plain' },
|
|
8
|
-
body: `Hello from Project Vesper! You've hit ${event.path}\n`
|
|
9
|
-
};
|
|
10
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
console.log('Loading function');
|
|
2
|
-
|
|
3
|
-
exports.handler = async (event, context) => {
|
|
4
|
-
console.log('Received event:', JSON.stringify(event, null, 2));
|
|
5
|
-
return {
|
|
6
|
-
statusCode: 200,
|
|
7
|
-
headers: { 'Content-Type': 'text/plain' },
|
|
8
|
-
body: `Hello from Project Vesper! You've hit ${event.path}\n`
|
|
9
|
-
};
|
|
10
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
console.log('Loading function');
|
|
2
|
-
|
|
3
|
-
exports.handler = async (event, context) => {
|
|
4
|
-
console.log('Received event:', JSON.stringify(event, null, 2));
|
|
5
|
-
return {
|
|
6
|
-
statusCode: 200,
|
|
7
|
-
headers: { 'Content-Type': 'text/plain' },
|
|
8
|
-
body: `Hello from Project Vesper! You've hit ${event.path}\n`
|
|
9
|
-
};
|
|
10
|
-
};
|