@aws-solutions-constructs/aws-iot-sqs 2.50.0 → 2.52.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 (85) hide show
  1. package/.eslintignore +3 -1
  2. package/.jsii +50 -5
  3. package/integ.config.json +7 -0
  4. package/lib/index.js +1 -1
  5. package/package.json +12 -11
  6. package/test/integ.iotsqs-custom-max-receive-count.js +5 -2
  7. package/test/integ.iotsqs-custom-max-receive-count.js.snapshot/cdk.out +1 -0
  8. package/test/integ.iotsqs-custom-max-receive-count.js.snapshot/integ.json +12 -0
  9. package/test/integ.iotsqs-custom-max-receive-count.js.snapshot/iotsqs-custom-max-receive-count.assets.json +19 -0
  10. package/test/integ.iotsqs-custom-max-receive-count.js.snapshot/iotsqs-custom-max-receive-count.template.json +362 -0
  11. package/test/integ.iotsqs-custom-max-receive-count.js.snapshot/iotsqscustommaxreceivecountIntegDefaultTestDeployAssert73D6F7FF.assets.json +19 -0
  12. package/test/integ.iotsqs-custom-max-receive-count.js.snapshot/iotsqscustommaxreceivecountIntegDefaultTestDeployAssert73D6F7FF.template.json +36 -0
  13. package/test/integ.iotsqs-custom-max-receive-count.js.snapshot/manifest.json +161 -0
  14. package/test/integ.iotsqs-custom-max-receive-count.js.snapshot/tree.json +570 -0
  15. package/test/integ.iotsqs-dead-letter-queue-off.js +5 -2
  16. package/test/integ.iotsqs-dead-letter-queue-off.js.snapshot/cdk.out +1 -0
  17. package/test/integ.iotsqs-dead-letter-queue-off.js.snapshot/integ.json +12 -0
  18. package/test/integ.iotsqs-dead-letter-queue-off.js.snapshot/iotsqs-dead-letter-queue-off.assets.json +19 -0
  19. package/test/integ.iotsqs-dead-letter-queue-off.js.snapshot/iotsqs-dead-letter-queue-off.template.json +273 -0
  20. package/test/integ.iotsqs-dead-letter-queue-off.js.snapshot/iotsqsdeadletterqueueoffIntegDefaultTestDeployAssertDAEB8150.assets.json +19 -0
  21. package/test/integ.iotsqs-dead-letter-queue-off.js.snapshot/iotsqsdeadletterqueueoffIntegDefaultTestDeployAssertDAEB8150.template.json +36 -0
  22. package/test/integ.iotsqs-dead-letter-queue-off.js.snapshot/manifest.json +149 -0
  23. package/test/integ.iotsqs-dead-letter-queue-off.js.snapshot/tree.json +447 -0
  24. package/test/integ.iotsqs-default-arguments.js +5 -2
  25. package/test/integ.iotsqs-default-arguments.js.snapshot/cdk.out +1 -0
  26. package/test/integ.iotsqs-default-arguments.js.snapshot/integ.json +12 -0
  27. package/test/integ.iotsqs-default-arguments.js.snapshot/iotsqs-default-arguments.assets.json +19 -0
  28. package/test/integ.iotsqs-default-arguments.js.snapshot/iotsqs-default-arguments.template.json +360 -0
  29. package/test/integ.iotsqs-default-arguments.js.snapshot/iotsqsdefaultargumentsIntegDefaultTestDeployAssertB545C643.assets.json +19 -0
  30. package/test/integ.iotsqs-default-arguments.js.snapshot/iotsqsdefaultargumentsIntegDefaultTestDeployAssertB545C643.template.json +36 -0
  31. package/test/integ.iotsqs-default-arguments.js.snapshot/manifest.json +161 -0
  32. package/test/integ.iotsqs-default-arguments.js.snapshot/tree.json +568 -0
  33. package/test/integ.iotsqs-existing-queue.js +5 -2
  34. package/test/integ.iotsqs-existing-queue.js.snapshot/cdk.out +1 -0
  35. package/test/integ.iotsqs-existing-queue.js.snapshot/integ.json +12 -0
  36. package/test/integ.iotsqs-existing-queue.js.snapshot/iotsqs-existing-queue.assets.json +19 -0
  37. package/test/integ.iotsqs-existing-queue.js.snapshot/iotsqs-existing-queue.template.json +120 -0
  38. package/test/integ.iotsqs-existing-queue.js.snapshot/iotsqsexistingqueueIntegDefaultTestDeployAssertC1833CEE.assets.json +19 -0
  39. package/test/integ.iotsqs-existing-queue.js.snapshot/iotsqsexistingqueueIntegDefaultTestDeployAssertC1833CEE.template.json +36 -0
  40. package/test/integ.iotsqs-existing-queue.js.snapshot/manifest.json +131 -0
  41. package/test/integ.iotsqs-existing-queue.js.snapshot/tree.json +260 -0
  42. package/test/integ.iotsqs-use-kms-key-props.js +5 -2
  43. package/test/integ.iotsqs-use-kms-key-props.js.snapshot/cdk.out +1 -0
  44. package/test/integ.iotsqs-use-kms-key-props.js.snapshot/integ.json +12 -0
  45. package/test/integ.iotsqs-use-kms-key-props.js.snapshot/iotsqs-use-kms-key-props.assets.json +19 -0
  46. package/test/integ.iotsqs-use-kms-key-props.js.snapshot/iotsqs-use-kms-key-props.template.json +372 -0
  47. package/test/integ.iotsqs-use-kms-key-props.js.snapshot/iotsqsusekmskeypropsIntegDefaultTestDeployAssert4B209F6F.assets.json +19 -0
  48. package/test/integ.iotsqs-use-kms-key-props.js.snapshot/iotsqsusekmskeypropsIntegDefaultTestDeployAssert4B209F6F.template.json +36 -0
  49. package/test/integ.iotsqs-use-kms-key-props.js.snapshot/manifest.json +167 -0
  50. package/test/integ.iotsqs-use-kms-key-props.js.snapshot/tree.json +598 -0
  51. package/test/integ.iotsqs-use-queue-props.js +5 -2
  52. package/test/integ.iotsqs-use-queue-props.js.snapshot/cdk.out +1 -0
  53. package/test/integ.iotsqs-use-queue-props.js.snapshot/integ.json +12 -0
  54. package/test/integ.iotsqs-use-queue-props.js.snapshot/iotsqs-use-queue-props.assets.json +19 -0
  55. package/test/integ.iotsqs-use-queue-props.js.snapshot/iotsqs-use-queue-props.template.json +362 -0
  56. package/test/integ.iotsqs-use-queue-props.js.snapshot/iotsqsusequeuepropsIntegDefaultTestDeployAssertE88E6656.assets.json +19 -0
  57. package/test/integ.iotsqs-use-queue-props.js.snapshot/iotsqsusequeuepropsIntegDefaultTestDeployAssertE88E6656.template.json +36 -0
  58. package/test/integ.iotsqs-use-queue-props.js.snapshot/manifest.json +161 -0
  59. package/test/integ.iotsqs-use-queue-props.js.snapshot/tree.json +570 -0
  60. package/test/integ.iotsqs-with-existing-key.js +5 -2
  61. package/test/integ.iotsqs-with-existing-key.js.snapshot/cdk.out +1 -0
  62. package/test/integ.iotsqs-with-existing-key.js.snapshot/integ.json +12 -0
  63. package/test/integ.iotsqs-with-existing-key.js.snapshot/iotsqs-with-existing-key.assets.json +19 -0
  64. package/test/integ.iotsqs-with-existing-key.js.snapshot/iotsqs-with-existing-key.template.json +372 -0
  65. package/test/integ.iotsqs-with-existing-key.js.snapshot/iotsqswithexistingkeyIntegDefaultTestDeployAssert7A2CD336.assets.json +19 -0
  66. package/test/integ.iotsqs-with-existing-key.js.snapshot/iotsqswithexistingkeyIntegDefaultTestDeployAssert7A2CD336.template.json +36 -0
  67. package/test/integ.iotsqs-with-existing-key.js.snapshot/manifest.json +167 -0
  68. package/test/integ.iotsqs-with-existing-key.js.snapshot/tree.json +598 -0
  69. package/test/integ.iotsqs-without-create-kms-key.js +5 -2
  70. package/test/integ.iotsqs-without-create-kms-key.js.snapshot/cdk.out +1 -0
  71. package/test/integ.iotsqs-without-create-kms-key.js.snapshot/integ.json +12 -0
  72. package/test/integ.iotsqs-without-create-kms-key.js.snapshot/iotsqs-without-create-kms-key.assets.json +19 -0
  73. package/test/integ.iotsqs-without-create-kms-key.js.snapshot/iotsqs-without-create-kms-key.template.json +278 -0
  74. package/test/integ.iotsqs-without-create-kms-key.js.snapshot/iotsqswithoutcreatekmskeyIntegDefaultTestDeployAssertF21DB5E1.assets.json +19 -0
  75. package/test/integ.iotsqs-without-create-kms-key.js.snapshot/iotsqswithoutcreatekmskeyIntegDefaultTestDeployAssertF21DB5E1.template.json +36 -0
  76. package/test/integ.iotsqs-without-create-kms-key.js.snapshot/manifest.json +149 -0
  77. package/test/integ.iotsqs-without-create-kms-key.js.snapshot/tree.json +470 -0
  78. package/test/integ.iotsqs-custom-max-receive-count.expected.json +0 -376
  79. package/test/integ.iotsqs-dead-letter-queue-off.expected.json +0 -287
  80. package/test/integ.iotsqs-default-arguments.expected.json +0 -374
  81. package/test/integ.iotsqs-existing-queue.expected.json +0 -120
  82. package/test/integ.iotsqs-use-kms-key-props.expected.json +0 -386
  83. package/test/integ.iotsqs-use-queue-props.expected.json +0 -376
  84. package/test/integ.iotsqs-with-existing-key.expected.json +0 -386
  85. package/test/integ.iotsqs-without-create-kms-key.expected.json +0 -278
@@ -0,0 +1,372 @@
1
+ {
2
+ "Description": "Integration Test for aws-iot-sqs",
3
+ "Resources": {
4
+ "existingkey205DFC01": {
5
+ "Type": "AWS::KMS::Key",
6
+ "Properties": {
7
+ "EnableKeyRotation": true,
8
+ "KeyPolicy": {
9
+ "Statement": [
10
+ {
11
+ "Action": "kms:*",
12
+ "Effect": "Allow",
13
+ "Principal": {
14
+ "AWS": {
15
+ "Fn::Join": [
16
+ "",
17
+ [
18
+ "arn:",
19
+ {
20
+ "Ref": "AWS::Partition"
21
+ },
22
+ ":iam::",
23
+ {
24
+ "Ref": "AWS::AccountId"
25
+ },
26
+ ":root"
27
+ ]
28
+ ]
29
+ }
30
+ },
31
+ "Resource": "*"
32
+ },
33
+ {
34
+ "Action": [
35
+ "kms:Decrypt",
36
+ "kms:Encrypt"
37
+ ],
38
+ "Effect": "Allow",
39
+ "Principal": {
40
+ "AWS": {
41
+ "Fn::Join": [
42
+ "",
43
+ [
44
+ "arn:",
45
+ {
46
+ "Ref": "AWS::Partition"
47
+ },
48
+ ":iam::",
49
+ {
50
+ "Ref": "AWS::AccountId"
51
+ },
52
+ ":root"
53
+ ]
54
+ ]
55
+ }
56
+ },
57
+ "Resource": "*"
58
+ }
59
+ ],
60
+ "Version": "2012-10-17"
61
+ }
62
+ },
63
+ "UpdateReplacePolicy": "Retain",
64
+ "DeletionPolicy": "Retain"
65
+ },
66
+ "existingkeyAliasE18FEC67": {
67
+ "Type": "AWS::KMS::Alias",
68
+ "Properties": {
69
+ "AliasName": "alias/existing-key-alias",
70
+ "TargetKeyId": {
71
+ "Fn::GetAtt": [
72
+ "existingkey205DFC01",
73
+ "Arn"
74
+ ]
75
+ }
76
+ }
77
+ },
78
+ "testiotsqsstackdeadLetterQueueA417EB97": {
79
+ "Type": "AWS::SQS::Queue",
80
+ "Properties": {
81
+ "KmsMasterKeyId": "alias/aws/sqs"
82
+ },
83
+ "UpdateReplacePolicy": "Delete",
84
+ "DeletionPolicy": "Delete"
85
+ },
86
+ "testiotsqsstackdeadLetterQueuePolicyD0F4B7D3": {
87
+ "Type": "AWS::SQS::QueuePolicy",
88
+ "Properties": {
89
+ "PolicyDocument": {
90
+ "Statement": [
91
+ {
92
+ "Action": [
93
+ "sqs:AddPermission",
94
+ "sqs:DeleteMessage",
95
+ "sqs:GetQueueAttributes",
96
+ "sqs:ReceiveMessage",
97
+ "sqs:RemovePermission",
98
+ "sqs:SendMessage",
99
+ "sqs:SetQueueAttributes"
100
+ ],
101
+ "Effect": "Allow",
102
+ "Principal": {
103
+ "AWS": {
104
+ "Fn::Join": [
105
+ "",
106
+ [
107
+ "arn:",
108
+ {
109
+ "Ref": "AWS::Partition"
110
+ },
111
+ ":iam::",
112
+ {
113
+ "Ref": "AWS::AccountId"
114
+ },
115
+ ":root"
116
+ ]
117
+ ]
118
+ }
119
+ },
120
+ "Resource": {
121
+ "Fn::GetAtt": [
122
+ "testiotsqsstackdeadLetterQueueA417EB97",
123
+ "Arn"
124
+ ]
125
+ },
126
+ "Sid": "QueueOwnerOnlyAccess"
127
+ },
128
+ {
129
+ "Action": "SQS:*",
130
+ "Condition": {
131
+ "Bool": {
132
+ "aws:SecureTransport": "false"
133
+ }
134
+ },
135
+ "Effect": "Deny",
136
+ "Principal": {
137
+ "AWS": "*"
138
+ },
139
+ "Resource": {
140
+ "Fn::GetAtt": [
141
+ "testiotsqsstackdeadLetterQueueA417EB97",
142
+ "Arn"
143
+ ]
144
+ },
145
+ "Sid": "HttpsOnly"
146
+ }
147
+ ],
148
+ "Version": "2012-10-17"
149
+ },
150
+ "Queues": [
151
+ {
152
+ "Ref": "testiotsqsstackdeadLetterQueueA417EB97"
153
+ }
154
+ ]
155
+ }
156
+ },
157
+ "testiotsqsstackqueue3DEA94EF": {
158
+ "Type": "AWS::SQS::Queue",
159
+ "Properties": {
160
+ "KmsMasterKeyId": {
161
+ "Fn::GetAtt": [
162
+ "existingkey205DFC01",
163
+ "Arn"
164
+ ]
165
+ },
166
+ "RedrivePolicy": {
167
+ "deadLetterTargetArn": {
168
+ "Fn::GetAtt": [
169
+ "testiotsqsstackdeadLetterQueueA417EB97",
170
+ "Arn"
171
+ ]
172
+ },
173
+ "maxReceiveCount": 15
174
+ }
175
+ },
176
+ "UpdateReplacePolicy": "Delete",
177
+ "DeletionPolicy": "Delete"
178
+ },
179
+ "testiotsqsstackqueuePolicy76FA6440": {
180
+ "Type": "AWS::SQS::QueuePolicy",
181
+ "Properties": {
182
+ "PolicyDocument": {
183
+ "Statement": [
184
+ {
185
+ "Action": [
186
+ "sqs:AddPermission",
187
+ "sqs:DeleteMessage",
188
+ "sqs:GetQueueAttributes",
189
+ "sqs:ReceiveMessage",
190
+ "sqs:RemovePermission",
191
+ "sqs:SendMessage",
192
+ "sqs:SetQueueAttributes"
193
+ ],
194
+ "Effect": "Allow",
195
+ "Principal": {
196
+ "AWS": {
197
+ "Fn::Join": [
198
+ "",
199
+ [
200
+ "arn:",
201
+ {
202
+ "Ref": "AWS::Partition"
203
+ },
204
+ ":iam::",
205
+ {
206
+ "Ref": "AWS::AccountId"
207
+ },
208
+ ":root"
209
+ ]
210
+ ]
211
+ }
212
+ },
213
+ "Resource": {
214
+ "Fn::GetAtt": [
215
+ "testiotsqsstackqueue3DEA94EF",
216
+ "Arn"
217
+ ]
218
+ },
219
+ "Sid": "QueueOwnerOnlyAccess"
220
+ },
221
+ {
222
+ "Action": "SQS:*",
223
+ "Condition": {
224
+ "Bool": {
225
+ "aws:SecureTransport": "false"
226
+ }
227
+ },
228
+ "Effect": "Deny",
229
+ "Principal": {
230
+ "AWS": "*"
231
+ },
232
+ "Resource": {
233
+ "Fn::GetAtt": [
234
+ "testiotsqsstackqueue3DEA94EF",
235
+ "Arn"
236
+ ]
237
+ },
238
+ "Sid": "HttpsOnly"
239
+ }
240
+ ],
241
+ "Version": "2012-10-17"
242
+ },
243
+ "Queues": [
244
+ {
245
+ "Ref": "testiotsqsstackqueue3DEA94EF"
246
+ }
247
+ ]
248
+ }
249
+ },
250
+ "testiotsqsstackiotactionsrole5F8821AA": {
251
+ "Type": "AWS::IAM::Role",
252
+ "Properties": {
253
+ "AssumeRolePolicyDocument": {
254
+ "Statement": [
255
+ {
256
+ "Action": "sts:AssumeRole",
257
+ "Effect": "Allow",
258
+ "Principal": {
259
+ "Service": "iot.amazonaws.com"
260
+ }
261
+ }
262
+ ],
263
+ "Version": "2012-10-17"
264
+ }
265
+ }
266
+ },
267
+ "testiotsqsstackiotactionsroleDefaultPolicy02ED7F00": {
268
+ "Type": "AWS::IAM::Policy",
269
+ "Properties": {
270
+ "PolicyDocument": {
271
+ "Statement": [
272
+ {
273
+ "Action": [
274
+ "sqs:GetQueueAttributes",
275
+ "sqs:GetQueueUrl",
276
+ "sqs:SendMessage"
277
+ ],
278
+ "Effect": "Allow",
279
+ "Resource": {
280
+ "Fn::GetAtt": [
281
+ "testiotsqsstackqueue3DEA94EF",
282
+ "Arn"
283
+ ]
284
+ }
285
+ },
286
+ {
287
+ "Action": [
288
+ "kms:Decrypt",
289
+ "kms:Encrypt",
290
+ "kms:GenerateDataKey*",
291
+ "kms:ReEncrypt*"
292
+ ],
293
+ "Effect": "Allow",
294
+ "Resource": {
295
+ "Fn::GetAtt": [
296
+ "existingkey205DFC01",
297
+ "Arn"
298
+ ]
299
+ }
300
+ }
301
+ ],
302
+ "Version": "2012-10-17"
303
+ },
304
+ "PolicyName": "testiotsqsstackiotactionsroleDefaultPolicy02ED7F00",
305
+ "Roles": [
306
+ {
307
+ "Ref": "testiotsqsstackiotactionsrole5F8821AA"
308
+ }
309
+ ]
310
+ }
311
+ },
312
+ "testiotsqsstackIotTopicRule02F8F602": {
313
+ "Type": "AWS::IoT::TopicRule",
314
+ "Properties": {
315
+ "TopicRulePayload": {
316
+ "Actions": [
317
+ {
318
+ "Sqs": {
319
+ "QueueUrl": {
320
+ "Ref": "testiotsqsstackqueue3DEA94EF"
321
+ },
322
+ "RoleArn": {
323
+ "Fn::GetAtt": [
324
+ "testiotsqsstackiotactionsrole5F8821AA",
325
+ "Arn"
326
+ ]
327
+ }
328
+ }
329
+ }
330
+ ],
331
+ "Description": "Processing messages from IoT devices or factory machines",
332
+ "RuleDisabled": false,
333
+ "Sql": "SELECT * FROM 'test/topic/#'"
334
+ }
335
+ }
336
+ }
337
+ },
338
+ "Parameters": {
339
+ "BootstrapVersion": {
340
+ "Type": "AWS::SSM::Parameter::Value<String>",
341
+ "Default": "/cdk-bootstrap/hnb659fds/version",
342
+ "Description": "Version of the CDK Bootstrap resources in this environment, automatically retrieved from SSM Parameter Store. [cdk:skip]"
343
+ }
344
+ },
345
+ "Rules": {
346
+ "CheckBootstrapVersion": {
347
+ "Assertions": [
348
+ {
349
+ "Assert": {
350
+ "Fn::Not": [
351
+ {
352
+ "Fn::Contains": [
353
+ [
354
+ "1",
355
+ "2",
356
+ "3",
357
+ "4",
358
+ "5"
359
+ ],
360
+ {
361
+ "Ref": "BootstrapVersion"
362
+ }
363
+ ]
364
+ }
365
+ ]
366
+ },
367
+ "AssertDescription": "CDK bootstrap stack version 6 required. Please run 'cdk bootstrap' with a recent version of the CDK CLI."
368
+ }
369
+ ]
370
+ }
371
+ }
372
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "version": "36.0.0",
3
+ "files": {
4
+ "21fbb51d7b23f6a6c262b46a9caee79d744a3ac019fd45422d988b96d44b2a22": {
5
+ "source": {
6
+ "path": "iotsqswithexistingkeyIntegDefaultTestDeployAssert7A2CD336.template.json",
7
+ "packaging": "file"
8
+ },
9
+ "destinations": {
10
+ "current_account-current_region": {
11
+ "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
12
+ "objectKey": "21fbb51d7b23f6a6c262b46a9caee79d744a3ac019fd45422d988b96d44b2a22.json",
13
+ "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
14
+ }
15
+ }
16
+ }
17
+ },
18
+ "dockerImages": {}
19
+ }
@@ -0,0 +1,36 @@
1
+ {
2
+ "Parameters": {
3
+ "BootstrapVersion": {
4
+ "Type": "AWS::SSM::Parameter::Value<String>",
5
+ "Default": "/cdk-bootstrap/hnb659fds/version",
6
+ "Description": "Version of the CDK Bootstrap resources in this environment, automatically retrieved from SSM Parameter Store. [cdk:skip]"
7
+ }
8
+ },
9
+ "Rules": {
10
+ "CheckBootstrapVersion": {
11
+ "Assertions": [
12
+ {
13
+ "Assert": {
14
+ "Fn::Not": [
15
+ {
16
+ "Fn::Contains": [
17
+ [
18
+ "1",
19
+ "2",
20
+ "3",
21
+ "4",
22
+ "5"
23
+ ],
24
+ {
25
+ "Ref": "BootstrapVersion"
26
+ }
27
+ ]
28
+ }
29
+ ]
30
+ },
31
+ "AssertDescription": "CDK bootstrap stack version 6 required. Please run 'cdk bootstrap' with a recent version of the CDK CLI."
32
+ }
33
+ ]
34
+ }
35
+ }
36
+ }
@@ -0,0 +1,167 @@
1
+ {
2
+ "version": "36.0.0",
3
+ "artifacts": {
4
+ "iotsqswithexistingkeyIntegDefaultTestDeployAssert7A2CD336.assets": {
5
+ "type": "cdk:asset-manifest",
6
+ "properties": {
7
+ "file": "iotsqswithexistingkeyIntegDefaultTestDeployAssert7A2CD336.assets.json",
8
+ "requiresBootstrapStackVersion": 6,
9
+ "bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version"
10
+ }
11
+ },
12
+ "iotsqswithexistingkeyIntegDefaultTestDeployAssert7A2CD336": {
13
+ "type": "aws:cloudformation:stack",
14
+ "environment": "aws://unknown-account/unknown-region",
15
+ "properties": {
16
+ "templateFile": "iotsqswithexistingkeyIntegDefaultTestDeployAssert7A2CD336.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
+ "iotsqswithexistingkeyIntegDefaultTestDeployAssert7A2CD336.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
+ "iotsqswithexistingkeyIntegDefaultTestDeployAssert7A2CD336.assets"
35
+ ],
36
+ "metadata": {
37
+ "/iotsqs-with-existing-key/Integ/DefaultTest/DeployAssert/BootstrapVersion": [
38
+ {
39
+ "type": "aws:cdk:logicalId",
40
+ "data": "BootstrapVersion"
41
+ }
42
+ ],
43
+ "/iotsqs-with-existing-key/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion": [
44
+ {
45
+ "type": "aws:cdk:logicalId",
46
+ "data": "CheckBootstrapVersion"
47
+ }
48
+ ]
49
+ },
50
+ "displayName": "iotsqs-with-existing-key/Integ/DefaultTest/DeployAssert"
51
+ },
52
+ "iotsqs-with-existing-key.assets": {
53
+ "type": "cdk:asset-manifest",
54
+ "properties": {
55
+ "file": "iotsqs-with-existing-key.assets.json",
56
+ "requiresBootstrapStackVersion": 6,
57
+ "bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version"
58
+ }
59
+ },
60
+ "iotsqs-with-existing-key": {
61
+ "type": "aws:cloudformation:stack",
62
+ "environment": "aws://unknown-account/unknown-region",
63
+ "properties": {
64
+ "templateFile": "iotsqs-with-existing-key.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}/fad634acec977d356a2c8bc163fc40c7072fc6f611258a39284c982d476ab93b.json",
70
+ "requiresBootstrapStackVersion": 6,
71
+ "bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version",
72
+ "additionalDependencies": [
73
+ "iotsqs-with-existing-key.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
+ "iotsqs-with-existing-key.assets"
83
+ ],
84
+ "metadata": {
85
+ "/iotsqs-with-existing-key/existing-key/Resource": [
86
+ {
87
+ "type": "aws:cdk:logicalId",
88
+ "data": "existingkey205DFC01"
89
+ }
90
+ ],
91
+ "/iotsqs-with-existing-key/existing-key/Alias/Resource": [
92
+ {
93
+ "type": "aws:cdk:logicalId",
94
+ "data": "existingkeyAliasE18FEC67"
95
+ }
96
+ ],
97
+ "/iotsqs-with-existing-key/test-iot-sqs-stack/deadLetterQueue/Resource": [
98
+ {
99
+ "type": "aws:cdk:logicalId",
100
+ "data": "testiotsqsstackdeadLetterQueueA417EB97"
101
+ }
102
+ ],
103
+ "/iotsqs-with-existing-key/test-iot-sqs-stack/deadLetterQueue/Policy/Resource": [
104
+ {
105
+ "type": "aws:cdk:logicalId",
106
+ "data": "testiotsqsstackdeadLetterQueuePolicyD0F4B7D3"
107
+ }
108
+ ],
109
+ "/iotsqs-with-existing-key/test-iot-sqs-stack/queue": [
110
+ {
111
+ "type": "aws:cdk:warning",
112
+ "data": "encryption: Automatically changed to QueueEncryption.KMS, was: QueueEncryption.KMS_MANAGED\nWhen encryptionMasterKey is provided, always set `encryption: QueueEncryption.KMS` [ack: @aws-cdk/aws-sqs:queueEncryptionChangedToKMS]"
113
+ }
114
+ ],
115
+ "/iotsqs-with-existing-key/test-iot-sqs-stack/queue/Resource": [
116
+ {
117
+ "type": "aws:cdk:logicalId",
118
+ "data": "testiotsqsstackqueue3DEA94EF"
119
+ }
120
+ ],
121
+ "/iotsqs-with-existing-key/test-iot-sqs-stack/queue/Policy/Resource": [
122
+ {
123
+ "type": "aws:cdk:logicalId",
124
+ "data": "testiotsqsstackqueuePolicy76FA6440"
125
+ }
126
+ ],
127
+ "/iotsqs-with-existing-key/test-iot-sqs-stack/iot-actions-role/Resource": [
128
+ {
129
+ "type": "aws:cdk:logicalId",
130
+ "data": "testiotsqsstackiotactionsrole5F8821AA"
131
+ }
132
+ ],
133
+ "/iotsqs-with-existing-key/test-iot-sqs-stack/iot-actions-role/DefaultPolicy/Resource": [
134
+ {
135
+ "type": "aws:cdk:logicalId",
136
+ "data": "testiotsqsstackiotactionsroleDefaultPolicy02ED7F00"
137
+ }
138
+ ],
139
+ "/iotsqs-with-existing-key/test-iot-sqs-stack/IotTopicRule": [
140
+ {
141
+ "type": "aws:cdk:logicalId",
142
+ "data": "testiotsqsstackIotTopicRule02F8F602"
143
+ }
144
+ ],
145
+ "/iotsqs-with-existing-key/BootstrapVersion": [
146
+ {
147
+ "type": "aws:cdk:logicalId",
148
+ "data": "BootstrapVersion"
149
+ }
150
+ ],
151
+ "/iotsqs-with-existing-key/CheckBootstrapVersion": [
152
+ {
153
+ "type": "aws:cdk:logicalId",
154
+ "data": "CheckBootstrapVersion"
155
+ }
156
+ ]
157
+ },
158
+ "displayName": "iotsqs-with-existing-key"
159
+ },
160
+ "Tree": {
161
+ "type": "cdk:tree",
162
+ "properties": {
163
+ "file": "tree.json"
164
+ }
165
+ }
166
+ }
167
+ }