@aws-solutions-constructs/aws-eventbridge-sqs 2.75.0 → 2.77.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 +189 -34
- package/README.md +5 -0
- package/lib/index.d.ts +27 -0
- package/lib/index.js +26 -10
- package/package.json +7 -6
- package/test/eventbridge-sqs-queue.test.js +142 -3
- package/test/integ.evtsqs-custom-target.d.ts +13 -0
- package/test/integ.evtsqs-custom-target.js +36 -0
- package/test/integ.evtsqs-custom-target.js.snapshot/cdk.out +1 -0
- package/test/integ.evtsqs-custom-target.js.snapshot/evtsqs-custom-target.assets.json +19 -0
- package/test/integ.evtsqs-custom-target.js.snapshot/evtsqs-custom-target.template.json +312 -0
- package/test/integ.evtsqs-custom-target.js.snapshot/evtsqscustomtargetIntegDefaultTestDeployAssertD220243E.assets.json +19 -0
- package/test/integ.evtsqs-custom-target.js.snapshot/evtsqscustomtargetIntegDefaultTestDeployAssertD220243E.template.json +36 -0
- package/test/integ.evtsqs-custom-target.js.snapshot/integ.json +12 -0
- package/test/integ.evtsqs-custom-target.js.snapshot/manifest.json +149 -0
- package/test/integ.evtsqs-custom-target.js.snapshot/tree.json +487 -0
- package/test/integ.evtsqs-exist-bus.js.snapshot/cdk.out +1 -1
- package/test/integ.evtsqs-exist-bus.js.snapshot/evtsqs-exist-bus.assets.json +3 -3
- package/test/integ.evtsqs-exist-bus.js.snapshot/evtsqs-exist-bus.template.json +15 -6
- package/test/integ.evtsqs-exist-bus.js.snapshot/evtsqsexistbusIntegDefaultTestDeployAssertD6166996.assets.json +1 -1
- package/test/integ.evtsqs-exist-bus.js.snapshot/integ.json +1 -1
- package/test/integ.evtsqs-exist-bus.js.snapshot/manifest.json +2 -2
- package/test/integ.evtsqs-exist-bus.js.snapshot/tree.json +38 -29
- package/test/integ.evtsqs-exist-queue.js.snapshot/cdk.out +1 -1
- package/test/integ.evtsqs-exist-queue.js.snapshot/evtsqs-exist-queue.assets.json +3 -3
- package/test/integ.evtsqs-exist-queue.js.snapshot/evtsqs-exist-queue.template.json +15 -6
- package/test/integ.evtsqs-exist-queue.js.snapshot/evtsqsexistqueueIntegDefaultTestDeployAssert4E2D04AB.assets.json +1 -1
- package/test/integ.evtsqs-exist-queue.js.snapshot/integ.json +1 -1
- package/test/integ.evtsqs-exist-queue.js.snapshot/manifest.json +2 -2
- package/test/integ.evtsqs-exist-queue.js.snapshot/tree.json +36 -27
- package/test/integ.evtsqs-new-bus.js.snapshot/cdk.out +1 -1
- package/test/integ.evtsqs-new-bus.js.snapshot/evtsqs-new-bus.assets.json +3 -3
- package/test/integ.evtsqs-new-bus.js.snapshot/evtsqs-new-bus.template.json +15 -6
- package/test/integ.evtsqs-new-bus.js.snapshot/evtsqsnewbusIntegDefaultTestDeployAssertA45AD5F2.assets.json +1 -1
- package/test/integ.evtsqs-new-bus.js.snapshot/integ.json +1 -1
- package/test/integ.evtsqs-new-bus.js.snapshot/manifest.json +2 -20
- package/test/integ.evtsqs-new-bus.js.snapshot/tree.json +42 -33
- package/test/integ.evtsqs-no-arg.js.snapshot/cdk.out +1 -1
- package/test/integ.evtsqs-no-arg.js.snapshot/evtsqs-no-arg.assets.json +3 -3
- package/test/integ.evtsqs-no-arg.js.snapshot/evtsqs-no-arg.template.json +15 -6
- package/test/integ.evtsqs-no-arg.js.snapshot/evtsqsnoargIntegDefaultTestDeployAssertB5DFB718.assets.json +1 -1
- package/test/integ.evtsqs-no-arg.js.snapshot/integ.json +1 -1
- package/test/integ.evtsqs-no-arg.js.snapshot/manifest.json +2 -20
- package/test/integ.evtsqs-no-arg.js.snapshot/tree.json +40 -31
- package/test/integ.evtsqs-rule-dlq.d.ts +13 -0
- package/test/integ.evtsqs-rule-dlq.js +36 -0
- package/test/integ.evtsqs-rule-dlq.js.snapshot/cdk.out +1 -0
- package/test/integ.evtsqs-rule-dlq.js.snapshot/evtsqs-rule-dlq.assets.json +19 -0
- package/test/integ.evtsqs-rule-dlq.js.snapshot/evtsqs-rule-dlq.template.json +485 -0
- package/test/integ.evtsqs-rule-dlq.js.snapshot/evtsqsruledlqIntegDefaultTestDeployAssertE0D1E1C2.assets.json +19 -0
- package/test/integ.evtsqs-rule-dlq.js.snapshot/evtsqsruledlqIntegDefaultTestDeployAssertE0D1E1C2.template.json +36 -0
- package/test/integ.evtsqs-rule-dlq.js.snapshot/integ.json +12 -0
- package/test/integ.evtsqs-rule-dlq.js.snapshot/manifest.json +179 -0
- package/test/integ.evtsqs-rule-dlq.js.snapshot/tree.json +728 -0
|
@@ -0,0 +1,487 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "tree-0.1",
|
|
3
|
+
"tree": {
|
|
4
|
+
"id": "App",
|
|
5
|
+
"path": "",
|
|
6
|
+
"children": {
|
|
7
|
+
"evtsqs-custom-target": {
|
|
8
|
+
"id": "evtsqs-custom-target",
|
|
9
|
+
"path": "evtsqs-custom-target",
|
|
10
|
+
"children": {
|
|
11
|
+
"construct": {
|
|
12
|
+
"id": "construct",
|
|
13
|
+
"path": "evtsqs-custom-target/construct",
|
|
14
|
+
"children": {
|
|
15
|
+
"queue-dlq": {
|
|
16
|
+
"id": "queue-dlq",
|
|
17
|
+
"path": "evtsqs-custom-target/construct/queue-dlq",
|
|
18
|
+
"children": {
|
|
19
|
+
"Resource": {
|
|
20
|
+
"id": "Resource",
|
|
21
|
+
"path": "evtsqs-custom-target/construct/queue-dlq/Resource",
|
|
22
|
+
"attributes": {
|
|
23
|
+
"aws:cdk:cloudformation:type": "AWS::SQS::Queue",
|
|
24
|
+
"aws:cdk:cloudformation:props": {
|
|
25
|
+
"kmsMasterKeyId": "alias/aws/sqs"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"constructInfo": {
|
|
29
|
+
"fqn": "aws-cdk-lib.aws_sqs.CfnQueue",
|
|
30
|
+
"version": "2.175.1"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"Policy": {
|
|
34
|
+
"id": "Policy",
|
|
35
|
+
"path": "evtsqs-custom-target/construct/queue-dlq/Policy",
|
|
36
|
+
"children": {
|
|
37
|
+
"Resource": {
|
|
38
|
+
"id": "Resource",
|
|
39
|
+
"path": "evtsqs-custom-target/construct/queue-dlq/Policy/Resource",
|
|
40
|
+
"attributes": {
|
|
41
|
+
"aws:cdk:cloudformation:type": "AWS::SQS::QueuePolicy",
|
|
42
|
+
"aws:cdk:cloudformation:props": {
|
|
43
|
+
"policyDocument": {
|
|
44
|
+
"Statement": [
|
|
45
|
+
{
|
|
46
|
+
"Action": [
|
|
47
|
+
"sqs:AddPermission",
|
|
48
|
+
"sqs:DeleteMessage",
|
|
49
|
+
"sqs:GetQueueAttributes",
|
|
50
|
+
"sqs:ReceiveMessage",
|
|
51
|
+
"sqs:RemovePermission",
|
|
52
|
+
"sqs:SendMessage",
|
|
53
|
+
"sqs:SetQueueAttributes"
|
|
54
|
+
],
|
|
55
|
+
"Effect": "Allow",
|
|
56
|
+
"Principal": {
|
|
57
|
+
"AWS": {
|
|
58
|
+
"Fn::Join": [
|
|
59
|
+
"",
|
|
60
|
+
[
|
|
61
|
+
"arn:",
|
|
62
|
+
{
|
|
63
|
+
"Ref": "AWS::Partition"
|
|
64
|
+
},
|
|
65
|
+
":iam::",
|
|
66
|
+
{
|
|
67
|
+
"Ref": "AWS::AccountId"
|
|
68
|
+
},
|
|
69
|
+
":root"
|
|
70
|
+
]
|
|
71
|
+
]
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"Resource": {
|
|
75
|
+
"Fn::GetAtt": [
|
|
76
|
+
"constructqueuedlq6B66D1E6",
|
|
77
|
+
"Arn"
|
|
78
|
+
]
|
|
79
|
+
},
|
|
80
|
+
"Sid": "QueueOwnerOnlyAccess"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"Action": "SQS:*",
|
|
84
|
+
"Condition": {
|
|
85
|
+
"Bool": {
|
|
86
|
+
"aws:SecureTransport": "false"
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"Effect": "Deny",
|
|
90
|
+
"Principal": {
|
|
91
|
+
"AWS": "*"
|
|
92
|
+
},
|
|
93
|
+
"Resource": {
|
|
94
|
+
"Fn::GetAtt": [
|
|
95
|
+
"constructqueuedlq6B66D1E6",
|
|
96
|
+
"Arn"
|
|
97
|
+
]
|
|
98
|
+
},
|
|
99
|
+
"Sid": "HttpsOnly"
|
|
100
|
+
}
|
|
101
|
+
],
|
|
102
|
+
"Version": "2012-10-17"
|
|
103
|
+
},
|
|
104
|
+
"queues": [
|
|
105
|
+
{
|
|
106
|
+
"Ref": "constructqueuedlq6B66D1E6"
|
|
107
|
+
}
|
|
108
|
+
]
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
"constructInfo": {
|
|
112
|
+
"fqn": "aws-cdk-lib.aws_sqs.CfnQueuePolicy",
|
|
113
|
+
"version": "2.175.1"
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
"constructInfo": {
|
|
118
|
+
"fqn": "aws-cdk-lib.aws_sqs.QueuePolicy",
|
|
119
|
+
"version": "2.175.1"
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
"constructInfo": {
|
|
124
|
+
"fqn": "aws-cdk-lib.aws_sqs.Queue",
|
|
125
|
+
"version": "2.175.1"
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
"'queueKey'": {
|
|
129
|
+
"id": "'queueKey'",
|
|
130
|
+
"path": "evtsqs-custom-target/construct/'queueKey'",
|
|
131
|
+
"children": {
|
|
132
|
+
"Resource": {
|
|
133
|
+
"id": "Resource",
|
|
134
|
+
"path": "evtsqs-custom-target/construct/'queueKey'/Resource",
|
|
135
|
+
"attributes": {
|
|
136
|
+
"aws:cdk:cloudformation:type": "AWS::KMS::Key",
|
|
137
|
+
"aws:cdk:cloudformation:props": {
|
|
138
|
+
"enableKeyRotation": true,
|
|
139
|
+
"keyPolicy": {
|
|
140
|
+
"Statement": [
|
|
141
|
+
{
|
|
142
|
+
"Action": "kms:*",
|
|
143
|
+
"Effect": "Allow",
|
|
144
|
+
"Principal": {
|
|
145
|
+
"AWS": {
|
|
146
|
+
"Fn::Join": [
|
|
147
|
+
"",
|
|
148
|
+
[
|
|
149
|
+
"arn:",
|
|
150
|
+
{
|
|
151
|
+
"Ref": "AWS::Partition"
|
|
152
|
+
},
|
|
153
|
+
":iam::",
|
|
154
|
+
{
|
|
155
|
+
"Ref": "AWS::AccountId"
|
|
156
|
+
},
|
|
157
|
+
":root"
|
|
158
|
+
]
|
|
159
|
+
]
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
"Resource": "*"
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"Action": [
|
|
166
|
+
"kms:Decrypt",
|
|
167
|
+
"kms:Encrypt",
|
|
168
|
+
"kms:GenerateDataKey*",
|
|
169
|
+
"kms:ReEncrypt*"
|
|
170
|
+
],
|
|
171
|
+
"Condition": {
|
|
172
|
+
"StringEquals": {
|
|
173
|
+
"aws:SourceAccount": {
|
|
174
|
+
"Ref": "AWS::AccountId"
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
"Effect": "Allow",
|
|
179
|
+
"Principal": {
|
|
180
|
+
"Service": "events.amazonaws.com"
|
|
181
|
+
},
|
|
182
|
+
"Resource": "*"
|
|
183
|
+
}
|
|
184
|
+
],
|
|
185
|
+
"Version": "2012-10-17"
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
"constructInfo": {
|
|
190
|
+
"fqn": "aws-cdk-lib.aws_kms.CfnKey",
|
|
191
|
+
"version": "2.175.1"
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
"constructInfo": {
|
|
196
|
+
"fqn": "aws-cdk-lib.aws_kms.Key",
|
|
197
|
+
"version": "2.175.1"
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
"queue": {
|
|
201
|
+
"id": "queue",
|
|
202
|
+
"path": "evtsqs-custom-target/construct/queue",
|
|
203
|
+
"children": {
|
|
204
|
+
"Resource": {
|
|
205
|
+
"id": "Resource",
|
|
206
|
+
"path": "evtsqs-custom-target/construct/queue/Resource",
|
|
207
|
+
"attributes": {
|
|
208
|
+
"aws:cdk:cloudformation:type": "AWS::SQS::Queue",
|
|
209
|
+
"aws:cdk:cloudformation:props": {
|
|
210
|
+
"kmsMasterKeyId": {
|
|
211
|
+
"Fn::GetAtt": [
|
|
212
|
+
"constructqueueKey0638E1FB",
|
|
213
|
+
"Arn"
|
|
214
|
+
]
|
|
215
|
+
},
|
|
216
|
+
"redrivePolicy": {
|
|
217
|
+
"deadLetterTargetArn": {
|
|
218
|
+
"Fn::GetAtt": [
|
|
219
|
+
"constructqueuedlq6B66D1E6",
|
|
220
|
+
"Arn"
|
|
221
|
+
]
|
|
222
|
+
},
|
|
223
|
+
"maxReceiveCount": 15
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
},
|
|
227
|
+
"constructInfo": {
|
|
228
|
+
"fqn": "aws-cdk-lib.aws_sqs.CfnQueue",
|
|
229
|
+
"version": "2.175.1"
|
|
230
|
+
}
|
|
231
|
+
},
|
|
232
|
+
"Policy": {
|
|
233
|
+
"id": "Policy",
|
|
234
|
+
"path": "evtsqs-custom-target/construct/queue/Policy",
|
|
235
|
+
"children": {
|
|
236
|
+
"Resource": {
|
|
237
|
+
"id": "Resource",
|
|
238
|
+
"path": "evtsqs-custom-target/construct/queue/Policy/Resource",
|
|
239
|
+
"attributes": {
|
|
240
|
+
"aws:cdk:cloudformation:type": "AWS::SQS::QueuePolicy",
|
|
241
|
+
"aws:cdk:cloudformation:props": {
|
|
242
|
+
"policyDocument": {
|
|
243
|
+
"Statement": [
|
|
244
|
+
{
|
|
245
|
+
"Action": [
|
|
246
|
+
"sqs:AddPermission",
|
|
247
|
+
"sqs:DeleteMessage",
|
|
248
|
+
"sqs:GetQueueAttributes",
|
|
249
|
+
"sqs:ReceiveMessage",
|
|
250
|
+
"sqs:RemovePermission",
|
|
251
|
+
"sqs:SendMessage",
|
|
252
|
+
"sqs:SetQueueAttributes"
|
|
253
|
+
],
|
|
254
|
+
"Effect": "Allow",
|
|
255
|
+
"Principal": {
|
|
256
|
+
"AWS": {
|
|
257
|
+
"Fn::Join": [
|
|
258
|
+
"",
|
|
259
|
+
[
|
|
260
|
+
"arn:",
|
|
261
|
+
{
|
|
262
|
+
"Ref": "AWS::Partition"
|
|
263
|
+
},
|
|
264
|
+
":iam::",
|
|
265
|
+
{
|
|
266
|
+
"Ref": "AWS::AccountId"
|
|
267
|
+
},
|
|
268
|
+
":root"
|
|
269
|
+
]
|
|
270
|
+
]
|
|
271
|
+
}
|
|
272
|
+
},
|
|
273
|
+
"Resource": {
|
|
274
|
+
"Fn::GetAtt": [
|
|
275
|
+
"constructqueue481DC1EC",
|
|
276
|
+
"Arn"
|
|
277
|
+
]
|
|
278
|
+
},
|
|
279
|
+
"Sid": "QueueOwnerOnlyAccess"
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
"Action": "SQS:*",
|
|
283
|
+
"Condition": {
|
|
284
|
+
"Bool": {
|
|
285
|
+
"aws:SecureTransport": "false"
|
|
286
|
+
}
|
|
287
|
+
},
|
|
288
|
+
"Effect": "Deny",
|
|
289
|
+
"Principal": {
|
|
290
|
+
"AWS": "*"
|
|
291
|
+
},
|
|
292
|
+
"Resource": {
|
|
293
|
+
"Fn::GetAtt": [
|
|
294
|
+
"constructqueue481DC1EC",
|
|
295
|
+
"Arn"
|
|
296
|
+
]
|
|
297
|
+
},
|
|
298
|
+
"Sid": "HttpsOnly"
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
"Action": [
|
|
302
|
+
"sqs:GetQueueAttributes",
|
|
303
|
+
"sqs:GetQueueUrl",
|
|
304
|
+
"sqs:SendMessage"
|
|
305
|
+
],
|
|
306
|
+
"Condition": {
|
|
307
|
+
"StringEquals": {
|
|
308
|
+
"aws:SourceAccount": {
|
|
309
|
+
"Ref": "AWS::AccountId"
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
},
|
|
313
|
+
"Effect": "Allow",
|
|
314
|
+
"Principal": {
|
|
315
|
+
"Service": "events.amazonaws.com"
|
|
316
|
+
},
|
|
317
|
+
"Resource": {
|
|
318
|
+
"Fn::GetAtt": [
|
|
319
|
+
"constructqueue481DC1EC",
|
|
320
|
+
"Arn"
|
|
321
|
+
]
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
],
|
|
325
|
+
"Version": "2012-10-17"
|
|
326
|
+
},
|
|
327
|
+
"queues": [
|
|
328
|
+
{
|
|
329
|
+
"Ref": "constructqueue481DC1EC"
|
|
330
|
+
}
|
|
331
|
+
]
|
|
332
|
+
}
|
|
333
|
+
},
|
|
334
|
+
"constructInfo": {
|
|
335
|
+
"fqn": "aws-cdk-lib.aws_sqs.CfnQueuePolicy",
|
|
336
|
+
"version": "2.175.1"
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
},
|
|
340
|
+
"constructInfo": {
|
|
341
|
+
"fqn": "aws-cdk-lib.aws_sqs.QueuePolicy",
|
|
342
|
+
"version": "2.175.1"
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
},
|
|
346
|
+
"constructInfo": {
|
|
347
|
+
"fqn": "aws-cdk-lib.aws_sqs.Queue",
|
|
348
|
+
"version": "2.175.1"
|
|
349
|
+
}
|
|
350
|
+
},
|
|
351
|
+
"EventsRule": {
|
|
352
|
+
"id": "EventsRule",
|
|
353
|
+
"path": "evtsqs-custom-target/construct/EventsRule",
|
|
354
|
+
"children": {
|
|
355
|
+
"Resource": {
|
|
356
|
+
"id": "Resource",
|
|
357
|
+
"path": "evtsqs-custom-target/construct/EventsRule/Resource",
|
|
358
|
+
"attributes": {
|
|
359
|
+
"aws:cdk:cloudformation:type": "AWS::Events::Rule",
|
|
360
|
+
"aws:cdk:cloudformation:props": {
|
|
361
|
+
"scheduleExpression": "rate(5 minutes)",
|
|
362
|
+
"state": "ENABLED",
|
|
363
|
+
"targets": [
|
|
364
|
+
{
|
|
365
|
+
"id": "Target0",
|
|
366
|
+
"arn": {
|
|
367
|
+
"Fn::GetAtt": [
|
|
368
|
+
"constructqueue481DC1EC",
|
|
369
|
+
"Arn"
|
|
370
|
+
]
|
|
371
|
+
},
|
|
372
|
+
"retryPolicy": {
|
|
373
|
+
"maximumRetryAttempts": 2,
|
|
374
|
+
"maximumEventAgeInSeconds": 3600
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
]
|
|
378
|
+
}
|
|
379
|
+
},
|
|
380
|
+
"constructInfo": {
|
|
381
|
+
"fqn": "aws-cdk-lib.aws_events.CfnRule",
|
|
382
|
+
"version": "2.175.1"
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
},
|
|
386
|
+
"constructInfo": {
|
|
387
|
+
"fqn": "aws-cdk-lib.aws_events.Rule",
|
|
388
|
+
"version": "2.175.1"
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
},
|
|
392
|
+
"constructInfo": {
|
|
393
|
+
"fqn": "@aws-solutions-constructs/aws-eventbridge-sqs.EventbridgeToSqs",
|
|
394
|
+
"version": "2.76.0"
|
|
395
|
+
}
|
|
396
|
+
},
|
|
397
|
+
"Integ": {
|
|
398
|
+
"id": "Integ",
|
|
399
|
+
"path": "evtsqs-custom-target/Integ",
|
|
400
|
+
"children": {
|
|
401
|
+
"DefaultTest": {
|
|
402
|
+
"id": "DefaultTest",
|
|
403
|
+
"path": "evtsqs-custom-target/Integ/DefaultTest",
|
|
404
|
+
"children": {
|
|
405
|
+
"Default": {
|
|
406
|
+
"id": "Default",
|
|
407
|
+
"path": "evtsqs-custom-target/Integ/DefaultTest/Default",
|
|
408
|
+
"constructInfo": {
|
|
409
|
+
"fqn": "constructs.Construct",
|
|
410
|
+
"version": "10.4.2"
|
|
411
|
+
}
|
|
412
|
+
},
|
|
413
|
+
"DeployAssert": {
|
|
414
|
+
"id": "DeployAssert",
|
|
415
|
+
"path": "evtsqs-custom-target/Integ/DefaultTest/DeployAssert",
|
|
416
|
+
"children": {
|
|
417
|
+
"BootstrapVersion": {
|
|
418
|
+
"id": "BootstrapVersion",
|
|
419
|
+
"path": "evtsqs-custom-target/Integ/DefaultTest/DeployAssert/BootstrapVersion",
|
|
420
|
+
"constructInfo": {
|
|
421
|
+
"fqn": "aws-cdk-lib.CfnParameter",
|
|
422
|
+
"version": "2.175.1"
|
|
423
|
+
}
|
|
424
|
+
},
|
|
425
|
+
"CheckBootstrapVersion": {
|
|
426
|
+
"id": "CheckBootstrapVersion",
|
|
427
|
+
"path": "evtsqs-custom-target/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion",
|
|
428
|
+
"constructInfo": {
|
|
429
|
+
"fqn": "aws-cdk-lib.CfnRule",
|
|
430
|
+
"version": "2.175.1"
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
},
|
|
434
|
+
"constructInfo": {
|
|
435
|
+
"fqn": "aws-cdk-lib.Stack",
|
|
436
|
+
"version": "2.175.1"
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
},
|
|
440
|
+
"constructInfo": {
|
|
441
|
+
"fqn": "@aws-cdk/integ-tests-alpha.IntegTestCase",
|
|
442
|
+
"version": "2.175.1-alpha.0"
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
},
|
|
446
|
+
"constructInfo": {
|
|
447
|
+
"fqn": "@aws-cdk/integ-tests-alpha.IntegTest",
|
|
448
|
+
"version": "2.175.1-alpha.0"
|
|
449
|
+
}
|
|
450
|
+
},
|
|
451
|
+
"BootstrapVersion": {
|
|
452
|
+
"id": "BootstrapVersion",
|
|
453
|
+
"path": "evtsqs-custom-target/BootstrapVersion",
|
|
454
|
+
"constructInfo": {
|
|
455
|
+
"fqn": "aws-cdk-lib.CfnParameter",
|
|
456
|
+
"version": "2.175.1"
|
|
457
|
+
}
|
|
458
|
+
},
|
|
459
|
+
"CheckBootstrapVersion": {
|
|
460
|
+
"id": "CheckBootstrapVersion",
|
|
461
|
+
"path": "evtsqs-custom-target/CheckBootstrapVersion",
|
|
462
|
+
"constructInfo": {
|
|
463
|
+
"fqn": "aws-cdk-lib.CfnRule",
|
|
464
|
+
"version": "2.175.1"
|
|
465
|
+
}
|
|
466
|
+
}
|
|
467
|
+
},
|
|
468
|
+
"constructInfo": {
|
|
469
|
+
"fqn": "aws-cdk-lib.Stack",
|
|
470
|
+
"version": "2.175.1"
|
|
471
|
+
}
|
|
472
|
+
},
|
|
473
|
+
"Tree": {
|
|
474
|
+
"id": "Tree",
|
|
475
|
+
"path": "Tree",
|
|
476
|
+
"constructInfo": {
|
|
477
|
+
"fqn": "constructs.Construct",
|
|
478
|
+
"version": "10.4.2"
|
|
479
|
+
}
|
|
480
|
+
}
|
|
481
|
+
},
|
|
482
|
+
"constructInfo": {
|
|
483
|
+
"fqn": "aws-cdk-lib.App",
|
|
484
|
+
"version": "2.175.1"
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"
|
|
1
|
+
{"version":"39.0.0"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "
|
|
2
|
+
"version": "39.0.0",
|
|
3
3
|
"files": {
|
|
4
|
-
"
|
|
4
|
+
"9acaa89ceee5e5b8ab6d77a48e9ba3aaa89df75c8f22ffdbeccaf7ef4ef6a3fd": {
|
|
5
5
|
"source": {
|
|
6
6
|
"path": "evtsqs-exist-bus.template.json",
|
|
7
7
|
"packaging": "file"
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"destinations": {
|
|
10
10
|
"current_account-current_region": {
|
|
11
11
|
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
|
|
12
|
-
"objectKey": "
|
|
12
|
+
"objectKey": "9acaa89ceee5e5b8ab6d77a48e9ba3aaa89df75c8f22ffdbeccaf7ef4ef6a3fd.json",
|
|
13
13
|
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
|
|
14
14
|
}
|
|
15
15
|
}
|
|
@@ -36,6 +36,13 @@
|
|
|
36
36
|
"kms:GenerateDataKey*",
|
|
37
37
|
"kms:ReEncrypt*"
|
|
38
38
|
],
|
|
39
|
+
"Condition": {
|
|
40
|
+
"StringEquals": {
|
|
41
|
+
"aws:SourceAccount": {
|
|
42
|
+
"Ref": "AWS::AccountId"
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
},
|
|
39
46
|
"Effect": "Allow",
|
|
40
47
|
"Principal": {
|
|
41
48
|
"Service": "events.amazonaws.com"
|
|
@@ -73,6 +80,13 @@
|
|
|
73
80
|
"sqs:GetQueueUrl",
|
|
74
81
|
"sqs:SendMessage"
|
|
75
82
|
],
|
|
83
|
+
"Condition": {
|
|
84
|
+
"StringEquals": {
|
|
85
|
+
"aws:SourceAccount": {
|
|
86
|
+
"Ref": "AWS::AccountId"
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
},
|
|
76
90
|
"Effect": "Allow",
|
|
77
91
|
"Principal": {
|
|
78
92
|
"Service": "events.amazonaws.com"
|
|
@@ -120,12 +134,7 @@
|
|
|
120
134
|
"Arn"
|
|
121
135
|
]
|
|
122
136
|
},
|
|
123
|
-
"Id":
|
|
124
|
-
"Fn::GetAtt": [
|
|
125
|
-
"MyQueueE6CA6235",
|
|
126
|
-
"QueueName"
|
|
127
|
-
]
|
|
128
|
-
}
|
|
137
|
+
"Id": "Target0"
|
|
129
138
|
}
|
|
130
139
|
]
|
|
131
140
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "
|
|
2
|
+
"version": "39.0.0",
|
|
3
3
|
"artifacts": {
|
|
4
4
|
"evtsqsexistbusIntegDefaultTestDeployAssertD6166996.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}/9acaa89ceee5e5b8ab6d77a48e9ba3aaa89df75c8f22ffdbeccaf7ef4ef6a3fd.json",
|
|
70
70
|
"requiresBootstrapStackVersion": 6,
|
|
71
71
|
"bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version",
|
|
72
72
|
"additionalDependencies": [
|