@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,278 @@
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
+ },
9
+ "UpdateReplacePolicy": "Delete",
10
+ "DeletionPolicy": "Delete"
11
+ },
12
+ "testiotsqsstackdeadLetterQueuePolicyD0F4B7D3": {
13
+ "Type": "AWS::SQS::QueuePolicy",
14
+ "Properties": {
15
+ "PolicyDocument": {
16
+ "Statement": [
17
+ {
18
+ "Action": [
19
+ "sqs:AddPermission",
20
+ "sqs:DeleteMessage",
21
+ "sqs:GetQueueAttributes",
22
+ "sqs:ReceiveMessage",
23
+ "sqs:RemovePermission",
24
+ "sqs:SendMessage",
25
+ "sqs:SetQueueAttributes"
26
+ ],
27
+ "Effect": "Allow",
28
+ "Principal": {
29
+ "AWS": {
30
+ "Fn::Join": [
31
+ "",
32
+ [
33
+ "arn:",
34
+ {
35
+ "Ref": "AWS::Partition"
36
+ },
37
+ ":iam::",
38
+ {
39
+ "Ref": "AWS::AccountId"
40
+ },
41
+ ":root"
42
+ ]
43
+ ]
44
+ }
45
+ },
46
+ "Resource": {
47
+ "Fn::GetAtt": [
48
+ "testiotsqsstackdeadLetterQueueA417EB97",
49
+ "Arn"
50
+ ]
51
+ },
52
+ "Sid": "QueueOwnerOnlyAccess"
53
+ },
54
+ {
55
+ "Action": "SQS:*",
56
+ "Condition": {
57
+ "Bool": {
58
+ "aws:SecureTransport": "false"
59
+ }
60
+ },
61
+ "Effect": "Deny",
62
+ "Principal": {
63
+ "AWS": "*"
64
+ },
65
+ "Resource": {
66
+ "Fn::GetAtt": [
67
+ "testiotsqsstackdeadLetterQueueA417EB97",
68
+ "Arn"
69
+ ]
70
+ },
71
+ "Sid": "HttpsOnly"
72
+ }
73
+ ],
74
+ "Version": "2012-10-17"
75
+ },
76
+ "Queues": [
77
+ {
78
+ "Ref": "testiotsqsstackdeadLetterQueueA417EB97"
79
+ }
80
+ ]
81
+ }
82
+ },
83
+ "testiotsqsstackqueue3DEA94EF": {
84
+ "Type": "AWS::SQS::Queue",
85
+ "Properties": {
86
+ "KmsMasterKeyId": "alias/aws/sqs",
87
+ "RedrivePolicy": {
88
+ "deadLetterTargetArn": {
89
+ "Fn::GetAtt": [
90
+ "testiotsqsstackdeadLetterQueueA417EB97",
91
+ "Arn"
92
+ ]
93
+ },
94
+ "maxReceiveCount": 15
95
+ }
96
+ },
97
+ "UpdateReplacePolicy": "Delete",
98
+ "DeletionPolicy": "Delete"
99
+ },
100
+ "testiotsqsstackqueuePolicy76FA6440": {
101
+ "Type": "AWS::SQS::QueuePolicy",
102
+ "Properties": {
103
+ "PolicyDocument": {
104
+ "Statement": [
105
+ {
106
+ "Action": [
107
+ "sqs:AddPermission",
108
+ "sqs:DeleteMessage",
109
+ "sqs:GetQueueAttributes",
110
+ "sqs:ReceiveMessage",
111
+ "sqs:RemovePermission",
112
+ "sqs:SendMessage",
113
+ "sqs:SetQueueAttributes"
114
+ ],
115
+ "Effect": "Allow",
116
+ "Principal": {
117
+ "AWS": {
118
+ "Fn::Join": [
119
+ "",
120
+ [
121
+ "arn:",
122
+ {
123
+ "Ref": "AWS::Partition"
124
+ },
125
+ ":iam::",
126
+ {
127
+ "Ref": "AWS::AccountId"
128
+ },
129
+ ":root"
130
+ ]
131
+ ]
132
+ }
133
+ },
134
+ "Resource": {
135
+ "Fn::GetAtt": [
136
+ "testiotsqsstackqueue3DEA94EF",
137
+ "Arn"
138
+ ]
139
+ },
140
+ "Sid": "QueueOwnerOnlyAccess"
141
+ },
142
+ {
143
+ "Action": "SQS:*",
144
+ "Condition": {
145
+ "Bool": {
146
+ "aws:SecureTransport": "false"
147
+ }
148
+ },
149
+ "Effect": "Deny",
150
+ "Principal": {
151
+ "AWS": "*"
152
+ },
153
+ "Resource": {
154
+ "Fn::GetAtt": [
155
+ "testiotsqsstackqueue3DEA94EF",
156
+ "Arn"
157
+ ]
158
+ },
159
+ "Sid": "HttpsOnly"
160
+ }
161
+ ],
162
+ "Version": "2012-10-17"
163
+ },
164
+ "Queues": [
165
+ {
166
+ "Ref": "testiotsqsstackqueue3DEA94EF"
167
+ }
168
+ ]
169
+ }
170
+ },
171
+ "testiotsqsstackiotactionsrole5F8821AA": {
172
+ "Type": "AWS::IAM::Role",
173
+ "Properties": {
174
+ "AssumeRolePolicyDocument": {
175
+ "Statement": [
176
+ {
177
+ "Action": "sts:AssumeRole",
178
+ "Effect": "Allow",
179
+ "Principal": {
180
+ "Service": "iot.amazonaws.com"
181
+ }
182
+ }
183
+ ],
184
+ "Version": "2012-10-17"
185
+ }
186
+ }
187
+ },
188
+ "testiotsqsstackiotactionsroleDefaultPolicy02ED7F00": {
189
+ "Type": "AWS::IAM::Policy",
190
+ "Properties": {
191
+ "PolicyDocument": {
192
+ "Statement": [
193
+ {
194
+ "Action": [
195
+ "sqs:GetQueueAttributes",
196
+ "sqs:GetQueueUrl",
197
+ "sqs:SendMessage"
198
+ ],
199
+ "Effect": "Allow",
200
+ "Resource": {
201
+ "Fn::GetAtt": [
202
+ "testiotsqsstackqueue3DEA94EF",
203
+ "Arn"
204
+ ]
205
+ }
206
+ }
207
+ ],
208
+ "Version": "2012-10-17"
209
+ },
210
+ "PolicyName": "testiotsqsstackiotactionsroleDefaultPolicy02ED7F00",
211
+ "Roles": [
212
+ {
213
+ "Ref": "testiotsqsstackiotactionsrole5F8821AA"
214
+ }
215
+ ]
216
+ }
217
+ },
218
+ "testiotsqsstackIotTopicRule02F8F602": {
219
+ "Type": "AWS::IoT::TopicRule",
220
+ "Properties": {
221
+ "TopicRulePayload": {
222
+ "Actions": [
223
+ {
224
+ "Sqs": {
225
+ "QueueUrl": {
226
+ "Ref": "testiotsqsstackqueue3DEA94EF"
227
+ },
228
+ "RoleArn": {
229
+ "Fn::GetAtt": [
230
+ "testiotsqsstackiotactionsrole5F8821AA",
231
+ "Arn"
232
+ ]
233
+ }
234
+ }
235
+ }
236
+ ],
237
+ "Description": "Processing messages from IoT devices or factory machines",
238
+ "RuleDisabled": false,
239
+ "Sql": "SELECT * FROM 'test/topic/#'"
240
+ }
241
+ }
242
+ }
243
+ },
244
+ "Parameters": {
245
+ "BootstrapVersion": {
246
+ "Type": "AWS::SSM::Parameter::Value<String>",
247
+ "Default": "/cdk-bootstrap/hnb659fds/version",
248
+ "Description": "Version of the CDK Bootstrap resources in this environment, automatically retrieved from SSM Parameter Store. [cdk:skip]"
249
+ }
250
+ },
251
+ "Rules": {
252
+ "CheckBootstrapVersion": {
253
+ "Assertions": [
254
+ {
255
+ "Assert": {
256
+ "Fn::Not": [
257
+ {
258
+ "Fn::Contains": [
259
+ [
260
+ "1",
261
+ "2",
262
+ "3",
263
+ "4",
264
+ "5"
265
+ ],
266
+ {
267
+ "Ref": "BootstrapVersion"
268
+ }
269
+ ]
270
+ }
271
+ ]
272
+ },
273
+ "AssertDescription": "CDK bootstrap stack version 6 required. Please run 'cdk bootstrap' with a recent version of the CDK CLI."
274
+ }
275
+ ]
276
+ }
277
+ }
278
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "version": "36.0.0",
3
+ "files": {
4
+ "21fbb51d7b23f6a6c262b46a9caee79d744a3ac019fd45422d988b96d44b2a22": {
5
+ "source": {
6
+ "path": "iotsqswithoutcreatekmskeyIntegDefaultTestDeployAssertF21DB5E1.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,149 @@
1
+ {
2
+ "version": "36.0.0",
3
+ "artifacts": {
4
+ "iotsqswithoutcreatekmskeyIntegDefaultTestDeployAssertF21DB5E1.assets": {
5
+ "type": "cdk:asset-manifest",
6
+ "properties": {
7
+ "file": "iotsqswithoutcreatekmskeyIntegDefaultTestDeployAssertF21DB5E1.assets.json",
8
+ "requiresBootstrapStackVersion": 6,
9
+ "bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version"
10
+ }
11
+ },
12
+ "iotsqswithoutcreatekmskeyIntegDefaultTestDeployAssertF21DB5E1": {
13
+ "type": "aws:cloudformation:stack",
14
+ "environment": "aws://unknown-account/unknown-region",
15
+ "properties": {
16
+ "templateFile": "iotsqswithoutcreatekmskeyIntegDefaultTestDeployAssertF21DB5E1.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
+ "iotsqswithoutcreatekmskeyIntegDefaultTestDeployAssertF21DB5E1.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
+ "iotsqswithoutcreatekmskeyIntegDefaultTestDeployAssertF21DB5E1.assets"
35
+ ],
36
+ "metadata": {
37
+ "/iotsqs-without-create-kms-key/Integ/DefaultTest/DeployAssert/BootstrapVersion": [
38
+ {
39
+ "type": "aws:cdk:logicalId",
40
+ "data": "BootstrapVersion"
41
+ }
42
+ ],
43
+ "/iotsqs-without-create-kms-key/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion": [
44
+ {
45
+ "type": "aws:cdk:logicalId",
46
+ "data": "CheckBootstrapVersion"
47
+ }
48
+ ]
49
+ },
50
+ "displayName": "iotsqs-without-create-kms-key/Integ/DefaultTest/DeployAssert"
51
+ },
52
+ "iotsqs-without-create-kms-key.assets": {
53
+ "type": "cdk:asset-manifest",
54
+ "properties": {
55
+ "file": "iotsqs-without-create-kms-key.assets.json",
56
+ "requiresBootstrapStackVersion": 6,
57
+ "bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version"
58
+ }
59
+ },
60
+ "iotsqs-without-create-kms-key": {
61
+ "type": "aws:cloudformation:stack",
62
+ "environment": "aws://unknown-account/unknown-region",
63
+ "properties": {
64
+ "templateFile": "iotsqs-without-create-kms-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}/3f36da411afff2b14648d66f5e0b43635f39636609f97075cffc6ebdac66210c.json",
70
+ "requiresBootstrapStackVersion": 6,
71
+ "bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version",
72
+ "additionalDependencies": [
73
+ "iotsqs-without-create-kms-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-without-create-kms-key.assets"
83
+ ],
84
+ "metadata": {
85
+ "/iotsqs-without-create-kms-key/test-iot-sqs-stack/deadLetterQueue/Resource": [
86
+ {
87
+ "type": "aws:cdk:logicalId",
88
+ "data": "testiotsqsstackdeadLetterQueueA417EB97"
89
+ }
90
+ ],
91
+ "/iotsqs-without-create-kms-key/test-iot-sqs-stack/deadLetterQueue/Policy/Resource": [
92
+ {
93
+ "type": "aws:cdk:logicalId",
94
+ "data": "testiotsqsstackdeadLetterQueuePolicyD0F4B7D3"
95
+ }
96
+ ],
97
+ "/iotsqs-without-create-kms-key/test-iot-sqs-stack/queue/Resource": [
98
+ {
99
+ "type": "aws:cdk:logicalId",
100
+ "data": "testiotsqsstackqueue3DEA94EF"
101
+ }
102
+ ],
103
+ "/iotsqs-without-create-kms-key/test-iot-sqs-stack/queue/Policy/Resource": [
104
+ {
105
+ "type": "aws:cdk:logicalId",
106
+ "data": "testiotsqsstackqueuePolicy76FA6440"
107
+ }
108
+ ],
109
+ "/iotsqs-without-create-kms-key/test-iot-sqs-stack/iot-actions-role/Resource": [
110
+ {
111
+ "type": "aws:cdk:logicalId",
112
+ "data": "testiotsqsstackiotactionsrole5F8821AA"
113
+ }
114
+ ],
115
+ "/iotsqs-without-create-kms-key/test-iot-sqs-stack/iot-actions-role/DefaultPolicy/Resource": [
116
+ {
117
+ "type": "aws:cdk:logicalId",
118
+ "data": "testiotsqsstackiotactionsroleDefaultPolicy02ED7F00"
119
+ }
120
+ ],
121
+ "/iotsqs-without-create-kms-key/test-iot-sqs-stack/IotTopicRule": [
122
+ {
123
+ "type": "aws:cdk:logicalId",
124
+ "data": "testiotsqsstackIotTopicRule02F8F602"
125
+ }
126
+ ],
127
+ "/iotsqs-without-create-kms-key/BootstrapVersion": [
128
+ {
129
+ "type": "aws:cdk:logicalId",
130
+ "data": "BootstrapVersion"
131
+ }
132
+ ],
133
+ "/iotsqs-without-create-kms-key/CheckBootstrapVersion": [
134
+ {
135
+ "type": "aws:cdk:logicalId",
136
+ "data": "CheckBootstrapVersion"
137
+ }
138
+ ]
139
+ },
140
+ "displayName": "iotsqs-without-create-kms-key"
141
+ },
142
+ "Tree": {
143
+ "type": "cdk:tree",
144
+ "properties": {
145
+ "file": "tree.json"
146
+ }
147
+ }
148
+ }
149
+ }