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