@aws-solutions-constructs/aws-fargate-kinesisstreams 2.44.0 → 2.46.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +105 -14
- package/lib/index.js +4 -3
- package/package.json +6 -6
- package/test/fargate-kinesisstreams.test.js +48 -1
- package/test/{integ.existingFargateService.expected.json → integ.farkin-existingFargateService.expected.json} +175 -166
- package/test/integ.farkin-existingFargateService.js +37 -0
- package/test/{integ.existingStream.expected.json → integ.farkin-existingStream.expected.json} +179 -170
- package/test/integ.farkin-existingStream.js +35 -0
- package/test/{integ.noArguments.expected.json → integ.farkin-existingVpc.expected.json} +214 -205
- package/test/integ.farkin-existingVpc.js +33 -0
- package/test/{integ.fargateServiceFromProps.expected.json → integ.farkin-fargateServiceFromProps.expected.json} +179 -170
- package/test/{integ.existingStream.js → integ.farkin-fargateServiceFromProps.js} +5 -7
- package/test/{integ.existingVpc.expected.json → integ.farkin-noArguments.expected.json} +213 -204
- package/test/integ.farkin-noArguments.js +29 -0
- package/test/{integ.streamFromProps.expected.json → integ.farkin-streamFromProps.expected.json} +179 -170
- package/test/{integ.existingVpc.js → integ.farkin-streamFromProps.js} +6 -5
- package/test/{integ.vpcFromProps.expected.json → integ.farkin-vpcFromProps.expected.json} +179 -170
- package/test/integ.farkin-vpcFromProps.js +33 -0
- package/test/integ.existingFargateService.js +0 -37
- package/test/integ.fargateServiceFromProps.js +0 -33
- package/test/integ.noArguments.js +0 -29
- package/test/integ.streamFromProps.js +0 -34
- package/test/integ.vpcFromProps.js +0 -33
- /package/test/{integ.existingFargateService.d.ts → integ.farkin-existingFargateService.d.ts} +0 -0
- /package/test/{integ.existingStream.d.ts → integ.farkin-existingStream.d.ts} +0 -0
- /package/test/{integ.existingVpc.d.ts → integ.farkin-existingVpc.d.ts} +0 -0
- /package/test/{integ.fargateServiceFromProps.d.ts → integ.farkin-fargateServiceFromProps.d.ts} +0 -0
- /package/test/{integ.noArguments.d.ts → integ.farkin-noArguments.d.ts} +0 -0
- /package/test/{integ.streamFromProps.d.ts → integ.farkin-streamFromProps.d.ts} +0 -0
- /package/test/{integ.vpcFromProps.d.ts → integ.farkin-vpcFromProps.d.ts} +0 -0
|
@@ -1,42 +1,5 @@
|
|
|
1
1
|
{
|
|
2
2
|
"Resources": {
|
|
3
|
-
"testfargatekinesisstreamsKinesisStreamD31BD614": {
|
|
4
|
-
"Type": "AWS::Kinesis::Stream",
|
|
5
|
-
"Properties": {
|
|
6
|
-
"RetentionPeriodHours": 24,
|
|
7
|
-
"ShardCount": 1,
|
|
8
|
-
"StreamEncryption": {
|
|
9
|
-
"EncryptionType": "KMS",
|
|
10
|
-
"KeyId": "alias/aws/kinesis"
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
"testfargatekinesisstreamsKinesisStreamGetRecordsIteratorAgeAlarm60755E90": {
|
|
15
|
-
"Type": "AWS::CloudWatch::Alarm",
|
|
16
|
-
"Properties": {
|
|
17
|
-
"ComparisonOperator": "GreaterThanOrEqualToThreshold",
|
|
18
|
-
"EvaluationPeriods": 1,
|
|
19
|
-
"AlarmDescription": "Consumer Record Processing Falling Behind, there is risk for data loss due to record expiration.",
|
|
20
|
-
"MetricName": "GetRecords.IteratorAgeMilliseconds",
|
|
21
|
-
"Namespace": "AWS/Kinesis",
|
|
22
|
-
"Period": 300,
|
|
23
|
-
"Statistic": "Maximum",
|
|
24
|
-
"Threshold": 43200000
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
"testfargatekinesisstreamsKinesisStreamReadProvisionedThroughputExceededAlarmDE16A9F2": {
|
|
28
|
-
"Type": "AWS::CloudWatch::Alarm",
|
|
29
|
-
"Properties": {
|
|
30
|
-
"ComparisonOperator": "GreaterThanThreshold",
|
|
31
|
-
"EvaluationPeriods": 1,
|
|
32
|
-
"AlarmDescription": "Consumer Application is Reading at a Slower Rate Than Expected.",
|
|
33
|
-
"MetricName": "ReadProvisionedThroughputExceeded",
|
|
34
|
-
"Namespace": "AWS/Kinesis",
|
|
35
|
-
"Period": 300,
|
|
36
|
-
"Statistic": "Average",
|
|
37
|
-
"Threshold": 0
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
3
|
"Vpc8378EB38": {
|
|
41
4
|
"Type": "AWS::EC2::VPC",
|
|
42
5
|
"Properties": {
|
|
@@ -47,7 +10,7 @@
|
|
|
47
10
|
"Tags": [
|
|
48
11
|
{
|
|
49
12
|
"Key": "Name",
|
|
50
|
-
"Value": "
|
|
13
|
+
"Value": "farkin-existingVpc/Vpc"
|
|
51
14
|
}
|
|
52
15
|
]
|
|
53
16
|
}
|
|
@@ -55,9 +18,6 @@
|
|
|
55
18
|
"VpcPublicSubnet1Subnet5C2D37C4": {
|
|
56
19
|
"Type": "AWS::EC2::Subnet",
|
|
57
20
|
"Properties": {
|
|
58
|
-
"VpcId": {
|
|
59
|
-
"Ref": "Vpc8378EB38"
|
|
60
|
-
},
|
|
61
21
|
"AvailabilityZone": "test-region-1a",
|
|
62
22
|
"CidrBlock": "10.0.0.0/19",
|
|
63
23
|
"MapPublicIpOnLaunch": true,
|
|
@@ -72,9 +32,12 @@
|
|
|
72
32
|
},
|
|
73
33
|
{
|
|
74
34
|
"Key": "Name",
|
|
75
|
-
"Value": "
|
|
35
|
+
"Value": "farkin-existingVpc/Vpc/PublicSubnet1"
|
|
76
36
|
}
|
|
77
|
-
]
|
|
37
|
+
],
|
|
38
|
+
"VpcId": {
|
|
39
|
+
"Ref": "Vpc8378EB38"
|
|
40
|
+
}
|
|
78
41
|
},
|
|
79
42
|
"Metadata": {
|
|
80
43
|
"cfn_nag": {
|
|
@@ -90,15 +53,15 @@
|
|
|
90
53
|
"VpcPublicSubnet1RouteTable6C95E38E": {
|
|
91
54
|
"Type": "AWS::EC2::RouteTable",
|
|
92
55
|
"Properties": {
|
|
93
|
-
"VpcId": {
|
|
94
|
-
"Ref": "Vpc8378EB38"
|
|
95
|
-
},
|
|
96
56
|
"Tags": [
|
|
97
57
|
{
|
|
98
58
|
"Key": "Name",
|
|
99
|
-
"Value": "
|
|
59
|
+
"Value": "farkin-existingVpc/Vpc/PublicSubnet1"
|
|
100
60
|
}
|
|
101
|
-
]
|
|
61
|
+
],
|
|
62
|
+
"VpcId": {
|
|
63
|
+
"Ref": "Vpc8378EB38"
|
|
64
|
+
}
|
|
102
65
|
}
|
|
103
66
|
},
|
|
104
67
|
"VpcPublicSubnet1RouteTableAssociation97140677": {
|
|
@@ -115,12 +78,12 @@
|
|
|
115
78
|
"VpcPublicSubnet1DefaultRoute3DA9E72A": {
|
|
116
79
|
"Type": "AWS::EC2::Route",
|
|
117
80
|
"Properties": {
|
|
118
|
-
"RouteTableId": {
|
|
119
|
-
"Ref": "VpcPublicSubnet1RouteTable6C95E38E"
|
|
120
|
-
},
|
|
121
81
|
"DestinationCidrBlock": "0.0.0.0/0",
|
|
122
82
|
"GatewayId": {
|
|
123
83
|
"Ref": "VpcIGWD7BA715C"
|
|
84
|
+
},
|
|
85
|
+
"RouteTableId": {
|
|
86
|
+
"Ref": "VpcPublicSubnet1RouteTable6C95E38E"
|
|
124
87
|
}
|
|
125
88
|
},
|
|
126
89
|
"DependsOn": [
|
|
@@ -134,7 +97,7 @@
|
|
|
134
97
|
"Tags": [
|
|
135
98
|
{
|
|
136
99
|
"Key": "Name",
|
|
137
|
-
"Value": "
|
|
100
|
+
"Value": "farkin-existingVpc/Vpc/PublicSubnet1"
|
|
138
101
|
}
|
|
139
102
|
]
|
|
140
103
|
}
|
|
@@ -142,19 +105,19 @@
|
|
|
142
105
|
"VpcPublicSubnet1NATGateway4D7517AA": {
|
|
143
106
|
"Type": "AWS::EC2::NatGateway",
|
|
144
107
|
"Properties": {
|
|
145
|
-
"SubnetId": {
|
|
146
|
-
"Ref": "VpcPublicSubnet1Subnet5C2D37C4"
|
|
147
|
-
},
|
|
148
108
|
"AllocationId": {
|
|
149
109
|
"Fn::GetAtt": [
|
|
150
110
|
"VpcPublicSubnet1EIPD7E02669",
|
|
151
111
|
"AllocationId"
|
|
152
112
|
]
|
|
153
113
|
},
|
|
114
|
+
"SubnetId": {
|
|
115
|
+
"Ref": "VpcPublicSubnet1Subnet5C2D37C4"
|
|
116
|
+
},
|
|
154
117
|
"Tags": [
|
|
155
118
|
{
|
|
156
119
|
"Key": "Name",
|
|
157
|
-
"Value": "
|
|
120
|
+
"Value": "farkin-existingVpc/Vpc/PublicSubnet1"
|
|
158
121
|
}
|
|
159
122
|
]
|
|
160
123
|
},
|
|
@@ -166,9 +129,6 @@
|
|
|
166
129
|
"VpcPublicSubnet2Subnet691E08A3": {
|
|
167
130
|
"Type": "AWS::EC2::Subnet",
|
|
168
131
|
"Properties": {
|
|
169
|
-
"VpcId": {
|
|
170
|
-
"Ref": "Vpc8378EB38"
|
|
171
|
-
},
|
|
172
132
|
"AvailabilityZone": "test-region-1b",
|
|
173
133
|
"CidrBlock": "10.0.32.0/19",
|
|
174
134
|
"MapPublicIpOnLaunch": true,
|
|
@@ -183,9 +143,12 @@
|
|
|
183
143
|
},
|
|
184
144
|
{
|
|
185
145
|
"Key": "Name",
|
|
186
|
-
"Value": "
|
|
146
|
+
"Value": "farkin-existingVpc/Vpc/PublicSubnet2"
|
|
187
147
|
}
|
|
188
|
-
]
|
|
148
|
+
],
|
|
149
|
+
"VpcId": {
|
|
150
|
+
"Ref": "Vpc8378EB38"
|
|
151
|
+
}
|
|
189
152
|
},
|
|
190
153
|
"Metadata": {
|
|
191
154
|
"cfn_nag": {
|
|
@@ -201,15 +164,15 @@
|
|
|
201
164
|
"VpcPublicSubnet2RouteTable94F7E489": {
|
|
202
165
|
"Type": "AWS::EC2::RouteTable",
|
|
203
166
|
"Properties": {
|
|
204
|
-
"VpcId": {
|
|
205
|
-
"Ref": "Vpc8378EB38"
|
|
206
|
-
},
|
|
207
167
|
"Tags": [
|
|
208
168
|
{
|
|
209
169
|
"Key": "Name",
|
|
210
|
-
"Value": "
|
|
170
|
+
"Value": "farkin-existingVpc/Vpc/PublicSubnet2"
|
|
211
171
|
}
|
|
212
|
-
]
|
|
172
|
+
],
|
|
173
|
+
"VpcId": {
|
|
174
|
+
"Ref": "Vpc8378EB38"
|
|
175
|
+
}
|
|
213
176
|
}
|
|
214
177
|
},
|
|
215
178
|
"VpcPublicSubnet2RouteTableAssociationDD5762D8": {
|
|
@@ -226,12 +189,12 @@
|
|
|
226
189
|
"VpcPublicSubnet2DefaultRoute97F91067": {
|
|
227
190
|
"Type": "AWS::EC2::Route",
|
|
228
191
|
"Properties": {
|
|
229
|
-
"RouteTableId": {
|
|
230
|
-
"Ref": "VpcPublicSubnet2RouteTable94F7E489"
|
|
231
|
-
},
|
|
232
192
|
"DestinationCidrBlock": "0.0.0.0/0",
|
|
233
193
|
"GatewayId": {
|
|
234
194
|
"Ref": "VpcIGWD7BA715C"
|
|
195
|
+
},
|
|
196
|
+
"RouteTableId": {
|
|
197
|
+
"Ref": "VpcPublicSubnet2RouteTable94F7E489"
|
|
235
198
|
}
|
|
236
199
|
},
|
|
237
200
|
"DependsOn": [
|
|
@@ -245,7 +208,7 @@
|
|
|
245
208
|
"Tags": [
|
|
246
209
|
{
|
|
247
210
|
"Key": "Name",
|
|
248
|
-
"Value": "
|
|
211
|
+
"Value": "farkin-existingVpc/Vpc/PublicSubnet2"
|
|
249
212
|
}
|
|
250
213
|
]
|
|
251
214
|
}
|
|
@@ -253,19 +216,19 @@
|
|
|
253
216
|
"VpcPublicSubnet2NATGateway9182C01D": {
|
|
254
217
|
"Type": "AWS::EC2::NatGateway",
|
|
255
218
|
"Properties": {
|
|
256
|
-
"SubnetId": {
|
|
257
|
-
"Ref": "VpcPublicSubnet2Subnet691E08A3"
|
|
258
|
-
},
|
|
259
219
|
"AllocationId": {
|
|
260
220
|
"Fn::GetAtt": [
|
|
261
221
|
"VpcPublicSubnet2EIP3C605A87",
|
|
262
222
|
"AllocationId"
|
|
263
223
|
]
|
|
264
224
|
},
|
|
225
|
+
"SubnetId": {
|
|
226
|
+
"Ref": "VpcPublicSubnet2Subnet691E08A3"
|
|
227
|
+
},
|
|
265
228
|
"Tags": [
|
|
266
229
|
{
|
|
267
230
|
"Key": "Name",
|
|
268
|
-
"Value": "
|
|
231
|
+
"Value": "farkin-existingVpc/Vpc/PublicSubnet2"
|
|
269
232
|
}
|
|
270
233
|
]
|
|
271
234
|
},
|
|
@@ -277,9 +240,6 @@
|
|
|
277
240
|
"VpcPublicSubnet3SubnetBE12F0B6": {
|
|
278
241
|
"Type": "AWS::EC2::Subnet",
|
|
279
242
|
"Properties": {
|
|
280
|
-
"VpcId": {
|
|
281
|
-
"Ref": "Vpc8378EB38"
|
|
282
|
-
},
|
|
283
243
|
"AvailabilityZone": "test-region-1c",
|
|
284
244
|
"CidrBlock": "10.0.64.0/19",
|
|
285
245
|
"MapPublicIpOnLaunch": true,
|
|
@@ -294,9 +254,12 @@
|
|
|
294
254
|
},
|
|
295
255
|
{
|
|
296
256
|
"Key": "Name",
|
|
297
|
-
"Value": "
|
|
257
|
+
"Value": "farkin-existingVpc/Vpc/PublicSubnet3"
|
|
298
258
|
}
|
|
299
|
-
]
|
|
259
|
+
],
|
|
260
|
+
"VpcId": {
|
|
261
|
+
"Ref": "Vpc8378EB38"
|
|
262
|
+
}
|
|
300
263
|
},
|
|
301
264
|
"Metadata": {
|
|
302
265
|
"cfn_nag": {
|
|
@@ -312,15 +275,15 @@
|
|
|
312
275
|
"VpcPublicSubnet3RouteTable93458DBB": {
|
|
313
276
|
"Type": "AWS::EC2::RouteTable",
|
|
314
277
|
"Properties": {
|
|
315
|
-
"VpcId": {
|
|
316
|
-
"Ref": "Vpc8378EB38"
|
|
317
|
-
},
|
|
318
278
|
"Tags": [
|
|
319
279
|
{
|
|
320
280
|
"Key": "Name",
|
|
321
|
-
"Value": "
|
|
281
|
+
"Value": "farkin-existingVpc/Vpc/PublicSubnet3"
|
|
322
282
|
}
|
|
323
|
-
]
|
|
283
|
+
],
|
|
284
|
+
"VpcId": {
|
|
285
|
+
"Ref": "Vpc8378EB38"
|
|
286
|
+
}
|
|
324
287
|
}
|
|
325
288
|
},
|
|
326
289
|
"VpcPublicSubnet3RouteTableAssociation1F1EDF02": {
|
|
@@ -337,12 +300,12 @@
|
|
|
337
300
|
"VpcPublicSubnet3DefaultRoute4697774F": {
|
|
338
301
|
"Type": "AWS::EC2::Route",
|
|
339
302
|
"Properties": {
|
|
340
|
-
"RouteTableId": {
|
|
341
|
-
"Ref": "VpcPublicSubnet3RouteTable93458DBB"
|
|
342
|
-
},
|
|
343
303
|
"DestinationCidrBlock": "0.0.0.0/0",
|
|
344
304
|
"GatewayId": {
|
|
345
305
|
"Ref": "VpcIGWD7BA715C"
|
|
306
|
+
},
|
|
307
|
+
"RouteTableId": {
|
|
308
|
+
"Ref": "VpcPublicSubnet3RouteTable93458DBB"
|
|
346
309
|
}
|
|
347
310
|
},
|
|
348
311
|
"DependsOn": [
|
|
@@ -356,7 +319,7 @@
|
|
|
356
319
|
"Tags": [
|
|
357
320
|
{
|
|
358
321
|
"Key": "Name",
|
|
359
|
-
"Value": "
|
|
322
|
+
"Value": "farkin-existingVpc/Vpc/PublicSubnet3"
|
|
360
323
|
}
|
|
361
324
|
]
|
|
362
325
|
}
|
|
@@ -364,19 +327,19 @@
|
|
|
364
327
|
"VpcPublicSubnet3NATGateway7640CD1D": {
|
|
365
328
|
"Type": "AWS::EC2::NatGateway",
|
|
366
329
|
"Properties": {
|
|
367
|
-
"SubnetId": {
|
|
368
|
-
"Ref": "VpcPublicSubnet3SubnetBE12F0B6"
|
|
369
|
-
},
|
|
370
330
|
"AllocationId": {
|
|
371
331
|
"Fn::GetAtt": [
|
|
372
332
|
"VpcPublicSubnet3EIP3A666A23",
|
|
373
333
|
"AllocationId"
|
|
374
334
|
]
|
|
375
335
|
},
|
|
336
|
+
"SubnetId": {
|
|
337
|
+
"Ref": "VpcPublicSubnet3SubnetBE12F0B6"
|
|
338
|
+
},
|
|
376
339
|
"Tags": [
|
|
377
340
|
{
|
|
378
341
|
"Key": "Name",
|
|
379
|
-
"Value": "
|
|
342
|
+
"Value": "farkin-existingVpc/Vpc/PublicSubnet3"
|
|
380
343
|
}
|
|
381
344
|
]
|
|
382
345
|
},
|
|
@@ -388,9 +351,6 @@
|
|
|
388
351
|
"VpcPrivateSubnet1Subnet536B997A": {
|
|
389
352
|
"Type": "AWS::EC2::Subnet",
|
|
390
353
|
"Properties": {
|
|
391
|
-
"VpcId": {
|
|
392
|
-
"Ref": "Vpc8378EB38"
|
|
393
|
-
},
|
|
394
354
|
"AvailabilityZone": "test-region-1a",
|
|
395
355
|
"CidrBlock": "10.0.96.0/19",
|
|
396
356
|
"MapPublicIpOnLaunch": false,
|
|
@@ -405,23 +365,26 @@
|
|
|
405
365
|
},
|
|
406
366
|
{
|
|
407
367
|
"Key": "Name",
|
|
408
|
-
"Value": "
|
|
368
|
+
"Value": "farkin-existingVpc/Vpc/PrivateSubnet1"
|
|
409
369
|
}
|
|
410
|
-
]
|
|
370
|
+
],
|
|
371
|
+
"VpcId": {
|
|
372
|
+
"Ref": "Vpc8378EB38"
|
|
373
|
+
}
|
|
411
374
|
}
|
|
412
375
|
},
|
|
413
376
|
"VpcPrivateSubnet1RouteTableB2C5B500": {
|
|
414
377
|
"Type": "AWS::EC2::RouteTable",
|
|
415
378
|
"Properties": {
|
|
416
|
-
"VpcId": {
|
|
417
|
-
"Ref": "Vpc8378EB38"
|
|
418
|
-
},
|
|
419
379
|
"Tags": [
|
|
420
380
|
{
|
|
421
381
|
"Key": "Name",
|
|
422
|
-
"Value": "
|
|
382
|
+
"Value": "farkin-existingVpc/Vpc/PrivateSubnet1"
|
|
423
383
|
}
|
|
424
|
-
]
|
|
384
|
+
],
|
|
385
|
+
"VpcId": {
|
|
386
|
+
"Ref": "Vpc8378EB38"
|
|
387
|
+
}
|
|
425
388
|
}
|
|
426
389
|
},
|
|
427
390
|
"VpcPrivateSubnet1RouteTableAssociation70C59FA6": {
|
|
@@ -438,21 +401,18 @@
|
|
|
438
401
|
"VpcPrivateSubnet1DefaultRouteBE02A9ED": {
|
|
439
402
|
"Type": "AWS::EC2::Route",
|
|
440
403
|
"Properties": {
|
|
441
|
-
"RouteTableId": {
|
|
442
|
-
"Ref": "VpcPrivateSubnet1RouteTableB2C5B500"
|
|
443
|
-
},
|
|
444
404
|
"DestinationCidrBlock": "0.0.0.0/0",
|
|
445
405
|
"NatGatewayId": {
|
|
446
406
|
"Ref": "VpcPublicSubnet1NATGateway4D7517AA"
|
|
407
|
+
},
|
|
408
|
+
"RouteTableId": {
|
|
409
|
+
"Ref": "VpcPrivateSubnet1RouteTableB2C5B500"
|
|
447
410
|
}
|
|
448
411
|
}
|
|
449
412
|
},
|
|
450
413
|
"VpcPrivateSubnet2Subnet3788AAA1": {
|
|
451
414
|
"Type": "AWS::EC2::Subnet",
|
|
452
415
|
"Properties": {
|
|
453
|
-
"VpcId": {
|
|
454
|
-
"Ref": "Vpc8378EB38"
|
|
455
|
-
},
|
|
456
416
|
"AvailabilityZone": "test-region-1b",
|
|
457
417
|
"CidrBlock": "10.0.128.0/19",
|
|
458
418
|
"MapPublicIpOnLaunch": false,
|
|
@@ -467,23 +427,26 @@
|
|
|
467
427
|
},
|
|
468
428
|
{
|
|
469
429
|
"Key": "Name",
|
|
470
|
-
"Value": "
|
|
430
|
+
"Value": "farkin-existingVpc/Vpc/PrivateSubnet2"
|
|
471
431
|
}
|
|
472
|
-
]
|
|
432
|
+
],
|
|
433
|
+
"VpcId": {
|
|
434
|
+
"Ref": "Vpc8378EB38"
|
|
435
|
+
}
|
|
473
436
|
}
|
|
474
437
|
},
|
|
475
438
|
"VpcPrivateSubnet2RouteTableA678073B": {
|
|
476
439
|
"Type": "AWS::EC2::RouteTable",
|
|
477
440
|
"Properties": {
|
|
478
|
-
"VpcId": {
|
|
479
|
-
"Ref": "Vpc8378EB38"
|
|
480
|
-
},
|
|
481
441
|
"Tags": [
|
|
482
442
|
{
|
|
483
443
|
"Key": "Name",
|
|
484
|
-
"Value": "
|
|
444
|
+
"Value": "farkin-existingVpc/Vpc/PrivateSubnet2"
|
|
485
445
|
}
|
|
486
|
-
]
|
|
446
|
+
],
|
|
447
|
+
"VpcId": {
|
|
448
|
+
"Ref": "Vpc8378EB38"
|
|
449
|
+
}
|
|
487
450
|
}
|
|
488
451
|
},
|
|
489
452
|
"VpcPrivateSubnet2RouteTableAssociationA89CAD56": {
|
|
@@ -500,21 +463,18 @@
|
|
|
500
463
|
"VpcPrivateSubnet2DefaultRoute060D2087": {
|
|
501
464
|
"Type": "AWS::EC2::Route",
|
|
502
465
|
"Properties": {
|
|
503
|
-
"RouteTableId": {
|
|
504
|
-
"Ref": "VpcPrivateSubnet2RouteTableA678073B"
|
|
505
|
-
},
|
|
506
466
|
"DestinationCidrBlock": "0.0.0.0/0",
|
|
507
467
|
"NatGatewayId": {
|
|
508
468
|
"Ref": "VpcPublicSubnet2NATGateway9182C01D"
|
|
469
|
+
},
|
|
470
|
+
"RouteTableId": {
|
|
471
|
+
"Ref": "VpcPrivateSubnet2RouteTableA678073B"
|
|
509
472
|
}
|
|
510
473
|
}
|
|
511
474
|
},
|
|
512
475
|
"VpcPrivateSubnet3SubnetF258B56E": {
|
|
513
476
|
"Type": "AWS::EC2::Subnet",
|
|
514
477
|
"Properties": {
|
|
515
|
-
"VpcId": {
|
|
516
|
-
"Ref": "Vpc8378EB38"
|
|
517
|
-
},
|
|
518
478
|
"AvailabilityZone": "test-region-1c",
|
|
519
479
|
"CidrBlock": "10.0.160.0/19",
|
|
520
480
|
"MapPublicIpOnLaunch": false,
|
|
@@ -529,23 +489,26 @@
|
|
|
529
489
|
},
|
|
530
490
|
{
|
|
531
491
|
"Key": "Name",
|
|
532
|
-
"Value": "
|
|
492
|
+
"Value": "farkin-existingVpc/Vpc/PrivateSubnet3"
|
|
533
493
|
}
|
|
534
|
-
]
|
|
494
|
+
],
|
|
495
|
+
"VpcId": {
|
|
496
|
+
"Ref": "Vpc8378EB38"
|
|
497
|
+
}
|
|
535
498
|
}
|
|
536
499
|
},
|
|
537
500
|
"VpcPrivateSubnet3RouteTableD98824C7": {
|
|
538
501
|
"Type": "AWS::EC2::RouteTable",
|
|
539
502
|
"Properties": {
|
|
540
|
-
"VpcId": {
|
|
541
|
-
"Ref": "Vpc8378EB38"
|
|
542
|
-
},
|
|
543
503
|
"Tags": [
|
|
544
504
|
{
|
|
545
505
|
"Key": "Name",
|
|
546
|
-
"Value": "
|
|
506
|
+
"Value": "farkin-existingVpc/Vpc/PrivateSubnet3"
|
|
547
507
|
}
|
|
548
|
-
]
|
|
508
|
+
],
|
|
509
|
+
"VpcId": {
|
|
510
|
+
"Ref": "Vpc8378EB38"
|
|
511
|
+
}
|
|
549
512
|
}
|
|
550
513
|
},
|
|
551
514
|
"VpcPrivateSubnet3RouteTableAssociation16BDDC43": {
|
|
@@ -562,12 +525,12 @@
|
|
|
562
525
|
"VpcPrivateSubnet3DefaultRoute94B74F0D": {
|
|
563
526
|
"Type": "AWS::EC2::Route",
|
|
564
527
|
"Properties": {
|
|
565
|
-
"RouteTableId": {
|
|
566
|
-
"Ref": "VpcPrivateSubnet3RouteTableD98824C7"
|
|
567
|
-
},
|
|
568
528
|
"DestinationCidrBlock": "0.0.0.0/0",
|
|
569
529
|
"NatGatewayId": {
|
|
570
530
|
"Ref": "VpcPublicSubnet3NATGateway7640CD1D"
|
|
531
|
+
},
|
|
532
|
+
"RouteTableId": {
|
|
533
|
+
"Ref": "VpcPrivateSubnet3RouteTableD98824C7"
|
|
571
534
|
}
|
|
572
535
|
}
|
|
573
536
|
},
|
|
@@ -577,7 +540,7 @@
|
|
|
577
540
|
"Tags": [
|
|
578
541
|
{
|
|
579
542
|
"Key": "Name",
|
|
580
|
-
"Value": "
|
|
543
|
+
"Value": "farkin-existingVpc/Vpc"
|
|
581
544
|
}
|
|
582
545
|
]
|
|
583
546
|
}
|
|
@@ -585,11 +548,11 @@
|
|
|
585
548
|
"VpcVPCGWBF912B6E": {
|
|
586
549
|
"Type": "AWS::EC2::VPCGatewayAttachment",
|
|
587
550
|
"Properties": {
|
|
588
|
-
"VpcId": {
|
|
589
|
-
"Ref": "Vpc8378EB38"
|
|
590
|
-
},
|
|
591
551
|
"InternetGatewayId": {
|
|
592
552
|
"Ref": "VpcIGWD7BA715C"
|
|
553
|
+
},
|
|
554
|
+
"VpcId": {
|
|
555
|
+
"Ref": "Vpc8378EB38"
|
|
593
556
|
}
|
|
594
557
|
}
|
|
595
558
|
},
|
|
@@ -611,7 +574,7 @@
|
|
|
611
574
|
"Tags": [
|
|
612
575
|
{
|
|
613
576
|
"Key": "Name",
|
|
614
|
-
"Value": "
|
|
577
|
+
"Value": "farkin-existingVpc/Vpc/FlowLog"
|
|
615
578
|
}
|
|
616
579
|
]
|
|
617
580
|
}
|
|
@@ -663,7 +626,7 @@
|
|
|
663
626
|
"Tags": [
|
|
664
627
|
{
|
|
665
628
|
"Key": "Name",
|
|
666
|
-
"Value": "
|
|
629
|
+
"Value": "farkin-existingVpc/Vpc/FlowLog"
|
|
667
630
|
}
|
|
668
631
|
]
|
|
669
632
|
},
|
|
@@ -683,10 +646,6 @@
|
|
|
683
646
|
"VpcFlowLog8FF33A73": {
|
|
684
647
|
"Type": "AWS::EC2::FlowLog",
|
|
685
648
|
"Properties": {
|
|
686
|
-
"ResourceId": {
|
|
687
|
-
"Ref": "Vpc8378EB38"
|
|
688
|
-
},
|
|
689
|
-
"ResourceType": "VPC",
|
|
690
649
|
"DeliverLogsPermissionArn": {
|
|
691
650
|
"Fn::GetAtt": [
|
|
692
651
|
"VpcFlowLogIAMRole6A475D41",
|
|
@@ -697,10 +656,14 @@
|
|
|
697
656
|
"LogGroupName": {
|
|
698
657
|
"Ref": "VpcFlowLogLogGroup7B5C56B9"
|
|
699
658
|
},
|
|
659
|
+
"ResourceId": {
|
|
660
|
+
"Ref": "Vpc8378EB38"
|
|
661
|
+
},
|
|
662
|
+
"ResourceType": "VPC",
|
|
700
663
|
"Tags": [
|
|
701
664
|
{
|
|
702
665
|
"Key": "Name",
|
|
703
|
-
"Value": "
|
|
666
|
+
"Value": "farkin-existingVpc/Vpc/FlowLog"
|
|
704
667
|
}
|
|
705
668
|
],
|
|
706
669
|
"TrafficType": "ALL"
|
|
@@ -709,6 +672,15 @@
|
|
|
709
672
|
"VpcKINESISSTREAMSC07D91B5": {
|
|
710
673
|
"Type": "AWS::EC2::VPCEndpoint",
|
|
711
674
|
"Properties": {
|
|
675
|
+
"PrivateDnsEnabled": true,
|
|
676
|
+
"SecurityGroupIds": [
|
|
677
|
+
{
|
|
678
|
+
"Fn::GetAtt": [
|
|
679
|
+
"farkinexistingVpcKINESISSTREAMSsecuritygroupB4DB27F8",
|
|
680
|
+
"GroupId"
|
|
681
|
+
]
|
|
682
|
+
}
|
|
683
|
+
],
|
|
712
684
|
"ServiceName": {
|
|
713
685
|
"Fn::Join": [
|
|
714
686
|
"",
|
|
@@ -721,18 +693,6 @@
|
|
|
721
693
|
]
|
|
722
694
|
]
|
|
723
695
|
},
|
|
724
|
-
"VpcId": {
|
|
725
|
-
"Ref": "Vpc8378EB38"
|
|
726
|
-
},
|
|
727
|
-
"PrivateDnsEnabled": true,
|
|
728
|
-
"SecurityGroupIds": [
|
|
729
|
-
{
|
|
730
|
-
"Fn::GetAtt": [
|
|
731
|
-
"noArgumentsKINESISSTREAMSsecuritygroupA5FDBE79",
|
|
732
|
-
"GroupId"
|
|
733
|
-
]
|
|
734
|
-
}
|
|
735
|
-
],
|
|
736
696
|
"SubnetIds": [
|
|
737
697
|
{
|
|
738
698
|
"Ref": "VpcPrivateSubnet1Subnet536B997A"
|
|
@@ -744,12 +704,24 @@
|
|
|
744
704
|
"Ref": "VpcPrivateSubnet3SubnetF258B56E"
|
|
745
705
|
}
|
|
746
706
|
],
|
|
747
|
-
"VpcEndpointType": "Interface"
|
|
707
|
+
"VpcEndpointType": "Interface",
|
|
708
|
+
"VpcId": {
|
|
709
|
+
"Ref": "Vpc8378EB38"
|
|
710
|
+
}
|
|
748
711
|
}
|
|
749
712
|
},
|
|
750
713
|
"VpcECRAPI9A3B6A2B": {
|
|
751
714
|
"Type": "AWS::EC2::VPCEndpoint",
|
|
752
715
|
"Properties": {
|
|
716
|
+
"PrivateDnsEnabled": true,
|
|
717
|
+
"SecurityGroupIds": [
|
|
718
|
+
{
|
|
719
|
+
"Fn::GetAtt": [
|
|
720
|
+
"farkinexistingVpcECRAPIsecuritygroupFF0E68D3",
|
|
721
|
+
"GroupId"
|
|
722
|
+
]
|
|
723
|
+
}
|
|
724
|
+
],
|
|
753
725
|
"ServiceName": {
|
|
754
726
|
"Fn::Join": [
|
|
755
727
|
"",
|
|
@@ -762,18 +734,6 @@
|
|
|
762
734
|
]
|
|
763
735
|
]
|
|
764
736
|
},
|
|
765
|
-
"VpcId": {
|
|
766
|
-
"Ref": "Vpc8378EB38"
|
|
767
|
-
},
|
|
768
|
-
"PrivateDnsEnabled": true,
|
|
769
|
-
"SecurityGroupIds": [
|
|
770
|
-
{
|
|
771
|
-
"Fn::GetAtt": [
|
|
772
|
-
"noArgumentsECRAPIsecuritygroup70B67825",
|
|
773
|
-
"GroupId"
|
|
774
|
-
]
|
|
775
|
-
}
|
|
776
|
-
],
|
|
777
737
|
"SubnetIds": [
|
|
778
738
|
{
|
|
779
739
|
"Ref": "VpcPrivateSubnet1Subnet536B997A"
|
|
@@ -785,12 +745,24 @@
|
|
|
785
745
|
"Ref": "VpcPrivateSubnet3SubnetF258B56E"
|
|
786
746
|
}
|
|
787
747
|
],
|
|
788
|
-
"VpcEndpointType": "Interface"
|
|
748
|
+
"VpcEndpointType": "Interface",
|
|
749
|
+
"VpcId": {
|
|
750
|
+
"Ref": "Vpc8378EB38"
|
|
751
|
+
}
|
|
789
752
|
}
|
|
790
753
|
},
|
|
791
754
|
"VpcECRDKR604E039F": {
|
|
792
755
|
"Type": "AWS::EC2::VPCEndpoint",
|
|
793
756
|
"Properties": {
|
|
757
|
+
"PrivateDnsEnabled": true,
|
|
758
|
+
"SecurityGroupIds": [
|
|
759
|
+
{
|
|
760
|
+
"Fn::GetAtt": [
|
|
761
|
+
"farkinexistingVpcECRDKRsecuritygroup5D9945D5",
|
|
762
|
+
"GroupId"
|
|
763
|
+
]
|
|
764
|
+
}
|
|
765
|
+
],
|
|
794
766
|
"ServiceName": {
|
|
795
767
|
"Fn::Join": [
|
|
796
768
|
"",
|
|
@@ -803,18 +775,6 @@
|
|
|
803
775
|
]
|
|
804
776
|
]
|
|
805
777
|
},
|
|
806
|
-
"VpcId": {
|
|
807
|
-
"Ref": "Vpc8378EB38"
|
|
808
|
-
},
|
|
809
|
-
"PrivateDnsEnabled": true,
|
|
810
|
-
"SecurityGroupIds": [
|
|
811
|
-
{
|
|
812
|
-
"Fn::GetAtt": [
|
|
813
|
-
"noArgumentsECRDKRsecuritygroup881C3744",
|
|
814
|
-
"GroupId"
|
|
815
|
-
]
|
|
816
|
-
}
|
|
817
|
-
],
|
|
818
778
|
"SubnetIds": [
|
|
819
779
|
{
|
|
820
780
|
"Ref": "VpcPrivateSubnet1Subnet536B997A"
|
|
@@ -826,27 +786,15 @@
|
|
|
826
786
|
"Ref": "VpcPrivateSubnet3SubnetF258B56E"
|
|
827
787
|
}
|
|
828
788
|
],
|
|
829
|
-
"VpcEndpointType": "Interface"
|
|
789
|
+
"VpcEndpointType": "Interface",
|
|
790
|
+
"VpcId": {
|
|
791
|
+
"Ref": "Vpc8378EB38"
|
|
792
|
+
}
|
|
830
793
|
}
|
|
831
794
|
},
|
|
832
795
|
"VpcS3A5408339": {
|
|
833
796
|
"Type": "AWS::EC2::VPCEndpoint",
|
|
834
797
|
"Properties": {
|
|
835
|
-
"ServiceName": {
|
|
836
|
-
"Fn::Join": [
|
|
837
|
-
"",
|
|
838
|
-
[
|
|
839
|
-
"com.amazonaws.",
|
|
840
|
-
{
|
|
841
|
-
"Ref": "AWS::Region"
|
|
842
|
-
},
|
|
843
|
-
".s3"
|
|
844
|
-
]
|
|
845
|
-
]
|
|
846
|
-
},
|
|
847
|
-
"VpcId": {
|
|
848
|
-
"Ref": "Vpc8378EB38"
|
|
849
|
-
},
|
|
850
798
|
"RouteTableIds": [
|
|
851
799
|
{
|
|
852
800
|
"Ref": "VpcPrivateSubnet1RouteTableB2C5B500"
|
|
@@ -867,13 +815,65 @@
|
|
|
867
815
|
"Ref": "VpcPublicSubnet3RouteTable93458DBB"
|
|
868
816
|
}
|
|
869
817
|
],
|
|
870
|
-
"
|
|
818
|
+
"ServiceName": {
|
|
819
|
+
"Fn::Join": [
|
|
820
|
+
"",
|
|
821
|
+
[
|
|
822
|
+
"com.amazonaws.",
|
|
823
|
+
{
|
|
824
|
+
"Ref": "AWS::Region"
|
|
825
|
+
},
|
|
826
|
+
".s3"
|
|
827
|
+
]
|
|
828
|
+
]
|
|
829
|
+
},
|
|
830
|
+
"VpcEndpointType": "Gateway",
|
|
831
|
+
"VpcId": {
|
|
832
|
+
"Ref": "Vpc8378EB38"
|
|
833
|
+
}
|
|
871
834
|
}
|
|
872
835
|
},
|
|
873
|
-
"
|
|
836
|
+
"testfargatekinesisstreamsKinesisStreamD31BD614": {
|
|
837
|
+
"Type": "AWS::Kinesis::Stream",
|
|
838
|
+
"Properties": {
|
|
839
|
+
"RetentionPeriodHours": 24,
|
|
840
|
+
"ShardCount": 1,
|
|
841
|
+
"StreamEncryption": {
|
|
842
|
+
"EncryptionType": "KMS",
|
|
843
|
+
"KeyId": "alias/aws/kinesis"
|
|
844
|
+
}
|
|
845
|
+
}
|
|
846
|
+
},
|
|
847
|
+
"testfargatekinesisstreamsKinesisStreamGetRecordsIteratorAgeAlarm60755E90": {
|
|
848
|
+
"Type": "AWS::CloudWatch::Alarm",
|
|
849
|
+
"Properties": {
|
|
850
|
+
"AlarmDescription": "Consumer Record Processing Falling Behind, there is risk for data loss due to record expiration.",
|
|
851
|
+
"ComparisonOperator": "GreaterThanOrEqualToThreshold",
|
|
852
|
+
"EvaluationPeriods": 1,
|
|
853
|
+
"MetricName": "GetRecords.IteratorAgeMilliseconds",
|
|
854
|
+
"Namespace": "AWS/Kinesis",
|
|
855
|
+
"Period": 300,
|
|
856
|
+
"Statistic": "Maximum",
|
|
857
|
+
"Threshold": 43200000
|
|
858
|
+
}
|
|
859
|
+
},
|
|
860
|
+
"testfargatekinesisstreamsKinesisStreamReadProvisionedThroughputExceededAlarmDE16A9F2": {
|
|
861
|
+
"Type": "AWS::CloudWatch::Alarm",
|
|
862
|
+
"Properties": {
|
|
863
|
+
"AlarmDescription": "Consumer Application is Reading at a Slower Rate Than Expected.",
|
|
864
|
+
"ComparisonOperator": "GreaterThanThreshold",
|
|
865
|
+
"EvaluationPeriods": 1,
|
|
866
|
+
"MetricName": "ReadProvisionedThroughputExceeded",
|
|
867
|
+
"Namespace": "AWS/Kinesis",
|
|
868
|
+
"Period": 300,
|
|
869
|
+
"Statistic": "Average",
|
|
870
|
+
"Threshold": 0
|
|
871
|
+
}
|
|
872
|
+
},
|
|
873
|
+
"farkinexistingVpcKINESISSTREAMSsecuritygroupB4DB27F8": {
|
|
874
874
|
"Type": "AWS::EC2::SecurityGroup",
|
|
875
875
|
"Properties": {
|
|
876
|
-
"GroupDescription": "
|
|
876
|
+
"GroupDescription": "farkin-existingVpc/farkin-existingVpc-KINESIS_STREAMS-security-group",
|
|
877
877
|
"SecurityGroupEgress": [
|
|
878
878
|
{
|
|
879
879
|
"CidrIp": "0.0.0.0/0",
|
|
@@ -928,10 +928,10 @@
|
|
|
928
928
|
}
|
|
929
929
|
}
|
|
930
930
|
},
|
|
931
|
-
"
|
|
931
|
+
"farkinexistingVpcECRAPIsecuritygroupFF0E68D3": {
|
|
932
932
|
"Type": "AWS::EC2::SecurityGroup",
|
|
933
933
|
"Properties": {
|
|
934
|
-
"GroupDescription": "
|
|
934
|
+
"GroupDescription": "farkin-existingVpc/farkin-existingVpc-ECR_API-security-group",
|
|
935
935
|
"SecurityGroupEgress": [
|
|
936
936
|
{
|
|
937
937
|
"CidrIp": "0.0.0.0/0",
|
|
@@ -986,10 +986,10 @@
|
|
|
986
986
|
}
|
|
987
987
|
}
|
|
988
988
|
},
|
|
989
|
-
"
|
|
989
|
+
"farkinexistingVpcECRDKRsecuritygroup5D9945D5": {
|
|
990
990
|
"Type": "AWS::EC2::SecurityGroup",
|
|
991
991
|
"Properties": {
|
|
992
|
-
"GroupDescription": "
|
|
992
|
+
"GroupDescription": "farkin-existingVpc/farkin-existingVpc-ECR_DKR-security-group",
|
|
993
993
|
"SecurityGroupEgress": [
|
|
994
994
|
{
|
|
995
995
|
"CidrIp": "0.0.0.0/0",
|
|
@@ -1120,7 +1120,7 @@
|
|
|
1120
1120
|
}
|
|
1121
1121
|
],
|
|
1122
1122
|
"Cpu": "256",
|
|
1123
|
-
"Family": "
|
|
1123
|
+
"Family": "farkinexistingVpctestfargatekinesisstreamstaskdefA4B32618",
|
|
1124
1124
|
"Memory": "512",
|
|
1125
1125
|
"NetworkMode": "awsvpc",
|
|
1126
1126
|
"RequiresCompatibilities": [
|
|
@@ -1171,6 +1171,11 @@
|
|
|
1171
1171
|
"Ref": "testfargatekinesisstreamsclusterEA5A2AD7"
|
|
1172
1172
|
},
|
|
1173
1173
|
"DeploymentConfiguration": {
|
|
1174
|
+
"Alarms": {
|
|
1175
|
+
"AlarmNames": [],
|
|
1176
|
+
"Enable": false,
|
|
1177
|
+
"Rollback": false
|
|
1178
|
+
},
|
|
1174
1179
|
"MaximumPercent": 150,
|
|
1175
1180
|
"MinimumHealthyPercent": 75
|
|
1176
1181
|
},
|
|
@@ -1205,7 +1210,11 @@
|
|
|
1205
1210
|
"TaskDefinition": {
|
|
1206
1211
|
"Ref": "testfargatekinesisstreamstaskdef402FE0B3"
|
|
1207
1212
|
}
|
|
1208
|
-
}
|
|
1213
|
+
},
|
|
1214
|
+
"DependsOn": [
|
|
1215
|
+
"testfargatekinesisstreamstaskdefTaskRoleDefaultPolicyAE7EF3E4",
|
|
1216
|
+
"testfargatekinesisstreamstaskdefTaskRole9811F3BE"
|
|
1217
|
+
]
|
|
1209
1218
|
}
|
|
1210
1219
|
},
|
|
1211
1220
|
"Parameters": {
|