@aws-solutions-constructs/aws-fargate-kinesisstreams 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 (89) hide show
  1. package/.eslintignore +2 -0
  2. package/.jsii +50 -5
  3. package/integ.config.json +7 -0
  4. package/lib/index.js +1 -1
  5. package/package.json +13 -12
  6. package/test/integ.farkin-existingFargateService.js +6 -2
  7. package/test/integ.farkin-existingFargateService.js.snapshot/asset.dd5711540f04e06aa955d7f4862fc04e8cdea464cb590dae91ed2976bb78098e/__entrypoint__.js +1 -0
  8. package/test/integ.farkin-existingFargateService.js.snapshot/asset.dd5711540f04e06aa955d7f4862fc04e8cdea464cb590dae91ed2976bb78098e/index.js +1 -0
  9. package/test/integ.farkin-existingFargateService.js.snapshot/cdk.out +1 -0
  10. package/test/integ.farkin-existingFargateService.js.snapshot/farkin-existingFargateService.assets.json +32 -0
  11. package/test/integ.farkin-existingFargateService.js.snapshot/farkin-existingFargateService.template.json +1225 -0
  12. package/test/integ.farkin-existingFargateService.js.snapshot/farkinexistingFargateServiceIntegDefaultTestDeployAssertF1F4EC2C.assets.json +19 -0
  13. package/test/integ.farkin-existingFargateService.js.snapshot/farkinexistingFargateServiceIntegDefaultTestDeployAssertF1F4EC2C.template.json +36 -0
  14. package/test/integ.farkin-existingFargateService.js.snapshot/integ.json +12 -0
  15. package/test/integ.farkin-existingFargateService.js.snapshot/manifest.json +383 -0
  16. package/test/integ.farkin-existingFargateService.js.snapshot/tree.json +1761 -0
  17. package/test/integ.farkin-existingStream.js +6 -2
  18. package/test/integ.farkin-existingStream.js.snapshot/asset.dd5711540f04e06aa955d7f4862fc04e8cdea464cb590dae91ed2976bb78098e/__entrypoint__.js +1 -0
  19. package/test/integ.farkin-existingStream.js.snapshot/asset.dd5711540f04e06aa955d7f4862fc04e8cdea464cb590dae91ed2976bb78098e/index.js +1 -0
  20. package/test/integ.farkin-existingStream.js.snapshot/cdk.out +1 -0
  21. package/test/integ.farkin-existingStream.js.snapshot/farkin-existingStream.assets.json +32 -0
  22. package/test/integ.farkin-existingStream.js.snapshot/farkin-existingStream.template.json +1227 -0
  23. package/test/integ.farkin-existingStream.js.snapshot/farkinexistingStreamIntegDefaultTestDeployAssert24640A36.assets.json +19 -0
  24. package/test/integ.farkin-existingStream.js.snapshot/farkinexistingStreamIntegDefaultTestDeployAssert24640A36.template.json +36 -0
  25. package/test/integ.farkin-existingStream.js.snapshot/integ.json +12 -0
  26. package/test/integ.farkin-existingStream.js.snapshot/manifest.json +383 -0
  27. package/test/integ.farkin-existingStream.js.snapshot/tree.json +1763 -0
  28. package/test/integ.farkin-existingVpc.js +6 -2
  29. package/test/integ.farkin-existingVpc.js.snapshot/asset.dd5711540f04e06aa955d7f4862fc04e8cdea464cb590dae91ed2976bb78098e/__entrypoint__.js +1 -0
  30. package/test/integ.farkin-existingVpc.js.snapshot/asset.dd5711540f04e06aa955d7f4862fc04e8cdea464cb590dae91ed2976bb78098e/index.js +1 -0
  31. package/test/integ.farkin-existingVpc.js.snapshot/cdk.out +1 -0
  32. package/test/integ.farkin-existingVpc.js.snapshot/farkin-existingVpc.assets.json +32 -0
  33. package/test/integ.farkin-existingVpc.js.snapshot/farkin-existingVpc.template.json +1225 -0
  34. package/test/integ.farkin-existingVpc.js.snapshot/farkinexistingVpcIntegDefaultTestDeployAssert8065A04A.assets.json +19 -0
  35. package/test/integ.farkin-existingVpc.js.snapshot/farkinexistingVpcIntegDefaultTestDeployAssert8065A04A.template.json +36 -0
  36. package/test/integ.farkin-existingVpc.js.snapshot/integ.json +12 -0
  37. package/test/integ.farkin-existingVpc.js.snapshot/manifest.json +383 -0
  38. package/test/integ.farkin-existingVpc.js.snapshot/tree.json +1761 -0
  39. package/test/integ.farkin-fargateServiceFromProps.js +6 -2
  40. package/test/integ.farkin-fargateServiceFromProps.js.snapshot/asset.dd5711540f04e06aa955d7f4862fc04e8cdea464cb590dae91ed2976bb78098e/__entrypoint__.js +1 -0
  41. package/test/integ.farkin-fargateServiceFromProps.js.snapshot/asset.dd5711540f04e06aa955d7f4862fc04e8cdea464cb590dae91ed2976bb78098e/index.js +1 -0
  42. package/test/integ.farkin-fargateServiceFromProps.js.snapshot/cdk.out +1 -0
  43. package/test/integ.farkin-fargateServiceFromProps.js.snapshot/farkin-fargateServiceFromProps.assets.json +32 -0
  44. package/test/integ.farkin-fargateServiceFromProps.js.snapshot/farkin-fargateServiceFromProps.template.json +1226 -0
  45. package/test/integ.farkin-fargateServiceFromProps.js.snapshot/farkinfargateServiceFromPropsIntegDefaultTestDeployAssert5047AEA2.assets.json +19 -0
  46. package/test/integ.farkin-fargateServiceFromProps.js.snapshot/farkinfargateServiceFromPropsIntegDefaultTestDeployAssert5047AEA2.template.json +36 -0
  47. package/test/integ.farkin-fargateServiceFromProps.js.snapshot/integ.json +12 -0
  48. package/test/integ.farkin-fargateServiceFromProps.js.snapshot/manifest.json +383 -0
  49. package/test/integ.farkin-fargateServiceFromProps.js.snapshot/tree.json +1762 -0
  50. package/test/integ.farkin-noArguments.js +6 -2
  51. package/test/integ.farkin-noArguments.js.snapshot/asset.dd5711540f04e06aa955d7f4862fc04e8cdea464cb590dae91ed2976bb78098e/__entrypoint__.js +1 -0
  52. package/test/integ.farkin-noArguments.js.snapshot/asset.dd5711540f04e06aa955d7f4862fc04e8cdea464cb590dae91ed2976bb78098e/index.js +1 -0
  53. package/test/integ.farkin-noArguments.js.snapshot/cdk.out +1 -0
  54. package/test/integ.farkin-noArguments.js.snapshot/farkin-noArguments.assets.json +32 -0
  55. package/test/integ.farkin-noArguments.js.snapshot/farkin-noArguments.template.json +1225 -0
  56. package/test/integ.farkin-noArguments.js.snapshot/farkinnoArgumentsIntegDefaultTestDeployAssert5E204AE6.assets.json +19 -0
  57. package/test/integ.farkin-noArguments.js.snapshot/farkinnoArgumentsIntegDefaultTestDeployAssert5E204AE6.template.json +36 -0
  58. package/test/integ.farkin-noArguments.js.snapshot/integ.json +12 -0
  59. package/test/integ.farkin-noArguments.js.snapshot/manifest.json +383 -0
  60. package/test/integ.farkin-noArguments.js.snapshot/tree.json +1761 -0
  61. package/test/integ.farkin-streamFromProps.js +6 -2
  62. package/test/integ.farkin-streamFromProps.js.snapshot/asset.dd5711540f04e06aa955d7f4862fc04e8cdea464cb590dae91ed2976bb78098e/__entrypoint__.js +1 -0
  63. package/test/integ.farkin-streamFromProps.js.snapshot/asset.dd5711540f04e06aa955d7f4862fc04e8cdea464cb590dae91ed2976bb78098e/index.js +1 -0
  64. package/test/integ.farkin-streamFromProps.js.snapshot/cdk.out +1 -0
  65. package/test/integ.farkin-streamFromProps.js.snapshot/farkin-streamFromProps.assets.json +32 -0
  66. package/test/integ.farkin-streamFromProps.js.snapshot/farkin-streamFromProps.template.json +1227 -0
  67. package/test/integ.farkin-streamFromProps.js.snapshot/farkinstreamFromPropsIntegDefaultTestDeployAssertF891650B.assets.json +19 -0
  68. package/test/integ.farkin-streamFromProps.js.snapshot/farkinstreamFromPropsIntegDefaultTestDeployAssertF891650B.template.json +36 -0
  69. package/test/integ.farkin-streamFromProps.js.snapshot/integ.json +12 -0
  70. package/test/integ.farkin-streamFromProps.js.snapshot/manifest.json +383 -0
  71. package/test/integ.farkin-streamFromProps.js.snapshot/tree.json +1763 -0
  72. package/test/integ.farkin-vpcFromProps.js +6 -2
  73. package/test/integ.farkin-vpcFromProps.js.snapshot/asset.dd5711540f04e06aa955d7f4862fc04e8cdea464cb590dae91ed2976bb78098e/__entrypoint__.js +1 -0
  74. package/test/integ.farkin-vpcFromProps.js.snapshot/asset.dd5711540f04e06aa955d7f4862fc04e8cdea464cb590dae91ed2976bb78098e/index.js +1 -0
  75. package/test/integ.farkin-vpcFromProps.js.snapshot/cdk.out +1 -0
  76. package/test/integ.farkin-vpcFromProps.js.snapshot/farkin-vpcFromProps.assets.json +32 -0
  77. package/test/integ.farkin-vpcFromProps.js.snapshot/farkin-vpcFromProps.template.json +1225 -0
  78. package/test/integ.farkin-vpcFromProps.js.snapshot/farkinvpcFromPropsIntegDefaultTestDeployAssert05CE38D4.assets.json +19 -0
  79. package/test/integ.farkin-vpcFromProps.js.snapshot/farkinvpcFromPropsIntegDefaultTestDeployAssert05CE38D4.template.json +36 -0
  80. package/test/integ.farkin-vpcFromProps.js.snapshot/integ.json +12 -0
  81. package/test/integ.farkin-vpcFromProps.js.snapshot/manifest.json +383 -0
  82. package/test/integ.farkin-vpcFromProps.js.snapshot/tree.json +1761 -0
  83. package/test/integ.farkin-existingFargateService.expected.json +0 -1254
  84. package/test/integ.farkin-existingStream.expected.json +0 -1256
  85. package/test/integ.farkin-existingVpc.expected.json +0 -1254
  86. package/test/integ.farkin-fargateServiceFromProps.expected.json +0 -1255
  87. package/test/integ.farkin-noArguments.expected.json +0 -1254
  88. package/test/integ.farkin-streamFromProps.expected.json +0 -1256
  89. package/test/integ.farkin-vpcFromProps.expected.json +0 -1254
@@ -0,0 +1,1225 @@
1
+ {
2
+ "Resources": {
3
+ "Vpc8378EB38": {
4
+ "Type": "AWS::EC2::VPC",
5
+ "Properties": {
6
+ "CidrBlock": "172.168.0.0/16",
7
+ "EnableDnsHostnames": true,
8
+ "EnableDnsSupport": true,
9
+ "InstanceTenancy": "default",
10
+ "Tags": [
11
+ {
12
+ "Key": "Name",
13
+ "Value": "farkin-existingFargateService/Vpc"
14
+ }
15
+ ]
16
+ }
17
+ },
18
+ "VpcPublicSubnet1Subnet5C2D37C4": {
19
+ "Type": "AWS::EC2::Subnet",
20
+ "Properties": {
21
+ "AvailabilityZone": {
22
+ "Fn::Select": [
23
+ 0,
24
+ {
25
+ "Fn::GetAZs": ""
26
+ }
27
+ ]
28
+ },
29
+ "CidrBlock": "172.168.0.0/18",
30
+ "MapPublicIpOnLaunch": true,
31
+ "Tags": [
32
+ {
33
+ "Key": "aws-cdk:subnet-name",
34
+ "Value": "Public"
35
+ },
36
+ {
37
+ "Key": "aws-cdk:subnet-type",
38
+ "Value": "Public"
39
+ },
40
+ {
41
+ "Key": "Name",
42
+ "Value": "farkin-existingFargateService/Vpc/PublicSubnet1"
43
+ }
44
+ ],
45
+ "VpcId": {
46
+ "Ref": "Vpc8378EB38"
47
+ }
48
+ },
49
+ "Metadata": {
50
+ "cfn_nag": {
51
+ "rules_to_suppress": [
52
+ {
53
+ "id": "W33",
54
+ "reason": "Allow Public Subnets to have MapPublicIpOnLaunch set to true"
55
+ }
56
+ ]
57
+ }
58
+ }
59
+ },
60
+ "VpcPublicSubnet1RouteTable6C95E38E": {
61
+ "Type": "AWS::EC2::RouteTable",
62
+ "Properties": {
63
+ "Tags": [
64
+ {
65
+ "Key": "Name",
66
+ "Value": "farkin-existingFargateService/Vpc/PublicSubnet1"
67
+ }
68
+ ],
69
+ "VpcId": {
70
+ "Ref": "Vpc8378EB38"
71
+ }
72
+ }
73
+ },
74
+ "VpcPublicSubnet1RouteTableAssociation97140677": {
75
+ "Type": "AWS::EC2::SubnetRouteTableAssociation",
76
+ "Properties": {
77
+ "RouteTableId": {
78
+ "Ref": "VpcPublicSubnet1RouteTable6C95E38E"
79
+ },
80
+ "SubnetId": {
81
+ "Ref": "VpcPublicSubnet1Subnet5C2D37C4"
82
+ }
83
+ }
84
+ },
85
+ "VpcPublicSubnet1DefaultRoute3DA9E72A": {
86
+ "Type": "AWS::EC2::Route",
87
+ "Properties": {
88
+ "DestinationCidrBlock": "0.0.0.0/0",
89
+ "GatewayId": {
90
+ "Ref": "VpcIGWD7BA715C"
91
+ },
92
+ "RouteTableId": {
93
+ "Ref": "VpcPublicSubnet1RouteTable6C95E38E"
94
+ }
95
+ },
96
+ "DependsOn": [
97
+ "VpcVPCGWBF912B6E"
98
+ ]
99
+ },
100
+ "VpcPublicSubnet1EIPD7E02669": {
101
+ "Type": "AWS::EC2::EIP",
102
+ "Properties": {
103
+ "Domain": "vpc",
104
+ "Tags": [
105
+ {
106
+ "Key": "Name",
107
+ "Value": "farkin-existingFargateService/Vpc/PublicSubnet1"
108
+ }
109
+ ]
110
+ }
111
+ },
112
+ "VpcPublicSubnet1NATGateway4D7517AA": {
113
+ "Type": "AWS::EC2::NatGateway",
114
+ "Properties": {
115
+ "AllocationId": {
116
+ "Fn::GetAtt": [
117
+ "VpcPublicSubnet1EIPD7E02669",
118
+ "AllocationId"
119
+ ]
120
+ },
121
+ "SubnetId": {
122
+ "Ref": "VpcPublicSubnet1Subnet5C2D37C4"
123
+ },
124
+ "Tags": [
125
+ {
126
+ "Key": "Name",
127
+ "Value": "farkin-existingFargateService/Vpc/PublicSubnet1"
128
+ }
129
+ ]
130
+ },
131
+ "DependsOn": [
132
+ "VpcPublicSubnet1DefaultRoute3DA9E72A",
133
+ "VpcPublicSubnet1RouteTableAssociation97140677"
134
+ ]
135
+ },
136
+ "VpcPublicSubnet2Subnet691E08A3": {
137
+ "Type": "AWS::EC2::Subnet",
138
+ "Properties": {
139
+ "AvailabilityZone": {
140
+ "Fn::Select": [
141
+ 1,
142
+ {
143
+ "Fn::GetAZs": ""
144
+ }
145
+ ]
146
+ },
147
+ "CidrBlock": "172.168.64.0/18",
148
+ "MapPublicIpOnLaunch": true,
149
+ "Tags": [
150
+ {
151
+ "Key": "aws-cdk:subnet-name",
152
+ "Value": "Public"
153
+ },
154
+ {
155
+ "Key": "aws-cdk:subnet-type",
156
+ "Value": "Public"
157
+ },
158
+ {
159
+ "Key": "Name",
160
+ "Value": "farkin-existingFargateService/Vpc/PublicSubnet2"
161
+ }
162
+ ],
163
+ "VpcId": {
164
+ "Ref": "Vpc8378EB38"
165
+ }
166
+ },
167
+ "Metadata": {
168
+ "cfn_nag": {
169
+ "rules_to_suppress": [
170
+ {
171
+ "id": "W33",
172
+ "reason": "Allow Public Subnets to have MapPublicIpOnLaunch set to true"
173
+ }
174
+ ]
175
+ }
176
+ }
177
+ },
178
+ "VpcPublicSubnet2RouteTable94F7E489": {
179
+ "Type": "AWS::EC2::RouteTable",
180
+ "Properties": {
181
+ "Tags": [
182
+ {
183
+ "Key": "Name",
184
+ "Value": "farkin-existingFargateService/Vpc/PublicSubnet2"
185
+ }
186
+ ],
187
+ "VpcId": {
188
+ "Ref": "Vpc8378EB38"
189
+ }
190
+ }
191
+ },
192
+ "VpcPublicSubnet2RouteTableAssociationDD5762D8": {
193
+ "Type": "AWS::EC2::SubnetRouteTableAssociation",
194
+ "Properties": {
195
+ "RouteTableId": {
196
+ "Ref": "VpcPublicSubnet2RouteTable94F7E489"
197
+ },
198
+ "SubnetId": {
199
+ "Ref": "VpcPublicSubnet2Subnet691E08A3"
200
+ }
201
+ }
202
+ },
203
+ "VpcPublicSubnet2DefaultRoute97F91067": {
204
+ "Type": "AWS::EC2::Route",
205
+ "Properties": {
206
+ "DestinationCidrBlock": "0.0.0.0/0",
207
+ "GatewayId": {
208
+ "Ref": "VpcIGWD7BA715C"
209
+ },
210
+ "RouteTableId": {
211
+ "Ref": "VpcPublicSubnet2RouteTable94F7E489"
212
+ }
213
+ },
214
+ "DependsOn": [
215
+ "VpcVPCGWBF912B6E"
216
+ ]
217
+ },
218
+ "VpcPublicSubnet2EIP3C605A87": {
219
+ "Type": "AWS::EC2::EIP",
220
+ "Properties": {
221
+ "Domain": "vpc",
222
+ "Tags": [
223
+ {
224
+ "Key": "Name",
225
+ "Value": "farkin-existingFargateService/Vpc/PublicSubnet2"
226
+ }
227
+ ]
228
+ }
229
+ },
230
+ "VpcPublicSubnet2NATGateway9182C01D": {
231
+ "Type": "AWS::EC2::NatGateway",
232
+ "Properties": {
233
+ "AllocationId": {
234
+ "Fn::GetAtt": [
235
+ "VpcPublicSubnet2EIP3C605A87",
236
+ "AllocationId"
237
+ ]
238
+ },
239
+ "SubnetId": {
240
+ "Ref": "VpcPublicSubnet2Subnet691E08A3"
241
+ },
242
+ "Tags": [
243
+ {
244
+ "Key": "Name",
245
+ "Value": "farkin-existingFargateService/Vpc/PublicSubnet2"
246
+ }
247
+ ]
248
+ },
249
+ "DependsOn": [
250
+ "VpcPublicSubnet2DefaultRoute97F91067",
251
+ "VpcPublicSubnet2RouteTableAssociationDD5762D8"
252
+ ]
253
+ },
254
+ "VpcPrivateSubnet1Subnet536B997A": {
255
+ "Type": "AWS::EC2::Subnet",
256
+ "Properties": {
257
+ "AvailabilityZone": {
258
+ "Fn::Select": [
259
+ 0,
260
+ {
261
+ "Fn::GetAZs": ""
262
+ }
263
+ ]
264
+ },
265
+ "CidrBlock": "172.168.128.0/18",
266
+ "MapPublicIpOnLaunch": false,
267
+ "Tags": [
268
+ {
269
+ "Key": "aws-cdk:subnet-name",
270
+ "Value": "Private"
271
+ },
272
+ {
273
+ "Key": "aws-cdk:subnet-type",
274
+ "Value": "Private"
275
+ },
276
+ {
277
+ "Key": "Name",
278
+ "Value": "farkin-existingFargateService/Vpc/PrivateSubnet1"
279
+ }
280
+ ],
281
+ "VpcId": {
282
+ "Ref": "Vpc8378EB38"
283
+ }
284
+ }
285
+ },
286
+ "VpcPrivateSubnet1RouteTableB2C5B500": {
287
+ "Type": "AWS::EC2::RouteTable",
288
+ "Properties": {
289
+ "Tags": [
290
+ {
291
+ "Key": "Name",
292
+ "Value": "farkin-existingFargateService/Vpc/PrivateSubnet1"
293
+ }
294
+ ],
295
+ "VpcId": {
296
+ "Ref": "Vpc8378EB38"
297
+ }
298
+ }
299
+ },
300
+ "VpcPrivateSubnet1RouteTableAssociation70C59FA6": {
301
+ "Type": "AWS::EC2::SubnetRouteTableAssociation",
302
+ "Properties": {
303
+ "RouteTableId": {
304
+ "Ref": "VpcPrivateSubnet1RouteTableB2C5B500"
305
+ },
306
+ "SubnetId": {
307
+ "Ref": "VpcPrivateSubnet1Subnet536B997A"
308
+ }
309
+ }
310
+ },
311
+ "VpcPrivateSubnet1DefaultRouteBE02A9ED": {
312
+ "Type": "AWS::EC2::Route",
313
+ "Properties": {
314
+ "DestinationCidrBlock": "0.0.0.0/0",
315
+ "NatGatewayId": {
316
+ "Ref": "VpcPublicSubnet1NATGateway4D7517AA"
317
+ },
318
+ "RouteTableId": {
319
+ "Ref": "VpcPrivateSubnet1RouteTableB2C5B500"
320
+ }
321
+ }
322
+ },
323
+ "VpcPrivateSubnet2Subnet3788AAA1": {
324
+ "Type": "AWS::EC2::Subnet",
325
+ "Properties": {
326
+ "AvailabilityZone": {
327
+ "Fn::Select": [
328
+ 1,
329
+ {
330
+ "Fn::GetAZs": ""
331
+ }
332
+ ]
333
+ },
334
+ "CidrBlock": "172.168.192.0/18",
335
+ "MapPublicIpOnLaunch": false,
336
+ "Tags": [
337
+ {
338
+ "Key": "aws-cdk:subnet-name",
339
+ "Value": "Private"
340
+ },
341
+ {
342
+ "Key": "aws-cdk:subnet-type",
343
+ "Value": "Private"
344
+ },
345
+ {
346
+ "Key": "Name",
347
+ "Value": "farkin-existingFargateService/Vpc/PrivateSubnet2"
348
+ }
349
+ ],
350
+ "VpcId": {
351
+ "Ref": "Vpc8378EB38"
352
+ }
353
+ }
354
+ },
355
+ "VpcPrivateSubnet2RouteTableA678073B": {
356
+ "Type": "AWS::EC2::RouteTable",
357
+ "Properties": {
358
+ "Tags": [
359
+ {
360
+ "Key": "Name",
361
+ "Value": "farkin-existingFargateService/Vpc/PrivateSubnet2"
362
+ }
363
+ ],
364
+ "VpcId": {
365
+ "Ref": "Vpc8378EB38"
366
+ }
367
+ }
368
+ },
369
+ "VpcPrivateSubnet2RouteTableAssociationA89CAD56": {
370
+ "Type": "AWS::EC2::SubnetRouteTableAssociation",
371
+ "Properties": {
372
+ "RouteTableId": {
373
+ "Ref": "VpcPrivateSubnet2RouteTableA678073B"
374
+ },
375
+ "SubnetId": {
376
+ "Ref": "VpcPrivateSubnet2Subnet3788AAA1"
377
+ }
378
+ }
379
+ },
380
+ "VpcPrivateSubnet2DefaultRoute060D2087": {
381
+ "Type": "AWS::EC2::Route",
382
+ "Properties": {
383
+ "DestinationCidrBlock": "0.0.0.0/0",
384
+ "NatGatewayId": {
385
+ "Ref": "VpcPublicSubnet2NATGateway9182C01D"
386
+ },
387
+ "RouteTableId": {
388
+ "Ref": "VpcPrivateSubnet2RouteTableA678073B"
389
+ }
390
+ }
391
+ },
392
+ "VpcIGWD7BA715C": {
393
+ "Type": "AWS::EC2::InternetGateway",
394
+ "Properties": {
395
+ "Tags": [
396
+ {
397
+ "Key": "Name",
398
+ "Value": "farkin-existingFargateService/Vpc"
399
+ }
400
+ ]
401
+ }
402
+ },
403
+ "VpcVPCGWBF912B6E": {
404
+ "Type": "AWS::EC2::VPCGatewayAttachment",
405
+ "Properties": {
406
+ "InternetGatewayId": {
407
+ "Ref": "VpcIGWD7BA715C"
408
+ },
409
+ "VpcId": {
410
+ "Ref": "Vpc8378EB38"
411
+ }
412
+ }
413
+ },
414
+ "VpcRestrictDefaultSecurityGroupCustomResourceC73DA2BE": {
415
+ "Type": "Custom::VpcRestrictDefaultSG",
416
+ "Properties": {
417
+ "ServiceToken": {
418
+ "Fn::GetAtt": [
419
+ "CustomVpcRestrictDefaultSGCustomResourceProviderHandlerDC833E5E",
420
+ "Arn"
421
+ ]
422
+ },
423
+ "DefaultSecurityGroupId": {
424
+ "Fn::GetAtt": [
425
+ "Vpc8378EB38",
426
+ "DefaultSecurityGroup"
427
+ ]
428
+ },
429
+ "Account": {
430
+ "Ref": "AWS::AccountId"
431
+ }
432
+ },
433
+ "UpdateReplacePolicy": "Delete",
434
+ "DeletionPolicy": "Delete"
435
+ },
436
+ "VpcFlowLogIAMRole6A475D41": {
437
+ "Type": "AWS::IAM::Role",
438
+ "Properties": {
439
+ "AssumeRolePolicyDocument": {
440
+ "Statement": [
441
+ {
442
+ "Action": "sts:AssumeRole",
443
+ "Effect": "Allow",
444
+ "Principal": {
445
+ "Service": "vpc-flow-logs.amazonaws.com"
446
+ }
447
+ }
448
+ ],
449
+ "Version": "2012-10-17"
450
+ },
451
+ "Tags": [
452
+ {
453
+ "Key": "Name",
454
+ "Value": "farkin-existingFargateService/Vpc/FlowLog"
455
+ }
456
+ ]
457
+ }
458
+ },
459
+ "VpcFlowLogIAMRoleDefaultPolicy406FB995": {
460
+ "Type": "AWS::IAM::Policy",
461
+ "Properties": {
462
+ "PolicyDocument": {
463
+ "Statement": [
464
+ {
465
+ "Action": [
466
+ "logs:CreateLogStream",
467
+ "logs:DescribeLogStreams",
468
+ "logs:PutLogEvents"
469
+ ],
470
+ "Effect": "Allow",
471
+ "Resource": {
472
+ "Fn::GetAtt": [
473
+ "VpcFlowLogLogGroup7B5C56B9",
474
+ "Arn"
475
+ ]
476
+ }
477
+ },
478
+ {
479
+ "Action": "iam:PassRole",
480
+ "Effect": "Allow",
481
+ "Resource": {
482
+ "Fn::GetAtt": [
483
+ "VpcFlowLogIAMRole6A475D41",
484
+ "Arn"
485
+ ]
486
+ }
487
+ }
488
+ ],
489
+ "Version": "2012-10-17"
490
+ },
491
+ "PolicyName": "VpcFlowLogIAMRoleDefaultPolicy406FB995",
492
+ "Roles": [
493
+ {
494
+ "Ref": "VpcFlowLogIAMRole6A475D41"
495
+ }
496
+ ]
497
+ }
498
+ },
499
+ "VpcFlowLogLogGroup7B5C56B9": {
500
+ "Type": "AWS::Logs::LogGroup",
501
+ "Properties": {
502
+ "RetentionInDays": 731,
503
+ "Tags": [
504
+ {
505
+ "Key": "Name",
506
+ "Value": "farkin-existingFargateService/Vpc/FlowLog"
507
+ }
508
+ ]
509
+ },
510
+ "UpdateReplacePolicy": "Retain",
511
+ "DeletionPolicy": "Retain",
512
+ "Metadata": {
513
+ "cfn_nag": {
514
+ "rules_to_suppress": [
515
+ {
516
+ "id": "W84",
517
+ "reason": "By default CloudWatchLogs LogGroups data is encrypted using the CloudWatch server-side encryption keys (AWS Managed Keys)"
518
+ }
519
+ ]
520
+ }
521
+ }
522
+ },
523
+ "VpcFlowLog8FF33A73": {
524
+ "Type": "AWS::EC2::FlowLog",
525
+ "Properties": {
526
+ "DeliverLogsPermissionArn": {
527
+ "Fn::GetAtt": [
528
+ "VpcFlowLogIAMRole6A475D41",
529
+ "Arn"
530
+ ]
531
+ },
532
+ "LogDestinationType": "cloud-watch-logs",
533
+ "LogGroupName": {
534
+ "Ref": "VpcFlowLogLogGroup7B5C56B9"
535
+ },
536
+ "ResourceId": {
537
+ "Ref": "Vpc8378EB38"
538
+ },
539
+ "ResourceType": "VPC",
540
+ "Tags": [
541
+ {
542
+ "Key": "Name",
543
+ "Value": "farkin-existingFargateService/Vpc/FlowLog"
544
+ }
545
+ ],
546
+ "TrafficType": "ALL"
547
+ }
548
+ },
549
+ "VpcECRAPI9A3B6A2B": {
550
+ "Type": "AWS::EC2::VPCEndpoint",
551
+ "Properties": {
552
+ "PrivateDnsEnabled": true,
553
+ "SecurityGroupIds": [
554
+ {
555
+ "Fn::GetAtt": [
556
+ "farkinexistingFargateServiceECRAPIsecuritygroupF2455F12",
557
+ "GroupId"
558
+ ]
559
+ }
560
+ ],
561
+ "ServiceName": {
562
+ "Fn::Join": [
563
+ "",
564
+ [
565
+ "com.amazonaws.",
566
+ {
567
+ "Ref": "AWS::Region"
568
+ },
569
+ ".ecr.api"
570
+ ]
571
+ ]
572
+ },
573
+ "SubnetIds": [
574
+ {
575
+ "Ref": "VpcPrivateSubnet1Subnet536B997A"
576
+ },
577
+ {
578
+ "Ref": "VpcPrivateSubnet2Subnet3788AAA1"
579
+ }
580
+ ],
581
+ "VpcEndpointType": "Interface",
582
+ "VpcId": {
583
+ "Ref": "Vpc8378EB38"
584
+ }
585
+ }
586
+ },
587
+ "VpcECRDKR604E039F": {
588
+ "Type": "AWS::EC2::VPCEndpoint",
589
+ "Properties": {
590
+ "PrivateDnsEnabled": true,
591
+ "SecurityGroupIds": [
592
+ {
593
+ "Fn::GetAtt": [
594
+ "farkinexistingFargateServiceECRDKRsecuritygroup449EDD78",
595
+ "GroupId"
596
+ ]
597
+ }
598
+ ],
599
+ "ServiceName": {
600
+ "Fn::Join": [
601
+ "",
602
+ [
603
+ "com.amazonaws.",
604
+ {
605
+ "Ref": "AWS::Region"
606
+ },
607
+ ".ecr.dkr"
608
+ ]
609
+ ]
610
+ },
611
+ "SubnetIds": [
612
+ {
613
+ "Ref": "VpcPrivateSubnet1Subnet536B997A"
614
+ },
615
+ {
616
+ "Ref": "VpcPrivateSubnet2Subnet3788AAA1"
617
+ }
618
+ ],
619
+ "VpcEndpointType": "Interface",
620
+ "VpcId": {
621
+ "Ref": "Vpc8378EB38"
622
+ }
623
+ }
624
+ },
625
+ "VpcS3A5408339": {
626
+ "Type": "AWS::EC2::VPCEndpoint",
627
+ "Properties": {
628
+ "RouteTableIds": [
629
+ {
630
+ "Ref": "VpcPrivateSubnet1RouteTableB2C5B500"
631
+ },
632
+ {
633
+ "Ref": "VpcPrivateSubnet2RouteTableA678073B"
634
+ },
635
+ {
636
+ "Ref": "VpcPublicSubnet1RouteTable6C95E38E"
637
+ },
638
+ {
639
+ "Ref": "VpcPublicSubnet2RouteTable94F7E489"
640
+ }
641
+ ],
642
+ "ServiceName": {
643
+ "Fn::Join": [
644
+ "",
645
+ [
646
+ "com.amazonaws.",
647
+ {
648
+ "Ref": "AWS::Region"
649
+ },
650
+ ".s3"
651
+ ]
652
+ ]
653
+ },
654
+ "VpcEndpointType": "Gateway",
655
+ "VpcId": {
656
+ "Ref": "Vpc8378EB38"
657
+ }
658
+ }
659
+ },
660
+ "VpcKINESISSTREAMSC07D91B5": {
661
+ "Type": "AWS::EC2::VPCEndpoint",
662
+ "Properties": {
663
+ "PrivateDnsEnabled": true,
664
+ "SecurityGroupIds": [
665
+ {
666
+ "Fn::GetAtt": [
667
+ "farkinexistingFargateServiceKINESISSTREAMSsecuritygroup21CA24CF",
668
+ "GroupId"
669
+ ]
670
+ }
671
+ ],
672
+ "ServiceName": {
673
+ "Fn::Join": [
674
+ "",
675
+ [
676
+ "com.amazonaws.",
677
+ {
678
+ "Ref": "AWS::Region"
679
+ },
680
+ ".kinesis-streams"
681
+ ]
682
+ ]
683
+ },
684
+ "SubnetIds": [
685
+ {
686
+ "Ref": "VpcPrivateSubnet1Subnet536B997A"
687
+ },
688
+ {
689
+ "Ref": "VpcPrivateSubnet2Subnet3788AAA1"
690
+ }
691
+ ],
692
+ "VpcEndpointType": "Interface",
693
+ "VpcId": {
694
+ "Ref": "Vpc8378EB38"
695
+ }
696
+ }
697
+ },
698
+ "CustomVpcRestrictDefaultSGCustomResourceProviderRole26592FE0": {
699
+ "Type": "AWS::IAM::Role",
700
+ "Properties": {
701
+ "AssumeRolePolicyDocument": {
702
+ "Version": "2012-10-17",
703
+ "Statement": [
704
+ {
705
+ "Action": "sts:AssumeRole",
706
+ "Effect": "Allow",
707
+ "Principal": {
708
+ "Service": "lambda.amazonaws.com"
709
+ }
710
+ }
711
+ ]
712
+ },
713
+ "ManagedPolicyArns": [
714
+ {
715
+ "Fn::Sub": "arn:${AWS::Partition}:iam::aws:policy/service-role/AWSLambdaBasicExecutionRole"
716
+ }
717
+ ],
718
+ "Policies": [
719
+ {
720
+ "PolicyName": "Inline",
721
+ "PolicyDocument": {
722
+ "Version": "2012-10-17",
723
+ "Statement": [
724
+ {
725
+ "Effect": "Allow",
726
+ "Action": [
727
+ "ec2:AuthorizeSecurityGroupIngress",
728
+ "ec2:AuthorizeSecurityGroupEgress",
729
+ "ec2:RevokeSecurityGroupIngress",
730
+ "ec2:RevokeSecurityGroupEgress"
731
+ ],
732
+ "Resource": [
733
+ {
734
+ "Fn::Join": [
735
+ "",
736
+ [
737
+ "arn:",
738
+ {
739
+ "Ref": "AWS::Partition"
740
+ },
741
+ ":ec2:",
742
+ {
743
+ "Ref": "AWS::Region"
744
+ },
745
+ ":",
746
+ {
747
+ "Ref": "AWS::AccountId"
748
+ },
749
+ ":security-group/",
750
+ {
751
+ "Fn::GetAtt": [
752
+ "Vpc8378EB38",
753
+ "DefaultSecurityGroup"
754
+ ]
755
+ }
756
+ ]
757
+ ]
758
+ }
759
+ ]
760
+ }
761
+ ]
762
+ }
763
+ }
764
+ ]
765
+ }
766
+ },
767
+ "CustomVpcRestrictDefaultSGCustomResourceProviderHandlerDC833E5E": {
768
+ "Type": "AWS::Lambda::Function",
769
+ "Properties": {
770
+ "Code": {
771
+ "S3Bucket": {
772
+ "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
773
+ },
774
+ "S3Key": "dd5711540f04e06aa955d7f4862fc04e8cdea464cb590dae91ed2976bb78098e.zip"
775
+ },
776
+ "Timeout": 900,
777
+ "MemorySize": 128,
778
+ "Handler": "__entrypoint__.handler",
779
+ "Role": {
780
+ "Fn::GetAtt": [
781
+ "CustomVpcRestrictDefaultSGCustomResourceProviderRole26592FE0",
782
+ "Arn"
783
+ ]
784
+ },
785
+ "Runtime": "nodejs18.x",
786
+ "Description": "Lambda function for removing all inbound/outbound rules from the VPC default security group"
787
+ },
788
+ "DependsOn": [
789
+ "CustomVpcRestrictDefaultSGCustomResourceProviderRole26592FE0"
790
+ ],
791
+ "Metadata": {
792
+ "cfn_nag": {
793
+ "rules_to_suppress": [
794
+ {
795
+ "id": "W58",
796
+ "reason": "CDK generated custom resource"
797
+ },
798
+ {
799
+ "id": "W89",
800
+ "reason": "CDK generated custom resource"
801
+ },
802
+ {
803
+ "id": "W92",
804
+ "reason": "CDK generated custom resource"
805
+ }
806
+ ]
807
+ }
808
+ }
809
+ },
810
+ "farkinexistingFargateServiceECRAPIsecuritygroupF2455F12": {
811
+ "Type": "AWS::EC2::SecurityGroup",
812
+ "Properties": {
813
+ "GroupDescription": "farkin-existingFargateService/farkin-existingFargateService-ECR_API-security-group",
814
+ "SecurityGroupEgress": [
815
+ {
816
+ "CidrIp": "0.0.0.0/0",
817
+ "Description": "Allow all outbound traffic by default",
818
+ "IpProtocol": "-1"
819
+ }
820
+ ],
821
+ "SecurityGroupIngress": [
822
+ {
823
+ "CidrIp": {
824
+ "Fn::GetAtt": [
825
+ "Vpc8378EB38",
826
+ "CidrBlock"
827
+ ]
828
+ },
829
+ "Description": {
830
+ "Fn::Join": [
831
+ "",
832
+ [
833
+ "from ",
834
+ {
835
+ "Fn::GetAtt": [
836
+ "Vpc8378EB38",
837
+ "CidrBlock"
838
+ ]
839
+ },
840
+ ":443"
841
+ ]
842
+ ]
843
+ },
844
+ "FromPort": 443,
845
+ "IpProtocol": "tcp",
846
+ "ToPort": 443
847
+ }
848
+ ],
849
+ "VpcId": {
850
+ "Ref": "Vpc8378EB38"
851
+ }
852
+ },
853
+ "Metadata": {
854
+ "cfn_nag": {
855
+ "rules_to_suppress": [
856
+ {
857
+ "id": "W5",
858
+ "reason": "Egress of 0.0.0.0/0 is default and generally considered OK"
859
+ },
860
+ {
861
+ "id": "W40",
862
+ "reason": "Egress IPProtocol of -1 is default and generally considered OK"
863
+ }
864
+ ]
865
+ }
866
+ }
867
+ },
868
+ "farkinexistingFargateServiceECRDKRsecuritygroup449EDD78": {
869
+ "Type": "AWS::EC2::SecurityGroup",
870
+ "Properties": {
871
+ "GroupDescription": "farkin-existingFargateService/farkin-existingFargateService-ECR_DKR-security-group",
872
+ "SecurityGroupEgress": [
873
+ {
874
+ "CidrIp": "0.0.0.0/0",
875
+ "Description": "Allow all outbound traffic by default",
876
+ "IpProtocol": "-1"
877
+ }
878
+ ],
879
+ "SecurityGroupIngress": [
880
+ {
881
+ "CidrIp": {
882
+ "Fn::GetAtt": [
883
+ "Vpc8378EB38",
884
+ "CidrBlock"
885
+ ]
886
+ },
887
+ "Description": {
888
+ "Fn::Join": [
889
+ "",
890
+ [
891
+ "from ",
892
+ {
893
+ "Fn::GetAtt": [
894
+ "Vpc8378EB38",
895
+ "CidrBlock"
896
+ ]
897
+ },
898
+ ":443"
899
+ ]
900
+ ]
901
+ },
902
+ "FromPort": 443,
903
+ "IpProtocol": "tcp",
904
+ "ToPort": 443
905
+ }
906
+ ],
907
+ "VpcId": {
908
+ "Ref": "Vpc8378EB38"
909
+ }
910
+ },
911
+ "Metadata": {
912
+ "cfn_nag": {
913
+ "rules_to_suppress": [
914
+ {
915
+ "id": "W5",
916
+ "reason": "Egress of 0.0.0.0/0 is default and generally considered OK"
917
+ },
918
+ {
919
+ "id": "W40",
920
+ "reason": "Egress IPProtocol of -1 is default and generally considered OK"
921
+ }
922
+ ]
923
+ }
924
+ }
925
+ },
926
+ "testclusterDF8B0D19": {
927
+ "Type": "AWS::ECS::Cluster"
928
+ },
929
+ "testtaskdefTaskRoleB2DEF113": {
930
+ "Type": "AWS::IAM::Role",
931
+ "Properties": {
932
+ "AssumeRolePolicyDocument": {
933
+ "Statement": [
934
+ {
935
+ "Action": "sts:AssumeRole",
936
+ "Effect": "Allow",
937
+ "Principal": {
938
+ "Service": "ecs-tasks.amazonaws.com"
939
+ }
940
+ }
941
+ ],
942
+ "Version": "2012-10-17"
943
+ }
944
+ }
945
+ },
946
+ "testtaskdefTaskRoleDefaultPolicy5D591D1C": {
947
+ "Type": "AWS::IAM::Policy",
948
+ "Properties": {
949
+ "PolicyDocument": {
950
+ "Statement": [
951
+ {
952
+ "Action": [
953
+ "kinesis:ListShards",
954
+ "kinesis:PutRecord",
955
+ "kinesis:PutRecords"
956
+ ],
957
+ "Effect": "Allow",
958
+ "Resource": {
959
+ "Fn::GetAtt": [
960
+ "testfargatekinesisstreamsKinesisStreamD31BD614",
961
+ "Arn"
962
+ ]
963
+ }
964
+ }
965
+ ],
966
+ "Version": "2012-10-17"
967
+ },
968
+ "PolicyName": "testtaskdefTaskRoleDefaultPolicy5D591D1C",
969
+ "Roles": [
970
+ {
971
+ "Ref": "testtaskdefTaskRoleB2DEF113"
972
+ }
973
+ ]
974
+ }
975
+ },
976
+ "testtaskdefF924AD58": {
977
+ "Type": "AWS::ECS::TaskDefinition",
978
+ "Properties": {
979
+ "ContainerDefinitions": [
980
+ {
981
+ "Environment": [
982
+ {
983
+ "Name": "KINESIS_DATASTREAM_NAME",
984
+ "Value": {
985
+ "Ref": "testfargatekinesisstreamsKinesisStreamD31BD614"
986
+ }
987
+ }
988
+ ],
989
+ "Essential": true,
990
+ "Image": "nginx",
991
+ "MemoryReservation": 512,
992
+ "Name": "test-container",
993
+ "PortMappings": [
994
+ {
995
+ "ContainerPort": 8080,
996
+ "Protocol": "tcp"
997
+ }
998
+ ]
999
+ }
1000
+ ],
1001
+ "Cpu": "256",
1002
+ "Family": "farkinexistingFargateServicetesttaskdefC5C56F23",
1003
+ "Memory": "512",
1004
+ "NetworkMode": "awsvpc",
1005
+ "RequiresCompatibilities": [
1006
+ "FARGATE"
1007
+ ],
1008
+ "TaskRoleArn": {
1009
+ "Fn::GetAtt": [
1010
+ "testtaskdefTaskRoleB2DEF113",
1011
+ "Arn"
1012
+ ]
1013
+ }
1014
+ }
1015
+ },
1016
+ "testsg872EB48A": {
1017
+ "Type": "AWS::EC2::SecurityGroup",
1018
+ "Properties": {
1019
+ "GroupDescription": "Construct created security group",
1020
+ "SecurityGroupEgress": [
1021
+ {
1022
+ "CidrIp": "0.0.0.0/0",
1023
+ "Description": "Allow all outbound traffic by default",
1024
+ "IpProtocol": "-1"
1025
+ }
1026
+ ],
1027
+ "VpcId": {
1028
+ "Ref": "Vpc8378EB38"
1029
+ }
1030
+ },
1031
+ "Metadata": {
1032
+ "cfn_nag": {
1033
+ "rules_to_suppress": [
1034
+ {
1035
+ "id": "W5",
1036
+ "reason": "Egress of 0.0.0.0/0 is default and generally considered OK"
1037
+ },
1038
+ {
1039
+ "id": "W40",
1040
+ "reason": "Egress IPProtocol of -1 is default and generally considered OK"
1041
+ }
1042
+ ]
1043
+ }
1044
+ }
1045
+ },
1046
+ "testserviceService2730C249": {
1047
+ "Type": "AWS::ECS::Service",
1048
+ "Properties": {
1049
+ "Cluster": {
1050
+ "Ref": "testclusterDF8B0D19"
1051
+ },
1052
+ "DeploymentConfiguration": {
1053
+ "Alarms": {
1054
+ "AlarmNames": [],
1055
+ "Enable": false,
1056
+ "Rollback": false
1057
+ },
1058
+ "MaximumPercent": 150,
1059
+ "MinimumHealthyPercent": 75
1060
+ },
1061
+ "DesiredCount": 2,
1062
+ "EnableECSManagedTags": false,
1063
+ "LaunchType": "FARGATE",
1064
+ "NetworkConfiguration": {
1065
+ "AwsvpcConfiguration": {
1066
+ "AssignPublicIp": "DISABLED",
1067
+ "SecurityGroups": [
1068
+ {
1069
+ "Fn::GetAtt": [
1070
+ "testsg872EB48A",
1071
+ "GroupId"
1072
+ ]
1073
+ }
1074
+ ],
1075
+ "Subnets": [
1076
+ {
1077
+ "Ref": "VpcPrivateSubnet1Subnet536B997A"
1078
+ },
1079
+ {
1080
+ "Ref": "VpcPrivateSubnet2Subnet3788AAA1"
1081
+ }
1082
+ ]
1083
+ }
1084
+ },
1085
+ "PlatformVersion": "LATEST",
1086
+ "TaskDefinition": {
1087
+ "Ref": "testtaskdefF924AD58"
1088
+ }
1089
+ },
1090
+ "DependsOn": [
1091
+ "testtaskdefTaskRoleDefaultPolicy5D591D1C",
1092
+ "testtaskdefTaskRoleB2DEF113"
1093
+ ]
1094
+ },
1095
+ "testfargatekinesisstreamsKinesisStreamD31BD614": {
1096
+ "Type": "AWS::Kinesis::Stream",
1097
+ "Properties": {
1098
+ "RetentionPeriodHours": 24,
1099
+ "ShardCount": 1,
1100
+ "StreamEncryption": {
1101
+ "EncryptionType": "KMS",
1102
+ "KeyId": "alias/aws/kinesis"
1103
+ }
1104
+ }
1105
+ },
1106
+ "testfargatekinesisstreamsKinesisStreamGetRecordsIteratorAgeAlarm60755E90": {
1107
+ "Type": "AWS::CloudWatch::Alarm",
1108
+ "Properties": {
1109
+ "AlarmDescription": "Consumer Record Processing Falling Behind, there is risk for data loss due to record expiration.",
1110
+ "ComparisonOperator": "GreaterThanOrEqualToThreshold",
1111
+ "EvaluationPeriods": 1,
1112
+ "MetricName": "GetRecords.IteratorAgeMilliseconds",
1113
+ "Namespace": "AWS/Kinesis",
1114
+ "Period": 300,
1115
+ "Statistic": "Maximum",
1116
+ "Threshold": 43200000
1117
+ }
1118
+ },
1119
+ "testfargatekinesisstreamsKinesisStreamReadProvisionedThroughputExceededAlarmDE16A9F2": {
1120
+ "Type": "AWS::CloudWatch::Alarm",
1121
+ "Properties": {
1122
+ "AlarmDescription": "Consumer Application is Reading at a Slower Rate Than Expected.",
1123
+ "ComparisonOperator": "GreaterThanThreshold",
1124
+ "EvaluationPeriods": 1,
1125
+ "MetricName": "ReadProvisionedThroughputExceeded",
1126
+ "Namespace": "AWS/Kinesis",
1127
+ "Period": 300,
1128
+ "Statistic": "Average",
1129
+ "Threshold": 0
1130
+ }
1131
+ },
1132
+ "farkinexistingFargateServiceKINESISSTREAMSsecuritygroup21CA24CF": {
1133
+ "Type": "AWS::EC2::SecurityGroup",
1134
+ "Properties": {
1135
+ "GroupDescription": "farkin-existingFargateService/farkin-existingFargateService-KINESIS_STREAMS-security-group",
1136
+ "SecurityGroupEgress": [
1137
+ {
1138
+ "CidrIp": "0.0.0.0/0",
1139
+ "Description": "Allow all outbound traffic by default",
1140
+ "IpProtocol": "-1"
1141
+ }
1142
+ ],
1143
+ "SecurityGroupIngress": [
1144
+ {
1145
+ "CidrIp": {
1146
+ "Fn::GetAtt": [
1147
+ "Vpc8378EB38",
1148
+ "CidrBlock"
1149
+ ]
1150
+ },
1151
+ "Description": {
1152
+ "Fn::Join": [
1153
+ "",
1154
+ [
1155
+ "from ",
1156
+ {
1157
+ "Fn::GetAtt": [
1158
+ "Vpc8378EB38",
1159
+ "CidrBlock"
1160
+ ]
1161
+ },
1162
+ ":443"
1163
+ ]
1164
+ ]
1165
+ },
1166
+ "FromPort": 443,
1167
+ "IpProtocol": "tcp",
1168
+ "ToPort": 443
1169
+ }
1170
+ ],
1171
+ "VpcId": {
1172
+ "Ref": "Vpc8378EB38"
1173
+ }
1174
+ },
1175
+ "Metadata": {
1176
+ "cfn_nag": {
1177
+ "rules_to_suppress": [
1178
+ {
1179
+ "id": "W5",
1180
+ "reason": "Egress of 0.0.0.0/0 is default and generally considered OK"
1181
+ },
1182
+ {
1183
+ "id": "W40",
1184
+ "reason": "Egress IPProtocol of -1 is default and generally considered OK"
1185
+ }
1186
+ ]
1187
+ }
1188
+ }
1189
+ }
1190
+ },
1191
+ "Parameters": {
1192
+ "BootstrapVersion": {
1193
+ "Type": "AWS::SSM::Parameter::Value<String>",
1194
+ "Default": "/cdk-bootstrap/hnb659fds/version",
1195
+ "Description": "Version of the CDK Bootstrap resources in this environment, automatically retrieved from SSM Parameter Store. [cdk:skip]"
1196
+ }
1197
+ },
1198
+ "Rules": {
1199
+ "CheckBootstrapVersion": {
1200
+ "Assertions": [
1201
+ {
1202
+ "Assert": {
1203
+ "Fn::Not": [
1204
+ {
1205
+ "Fn::Contains": [
1206
+ [
1207
+ "1",
1208
+ "2",
1209
+ "3",
1210
+ "4",
1211
+ "5"
1212
+ ],
1213
+ {
1214
+ "Ref": "BootstrapVersion"
1215
+ }
1216
+ ]
1217
+ }
1218
+ ]
1219
+ },
1220
+ "AssertDescription": "CDK bootstrap stack version 6 required. Please run 'cdk bootstrap' with a recent version of the CDK CLI."
1221
+ }
1222
+ ]
1223
+ }
1224
+ }
1225
+ }