@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,5 +1,42 @@
|
|
|
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
|
+
"AlarmDescription": "Consumer Record Processing Falling Behind, there is risk for data loss due to record expiration.",
|
|
18
|
+
"ComparisonOperator": "GreaterThanOrEqualToThreshold",
|
|
19
|
+
"EvaluationPeriods": 1,
|
|
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
|
+
"AlarmDescription": "Consumer Application is Reading at a Slower Rate Than Expected.",
|
|
31
|
+
"ComparisonOperator": "GreaterThanThreshold",
|
|
32
|
+
"EvaluationPeriods": 1,
|
|
33
|
+
"MetricName": "ReadProvisionedThroughputExceeded",
|
|
34
|
+
"Namespace": "AWS/Kinesis",
|
|
35
|
+
"Period": 300,
|
|
36
|
+
"Statistic": "Average",
|
|
37
|
+
"Threshold": 0
|
|
38
|
+
}
|
|
39
|
+
},
|
|
3
40
|
"Vpc8378EB38": {
|
|
4
41
|
"Type": "AWS::EC2::VPC",
|
|
5
42
|
"Properties": {
|
|
@@ -10,7 +47,7 @@
|
|
|
10
47
|
"Tags": [
|
|
11
48
|
{
|
|
12
49
|
"Key": "Name",
|
|
13
|
-
"Value": "
|
|
50
|
+
"Value": "farkin-noArguments/Vpc"
|
|
14
51
|
}
|
|
15
52
|
]
|
|
16
53
|
}
|
|
@@ -18,9 +55,6 @@
|
|
|
18
55
|
"VpcPublicSubnet1Subnet5C2D37C4": {
|
|
19
56
|
"Type": "AWS::EC2::Subnet",
|
|
20
57
|
"Properties": {
|
|
21
|
-
"VpcId": {
|
|
22
|
-
"Ref": "Vpc8378EB38"
|
|
23
|
-
},
|
|
24
58
|
"AvailabilityZone": "test-region-1a",
|
|
25
59
|
"CidrBlock": "10.0.0.0/19",
|
|
26
60
|
"MapPublicIpOnLaunch": true,
|
|
@@ -35,9 +69,12 @@
|
|
|
35
69
|
},
|
|
36
70
|
{
|
|
37
71
|
"Key": "Name",
|
|
38
|
-
"Value": "
|
|
72
|
+
"Value": "farkin-noArguments/Vpc/PublicSubnet1"
|
|
39
73
|
}
|
|
40
|
-
]
|
|
74
|
+
],
|
|
75
|
+
"VpcId": {
|
|
76
|
+
"Ref": "Vpc8378EB38"
|
|
77
|
+
}
|
|
41
78
|
},
|
|
42
79
|
"Metadata": {
|
|
43
80
|
"cfn_nag": {
|
|
@@ -53,15 +90,15 @@
|
|
|
53
90
|
"VpcPublicSubnet1RouteTable6C95E38E": {
|
|
54
91
|
"Type": "AWS::EC2::RouteTable",
|
|
55
92
|
"Properties": {
|
|
56
|
-
"VpcId": {
|
|
57
|
-
"Ref": "Vpc8378EB38"
|
|
58
|
-
},
|
|
59
93
|
"Tags": [
|
|
60
94
|
{
|
|
61
95
|
"Key": "Name",
|
|
62
|
-
"Value": "
|
|
96
|
+
"Value": "farkin-noArguments/Vpc/PublicSubnet1"
|
|
63
97
|
}
|
|
64
|
-
]
|
|
98
|
+
],
|
|
99
|
+
"VpcId": {
|
|
100
|
+
"Ref": "Vpc8378EB38"
|
|
101
|
+
}
|
|
65
102
|
}
|
|
66
103
|
},
|
|
67
104
|
"VpcPublicSubnet1RouteTableAssociation97140677": {
|
|
@@ -78,12 +115,12 @@
|
|
|
78
115
|
"VpcPublicSubnet1DefaultRoute3DA9E72A": {
|
|
79
116
|
"Type": "AWS::EC2::Route",
|
|
80
117
|
"Properties": {
|
|
81
|
-
"RouteTableId": {
|
|
82
|
-
"Ref": "VpcPublicSubnet1RouteTable6C95E38E"
|
|
83
|
-
},
|
|
84
118
|
"DestinationCidrBlock": "0.0.0.0/0",
|
|
85
119
|
"GatewayId": {
|
|
86
120
|
"Ref": "VpcIGWD7BA715C"
|
|
121
|
+
},
|
|
122
|
+
"RouteTableId": {
|
|
123
|
+
"Ref": "VpcPublicSubnet1RouteTable6C95E38E"
|
|
87
124
|
}
|
|
88
125
|
},
|
|
89
126
|
"DependsOn": [
|
|
@@ -97,7 +134,7 @@
|
|
|
97
134
|
"Tags": [
|
|
98
135
|
{
|
|
99
136
|
"Key": "Name",
|
|
100
|
-
"Value": "
|
|
137
|
+
"Value": "farkin-noArguments/Vpc/PublicSubnet1"
|
|
101
138
|
}
|
|
102
139
|
]
|
|
103
140
|
}
|
|
@@ -105,19 +142,19 @@
|
|
|
105
142
|
"VpcPublicSubnet1NATGateway4D7517AA": {
|
|
106
143
|
"Type": "AWS::EC2::NatGateway",
|
|
107
144
|
"Properties": {
|
|
108
|
-
"SubnetId": {
|
|
109
|
-
"Ref": "VpcPublicSubnet1Subnet5C2D37C4"
|
|
110
|
-
},
|
|
111
145
|
"AllocationId": {
|
|
112
146
|
"Fn::GetAtt": [
|
|
113
147
|
"VpcPublicSubnet1EIPD7E02669",
|
|
114
148
|
"AllocationId"
|
|
115
149
|
]
|
|
116
150
|
},
|
|
151
|
+
"SubnetId": {
|
|
152
|
+
"Ref": "VpcPublicSubnet1Subnet5C2D37C4"
|
|
153
|
+
},
|
|
117
154
|
"Tags": [
|
|
118
155
|
{
|
|
119
156
|
"Key": "Name",
|
|
120
|
-
"Value": "
|
|
157
|
+
"Value": "farkin-noArguments/Vpc/PublicSubnet1"
|
|
121
158
|
}
|
|
122
159
|
]
|
|
123
160
|
},
|
|
@@ -129,9 +166,6 @@
|
|
|
129
166
|
"VpcPublicSubnet2Subnet691E08A3": {
|
|
130
167
|
"Type": "AWS::EC2::Subnet",
|
|
131
168
|
"Properties": {
|
|
132
|
-
"VpcId": {
|
|
133
|
-
"Ref": "Vpc8378EB38"
|
|
134
|
-
},
|
|
135
169
|
"AvailabilityZone": "test-region-1b",
|
|
136
170
|
"CidrBlock": "10.0.32.0/19",
|
|
137
171
|
"MapPublicIpOnLaunch": true,
|
|
@@ -146,9 +180,12 @@
|
|
|
146
180
|
},
|
|
147
181
|
{
|
|
148
182
|
"Key": "Name",
|
|
149
|
-
"Value": "
|
|
183
|
+
"Value": "farkin-noArguments/Vpc/PublicSubnet2"
|
|
150
184
|
}
|
|
151
|
-
]
|
|
185
|
+
],
|
|
186
|
+
"VpcId": {
|
|
187
|
+
"Ref": "Vpc8378EB38"
|
|
188
|
+
}
|
|
152
189
|
},
|
|
153
190
|
"Metadata": {
|
|
154
191
|
"cfn_nag": {
|
|
@@ -164,15 +201,15 @@
|
|
|
164
201
|
"VpcPublicSubnet2RouteTable94F7E489": {
|
|
165
202
|
"Type": "AWS::EC2::RouteTable",
|
|
166
203
|
"Properties": {
|
|
167
|
-
"VpcId": {
|
|
168
|
-
"Ref": "Vpc8378EB38"
|
|
169
|
-
},
|
|
170
204
|
"Tags": [
|
|
171
205
|
{
|
|
172
206
|
"Key": "Name",
|
|
173
|
-
"Value": "
|
|
207
|
+
"Value": "farkin-noArguments/Vpc/PublicSubnet2"
|
|
174
208
|
}
|
|
175
|
-
]
|
|
209
|
+
],
|
|
210
|
+
"VpcId": {
|
|
211
|
+
"Ref": "Vpc8378EB38"
|
|
212
|
+
}
|
|
176
213
|
}
|
|
177
214
|
},
|
|
178
215
|
"VpcPublicSubnet2RouteTableAssociationDD5762D8": {
|
|
@@ -189,12 +226,12 @@
|
|
|
189
226
|
"VpcPublicSubnet2DefaultRoute97F91067": {
|
|
190
227
|
"Type": "AWS::EC2::Route",
|
|
191
228
|
"Properties": {
|
|
192
|
-
"RouteTableId": {
|
|
193
|
-
"Ref": "VpcPublicSubnet2RouteTable94F7E489"
|
|
194
|
-
},
|
|
195
229
|
"DestinationCidrBlock": "0.0.0.0/0",
|
|
196
230
|
"GatewayId": {
|
|
197
231
|
"Ref": "VpcIGWD7BA715C"
|
|
232
|
+
},
|
|
233
|
+
"RouteTableId": {
|
|
234
|
+
"Ref": "VpcPublicSubnet2RouteTable94F7E489"
|
|
198
235
|
}
|
|
199
236
|
},
|
|
200
237
|
"DependsOn": [
|
|
@@ -208,7 +245,7 @@
|
|
|
208
245
|
"Tags": [
|
|
209
246
|
{
|
|
210
247
|
"Key": "Name",
|
|
211
|
-
"Value": "
|
|
248
|
+
"Value": "farkin-noArguments/Vpc/PublicSubnet2"
|
|
212
249
|
}
|
|
213
250
|
]
|
|
214
251
|
}
|
|
@@ -216,19 +253,19 @@
|
|
|
216
253
|
"VpcPublicSubnet2NATGateway9182C01D": {
|
|
217
254
|
"Type": "AWS::EC2::NatGateway",
|
|
218
255
|
"Properties": {
|
|
219
|
-
"SubnetId": {
|
|
220
|
-
"Ref": "VpcPublicSubnet2Subnet691E08A3"
|
|
221
|
-
},
|
|
222
256
|
"AllocationId": {
|
|
223
257
|
"Fn::GetAtt": [
|
|
224
258
|
"VpcPublicSubnet2EIP3C605A87",
|
|
225
259
|
"AllocationId"
|
|
226
260
|
]
|
|
227
261
|
},
|
|
262
|
+
"SubnetId": {
|
|
263
|
+
"Ref": "VpcPublicSubnet2Subnet691E08A3"
|
|
264
|
+
},
|
|
228
265
|
"Tags": [
|
|
229
266
|
{
|
|
230
267
|
"Key": "Name",
|
|
231
|
-
"Value": "
|
|
268
|
+
"Value": "farkin-noArguments/Vpc/PublicSubnet2"
|
|
232
269
|
}
|
|
233
270
|
]
|
|
234
271
|
},
|
|
@@ -240,9 +277,6 @@
|
|
|
240
277
|
"VpcPublicSubnet3SubnetBE12F0B6": {
|
|
241
278
|
"Type": "AWS::EC2::Subnet",
|
|
242
279
|
"Properties": {
|
|
243
|
-
"VpcId": {
|
|
244
|
-
"Ref": "Vpc8378EB38"
|
|
245
|
-
},
|
|
246
280
|
"AvailabilityZone": "test-region-1c",
|
|
247
281
|
"CidrBlock": "10.0.64.0/19",
|
|
248
282
|
"MapPublicIpOnLaunch": true,
|
|
@@ -257,9 +291,12 @@
|
|
|
257
291
|
},
|
|
258
292
|
{
|
|
259
293
|
"Key": "Name",
|
|
260
|
-
"Value": "
|
|
294
|
+
"Value": "farkin-noArguments/Vpc/PublicSubnet3"
|
|
261
295
|
}
|
|
262
|
-
]
|
|
296
|
+
],
|
|
297
|
+
"VpcId": {
|
|
298
|
+
"Ref": "Vpc8378EB38"
|
|
299
|
+
}
|
|
263
300
|
},
|
|
264
301
|
"Metadata": {
|
|
265
302
|
"cfn_nag": {
|
|
@@ -275,15 +312,15 @@
|
|
|
275
312
|
"VpcPublicSubnet3RouteTable93458DBB": {
|
|
276
313
|
"Type": "AWS::EC2::RouteTable",
|
|
277
314
|
"Properties": {
|
|
278
|
-
"VpcId": {
|
|
279
|
-
"Ref": "Vpc8378EB38"
|
|
280
|
-
},
|
|
281
315
|
"Tags": [
|
|
282
316
|
{
|
|
283
317
|
"Key": "Name",
|
|
284
|
-
"Value": "
|
|
318
|
+
"Value": "farkin-noArguments/Vpc/PublicSubnet3"
|
|
285
319
|
}
|
|
286
|
-
]
|
|
320
|
+
],
|
|
321
|
+
"VpcId": {
|
|
322
|
+
"Ref": "Vpc8378EB38"
|
|
323
|
+
}
|
|
287
324
|
}
|
|
288
325
|
},
|
|
289
326
|
"VpcPublicSubnet3RouteTableAssociation1F1EDF02": {
|
|
@@ -300,12 +337,12 @@
|
|
|
300
337
|
"VpcPublicSubnet3DefaultRoute4697774F": {
|
|
301
338
|
"Type": "AWS::EC2::Route",
|
|
302
339
|
"Properties": {
|
|
303
|
-
"RouteTableId": {
|
|
304
|
-
"Ref": "VpcPublicSubnet3RouteTable93458DBB"
|
|
305
|
-
},
|
|
306
340
|
"DestinationCidrBlock": "0.0.0.0/0",
|
|
307
341
|
"GatewayId": {
|
|
308
342
|
"Ref": "VpcIGWD7BA715C"
|
|
343
|
+
},
|
|
344
|
+
"RouteTableId": {
|
|
345
|
+
"Ref": "VpcPublicSubnet3RouteTable93458DBB"
|
|
309
346
|
}
|
|
310
347
|
},
|
|
311
348
|
"DependsOn": [
|
|
@@ -319,7 +356,7 @@
|
|
|
319
356
|
"Tags": [
|
|
320
357
|
{
|
|
321
358
|
"Key": "Name",
|
|
322
|
-
"Value": "
|
|
359
|
+
"Value": "farkin-noArguments/Vpc/PublicSubnet3"
|
|
323
360
|
}
|
|
324
361
|
]
|
|
325
362
|
}
|
|
@@ -327,19 +364,19 @@
|
|
|
327
364
|
"VpcPublicSubnet3NATGateway7640CD1D": {
|
|
328
365
|
"Type": "AWS::EC2::NatGateway",
|
|
329
366
|
"Properties": {
|
|
330
|
-
"SubnetId": {
|
|
331
|
-
"Ref": "VpcPublicSubnet3SubnetBE12F0B6"
|
|
332
|
-
},
|
|
333
367
|
"AllocationId": {
|
|
334
368
|
"Fn::GetAtt": [
|
|
335
369
|
"VpcPublicSubnet3EIP3A666A23",
|
|
336
370
|
"AllocationId"
|
|
337
371
|
]
|
|
338
372
|
},
|
|
373
|
+
"SubnetId": {
|
|
374
|
+
"Ref": "VpcPublicSubnet3SubnetBE12F0B6"
|
|
375
|
+
},
|
|
339
376
|
"Tags": [
|
|
340
377
|
{
|
|
341
378
|
"Key": "Name",
|
|
342
|
-
"Value": "
|
|
379
|
+
"Value": "farkin-noArguments/Vpc/PublicSubnet3"
|
|
343
380
|
}
|
|
344
381
|
]
|
|
345
382
|
},
|
|
@@ -351,9 +388,6 @@
|
|
|
351
388
|
"VpcPrivateSubnet1Subnet536B997A": {
|
|
352
389
|
"Type": "AWS::EC2::Subnet",
|
|
353
390
|
"Properties": {
|
|
354
|
-
"VpcId": {
|
|
355
|
-
"Ref": "Vpc8378EB38"
|
|
356
|
-
},
|
|
357
391
|
"AvailabilityZone": "test-region-1a",
|
|
358
392
|
"CidrBlock": "10.0.96.0/19",
|
|
359
393
|
"MapPublicIpOnLaunch": false,
|
|
@@ -368,23 +402,26 @@
|
|
|
368
402
|
},
|
|
369
403
|
{
|
|
370
404
|
"Key": "Name",
|
|
371
|
-
"Value": "
|
|
405
|
+
"Value": "farkin-noArguments/Vpc/PrivateSubnet1"
|
|
372
406
|
}
|
|
373
|
-
]
|
|
407
|
+
],
|
|
408
|
+
"VpcId": {
|
|
409
|
+
"Ref": "Vpc8378EB38"
|
|
410
|
+
}
|
|
374
411
|
}
|
|
375
412
|
},
|
|
376
413
|
"VpcPrivateSubnet1RouteTableB2C5B500": {
|
|
377
414
|
"Type": "AWS::EC2::RouteTable",
|
|
378
415
|
"Properties": {
|
|
379
|
-
"VpcId": {
|
|
380
|
-
"Ref": "Vpc8378EB38"
|
|
381
|
-
},
|
|
382
416
|
"Tags": [
|
|
383
417
|
{
|
|
384
418
|
"Key": "Name",
|
|
385
|
-
"Value": "
|
|
419
|
+
"Value": "farkin-noArguments/Vpc/PrivateSubnet1"
|
|
386
420
|
}
|
|
387
|
-
]
|
|
421
|
+
],
|
|
422
|
+
"VpcId": {
|
|
423
|
+
"Ref": "Vpc8378EB38"
|
|
424
|
+
}
|
|
388
425
|
}
|
|
389
426
|
},
|
|
390
427
|
"VpcPrivateSubnet1RouteTableAssociation70C59FA6": {
|
|
@@ -401,21 +438,18 @@
|
|
|
401
438
|
"VpcPrivateSubnet1DefaultRouteBE02A9ED": {
|
|
402
439
|
"Type": "AWS::EC2::Route",
|
|
403
440
|
"Properties": {
|
|
404
|
-
"RouteTableId": {
|
|
405
|
-
"Ref": "VpcPrivateSubnet1RouteTableB2C5B500"
|
|
406
|
-
},
|
|
407
441
|
"DestinationCidrBlock": "0.0.0.0/0",
|
|
408
442
|
"NatGatewayId": {
|
|
409
443
|
"Ref": "VpcPublicSubnet1NATGateway4D7517AA"
|
|
444
|
+
},
|
|
445
|
+
"RouteTableId": {
|
|
446
|
+
"Ref": "VpcPrivateSubnet1RouteTableB2C5B500"
|
|
410
447
|
}
|
|
411
448
|
}
|
|
412
449
|
},
|
|
413
450
|
"VpcPrivateSubnet2Subnet3788AAA1": {
|
|
414
451
|
"Type": "AWS::EC2::Subnet",
|
|
415
452
|
"Properties": {
|
|
416
|
-
"VpcId": {
|
|
417
|
-
"Ref": "Vpc8378EB38"
|
|
418
|
-
},
|
|
419
453
|
"AvailabilityZone": "test-region-1b",
|
|
420
454
|
"CidrBlock": "10.0.128.0/19",
|
|
421
455
|
"MapPublicIpOnLaunch": false,
|
|
@@ -430,23 +464,26 @@
|
|
|
430
464
|
},
|
|
431
465
|
{
|
|
432
466
|
"Key": "Name",
|
|
433
|
-
"Value": "
|
|
467
|
+
"Value": "farkin-noArguments/Vpc/PrivateSubnet2"
|
|
434
468
|
}
|
|
435
|
-
]
|
|
469
|
+
],
|
|
470
|
+
"VpcId": {
|
|
471
|
+
"Ref": "Vpc8378EB38"
|
|
472
|
+
}
|
|
436
473
|
}
|
|
437
474
|
},
|
|
438
475
|
"VpcPrivateSubnet2RouteTableA678073B": {
|
|
439
476
|
"Type": "AWS::EC2::RouteTable",
|
|
440
477
|
"Properties": {
|
|
441
|
-
"VpcId": {
|
|
442
|
-
"Ref": "Vpc8378EB38"
|
|
443
|
-
},
|
|
444
478
|
"Tags": [
|
|
445
479
|
{
|
|
446
480
|
"Key": "Name",
|
|
447
|
-
"Value": "
|
|
481
|
+
"Value": "farkin-noArguments/Vpc/PrivateSubnet2"
|
|
448
482
|
}
|
|
449
|
-
]
|
|
483
|
+
],
|
|
484
|
+
"VpcId": {
|
|
485
|
+
"Ref": "Vpc8378EB38"
|
|
486
|
+
}
|
|
450
487
|
}
|
|
451
488
|
},
|
|
452
489
|
"VpcPrivateSubnet2RouteTableAssociationA89CAD56": {
|
|
@@ -463,21 +500,18 @@
|
|
|
463
500
|
"VpcPrivateSubnet2DefaultRoute060D2087": {
|
|
464
501
|
"Type": "AWS::EC2::Route",
|
|
465
502
|
"Properties": {
|
|
466
|
-
"RouteTableId": {
|
|
467
|
-
"Ref": "VpcPrivateSubnet2RouteTableA678073B"
|
|
468
|
-
},
|
|
469
503
|
"DestinationCidrBlock": "0.0.0.0/0",
|
|
470
504
|
"NatGatewayId": {
|
|
471
505
|
"Ref": "VpcPublicSubnet2NATGateway9182C01D"
|
|
506
|
+
},
|
|
507
|
+
"RouteTableId": {
|
|
508
|
+
"Ref": "VpcPrivateSubnet2RouteTableA678073B"
|
|
472
509
|
}
|
|
473
510
|
}
|
|
474
511
|
},
|
|
475
512
|
"VpcPrivateSubnet3SubnetF258B56E": {
|
|
476
513
|
"Type": "AWS::EC2::Subnet",
|
|
477
514
|
"Properties": {
|
|
478
|
-
"VpcId": {
|
|
479
|
-
"Ref": "Vpc8378EB38"
|
|
480
|
-
},
|
|
481
515
|
"AvailabilityZone": "test-region-1c",
|
|
482
516
|
"CidrBlock": "10.0.160.0/19",
|
|
483
517
|
"MapPublicIpOnLaunch": false,
|
|
@@ -492,23 +526,26 @@
|
|
|
492
526
|
},
|
|
493
527
|
{
|
|
494
528
|
"Key": "Name",
|
|
495
|
-
"Value": "
|
|
529
|
+
"Value": "farkin-noArguments/Vpc/PrivateSubnet3"
|
|
496
530
|
}
|
|
497
|
-
]
|
|
531
|
+
],
|
|
532
|
+
"VpcId": {
|
|
533
|
+
"Ref": "Vpc8378EB38"
|
|
534
|
+
}
|
|
498
535
|
}
|
|
499
536
|
},
|
|
500
537
|
"VpcPrivateSubnet3RouteTableD98824C7": {
|
|
501
538
|
"Type": "AWS::EC2::RouteTable",
|
|
502
539
|
"Properties": {
|
|
503
|
-
"VpcId": {
|
|
504
|
-
"Ref": "Vpc8378EB38"
|
|
505
|
-
},
|
|
506
540
|
"Tags": [
|
|
507
541
|
{
|
|
508
542
|
"Key": "Name",
|
|
509
|
-
"Value": "
|
|
543
|
+
"Value": "farkin-noArguments/Vpc/PrivateSubnet3"
|
|
510
544
|
}
|
|
511
|
-
]
|
|
545
|
+
],
|
|
546
|
+
"VpcId": {
|
|
547
|
+
"Ref": "Vpc8378EB38"
|
|
548
|
+
}
|
|
512
549
|
}
|
|
513
550
|
},
|
|
514
551
|
"VpcPrivateSubnet3RouteTableAssociation16BDDC43": {
|
|
@@ -525,12 +562,12 @@
|
|
|
525
562
|
"VpcPrivateSubnet3DefaultRoute94B74F0D": {
|
|
526
563
|
"Type": "AWS::EC2::Route",
|
|
527
564
|
"Properties": {
|
|
528
|
-
"RouteTableId": {
|
|
529
|
-
"Ref": "VpcPrivateSubnet3RouteTableD98824C7"
|
|
530
|
-
},
|
|
531
565
|
"DestinationCidrBlock": "0.0.0.0/0",
|
|
532
566
|
"NatGatewayId": {
|
|
533
567
|
"Ref": "VpcPublicSubnet3NATGateway7640CD1D"
|
|
568
|
+
},
|
|
569
|
+
"RouteTableId": {
|
|
570
|
+
"Ref": "VpcPrivateSubnet3RouteTableD98824C7"
|
|
534
571
|
}
|
|
535
572
|
}
|
|
536
573
|
},
|
|
@@ -540,7 +577,7 @@
|
|
|
540
577
|
"Tags": [
|
|
541
578
|
{
|
|
542
579
|
"Key": "Name",
|
|
543
|
-
"Value": "
|
|
580
|
+
"Value": "farkin-noArguments/Vpc"
|
|
544
581
|
}
|
|
545
582
|
]
|
|
546
583
|
}
|
|
@@ -548,11 +585,11 @@
|
|
|
548
585
|
"VpcVPCGWBF912B6E": {
|
|
549
586
|
"Type": "AWS::EC2::VPCGatewayAttachment",
|
|
550
587
|
"Properties": {
|
|
551
|
-
"VpcId": {
|
|
552
|
-
"Ref": "Vpc8378EB38"
|
|
553
|
-
},
|
|
554
588
|
"InternetGatewayId": {
|
|
555
589
|
"Ref": "VpcIGWD7BA715C"
|
|
590
|
+
},
|
|
591
|
+
"VpcId": {
|
|
592
|
+
"Ref": "Vpc8378EB38"
|
|
556
593
|
}
|
|
557
594
|
}
|
|
558
595
|
},
|
|
@@ -574,7 +611,7 @@
|
|
|
574
611
|
"Tags": [
|
|
575
612
|
{
|
|
576
613
|
"Key": "Name",
|
|
577
|
-
"Value": "
|
|
614
|
+
"Value": "farkin-noArguments/Vpc/FlowLog"
|
|
578
615
|
}
|
|
579
616
|
]
|
|
580
617
|
}
|
|
@@ -626,7 +663,7 @@
|
|
|
626
663
|
"Tags": [
|
|
627
664
|
{
|
|
628
665
|
"Key": "Name",
|
|
629
|
-
"Value": "
|
|
666
|
+
"Value": "farkin-noArguments/Vpc/FlowLog"
|
|
630
667
|
}
|
|
631
668
|
]
|
|
632
669
|
},
|
|
@@ -646,10 +683,6 @@
|
|
|
646
683
|
"VpcFlowLog8FF33A73": {
|
|
647
684
|
"Type": "AWS::EC2::FlowLog",
|
|
648
685
|
"Properties": {
|
|
649
|
-
"ResourceId": {
|
|
650
|
-
"Ref": "Vpc8378EB38"
|
|
651
|
-
},
|
|
652
|
-
"ResourceType": "VPC",
|
|
653
686
|
"DeliverLogsPermissionArn": {
|
|
654
687
|
"Fn::GetAtt": [
|
|
655
688
|
"VpcFlowLogIAMRole6A475D41",
|
|
@@ -660,10 +693,14 @@
|
|
|
660
693
|
"LogGroupName": {
|
|
661
694
|
"Ref": "VpcFlowLogLogGroup7B5C56B9"
|
|
662
695
|
},
|
|
696
|
+
"ResourceId": {
|
|
697
|
+
"Ref": "Vpc8378EB38"
|
|
698
|
+
},
|
|
699
|
+
"ResourceType": "VPC",
|
|
663
700
|
"Tags": [
|
|
664
701
|
{
|
|
665
702
|
"Key": "Name",
|
|
666
|
-
"Value": "
|
|
703
|
+
"Value": "farkin-noArguments/Vpc/FlowLog"
|
|
667
704
|
}
|
|
668
705
|
],
|
|
669
706
|
"TrafficType": "ALL"
|
|
@@ -672,6 +709,15 @@
|
|
|
672
709
|
"VpcKINESISSTREAMSC07D91B5": {
|
|
673
710
|
"Type": "AWS::EC2::VPCEndpoint",
|
|
674
711
|
"Properties": {
|
|
712
|
+
"PrivateDnsEnabled": true,
|
|
713
|
+
"SecurityGroupIds": [
|
|
714
|
+
{
|
|
715
|
+
"Fn::GetAtt": [
|
|
716
|
+
"farkinnoArgumentsKINESISSTREAMSsecuritygroup96006AA6",
|
|
717
|
+
"GroupId"
|
|
718
|
+
]
|
|
719
|
+
}
|
|
720
|
+
],
|
|
675
721
|
"ServiceName": {
|
|
676
722
|
"Fn::Join": [
|
|
677
723
|
"",
|
|
@@ -684,18 +730,6 @@
|
|
|
684
730
|
]
|
|
685
731
|
]
|
|
686
732
|
},
|
|
687
|
-
"VpcId": {
|
|
688
|
-
"Ref": "Vpc8378EB38"
|
|
689
|
-
},
|
|
690
|
-
"PrivateDnsEnabled": true,
|
|
691
|
-
"SecurityGroupIds": [
|
|
692
|
-
{
|
|
693
|
-
"Fn::GetAtt": [
|
|
694
|
-
"existingVpcKINESISSTREAMSsecuritygroupDE0E9DB9",
|
|
695
|
-
"GroupId"
|
|
696
|
-
]
|
|
697
|
-
}
|
|
698
|
-
],
|
|
699
733
|
"SubnetIds": [
|
|
700
734
|
{
|
|
701
735
|
"Ref": "VpcPrivateSubnet1Subnet536B997A"
|
|
@@ -707,12 +741,24 @@
|
|
|
707
741
|
"Ref": "VpcPrivateSubnet3SubnetF258B56E"
|
|
708
742
|
}
|
|
709
743
|
],
|
|
710
|
-
"VpcEndpointType": "Interface"
|
|
744
|
+
"VpcEndpointType": "Interface",
|
|
745
|
+
"VpcId": {
|
|
746
|
+
"Ref": "Vpc8378EB38"
|
|
747
|
+
}
|
|
711
748
|
}
|
|
712
749
|
},
|
|
713
750
|
"VpcECRAPI9A3B6A2B": {
|
|
714
751
|
"Type": "AWS::EC2::VPCEndpoint",
|
|
715
752
|
"Properties": {
|
|
753
|
+
"PrivateDnsEnabled": true,
|
|
754
|
+
"SecurityGroupIds": [
|
|
755
|
+
{
|
|
756
|
+
"Fn::GetAtt": [
|
|
757
|
+
"farkinnoArgumentsECRAPIsecuritygroupC89CB01F",
|
|
758
|
+
"GroupId"
|
|
759
|
+
]
|
|
760
|
+
}
|
|
761
|
+
],
|
|
716
762
|
"ServiceName": {
|
|
717
763
|
"Fn::Join": [
|
|
718
764
|
"",
|
|
@@ -725,18 +771,6 @@
|
|
|
725
771
|
]
|
|
726
772
|
]
|
|
727
773
|
},
|
|
728
|
-
"VpcId": {
|
|
729
|
-
"Ref": "Vpc8378EB38"
|
|
730
|
-
},
|
|
731
|
-
"PrivateDnsEnabled": true,
|
|
732
|
-
"SecurityGroupIds": [
|
|
733
|
-
{
|
|
734
|
-
"Fn::GetAtt": [
|
|
735
|
-
"existingVpcECRAPIsecuritygroupB3E4A376",
|
|
736
|
-
"GroupId"
|
|
737
|
-
]
|
|
738
|
-
}
|
|
739
|
-
],
|
|
740
774
|
"SubnetIds": [
|
|
741
775
|
{
|
|
742
776
|
"Ref": "VpcPrivateSubnet1Subnet536B997A"
|
|
@@ -748,12 +782,24 @@
|
|
|
748
782
|
"Ref": "VpcPrivateSubnet3SubnetF258B56E"
|
|
749
783
|
}
|
|
750
784
|
],
|
|
751
|
-
"VpcEndpointType": "Interface"
|
|
785
|
+
"VpcEndpointType": "Interface",
|
|
786
|
+
"VpcId": {
|
|
787
|
+
"Ref": "Vpc8378EB38"
|
|
788
|
+
}
|
|
752
789
|
}
|
|
753
790
|
},
|
|
754
791
|
"VpcECRDKR604E039F": {
|
|
755
792
|
"Type": "AWS::EC2::VPCEndpoint",
|
|
756
793
|
"Properties": {
|
|
794
|
+
"PrivateDnsEnabled": true,
|
|
795
|
+
"SecurityGroupIds": [
|
|
796
|
+
{
|
|
797
|
+
"Fn::GetAtt": [
|
|
798
|
+
"farkinnoArgumentsECRDKRsecuritygroupC8F0FF04",
|
|
799
|
+
"GroupId"
|
|
800
|
+
]
|
|
801
|
+
}
|
|
802
|
+
],
|
|
757
803
|
"ServiceName": {
|
|
758
804
|
"Fn::Join": [
|
|
759
805
|
"",
|
|
@@ -766,18 +812,6 @@
|
|
|
766
812
|
]
|
|
767
813
|
]
|
|
768
814
|
},
|
|
769
|
-
"VpcId": {
|
|
770
|
-
"Ref": "Vpc8378EB38"
|
|
771
|
-
},
|
|
772
|
-
"PrivateDnsEnabled": true,
|
|
773
|
-
"SecurityGroupIds": [
|
|
774
|
-
{
|
|
775
|
-
"Fn::GetAtt": [
|
|
776
|
-
"existingVpcECRDKRsecuritygroup0500FAE6",
|
|
777
|
-
"GroupId"
|
|
778
|
-
]
|
|
779
|
-
}
|
|
780
|
-
],
|
|
781
815
|
"SubnetIds": [
|
|
782
816
|
{
|
|
783
817
|
"Ref": "VpcPrivateSubnet1Subnet536B997A"
|
|
@@ -789,27 +823,15 @@
|
|
|
789
823
|
"Ref": "VpcPrivateSubnet3SubnetF258B56E"
|
|
790
824
|
}
|
|
791
825
|
],
|
|
792
|
-
"VpcEndpointType": "Interface"
|
|
826
|
+
"VpcEndpointType": "Interface",
|
|
827
|
+
"VpcId": {
|
|
828
|
+
"Ref": "Vpc8378EB38"
|
|
829
|
+
}
|
|
793
830
|
}
|
|
794
831
|
},
|
|
795
832
|
"VpcS3A5408339": {
|
|
796
833
|
"Type": "AWS::EC2::VPCEndpoint",
|
|
797
834
|
"Properties": {
|
|
798
|
-
"ServiceName": {
|
|
799
|
-
"Fn::Join": [
|
|
800
|
-
"",
|
|
801
|
-
[
|
|
802
|
-
"com.amazonaws.",
|
|
803
|
-
{
|
|
804
|
-
"Ref": "AWS::Region"
|
|
805
|
-
},
|
|
806
|
-
".s3"
|
|
807
|
-
]
|
|
808
|
-
]
|
|
809
|
-
},
|
|
810
|
-
"VpcId": {
|
|
811
|
-
"Ref": "Vpc8378EB38"
|
|
812
|
-
},
|
|
813
835
|
"RouteTableIds": [
|
|
814
836
|
{
|
|
815
837
|
"Ref": "VpcPrivateSubnet1RouteTableB2C5B500"
|
|
@@ -830,50 +852,28 @@
|
|
|
830
852
|
"Ref": "VpcPublicSubnet3RouteTable93458DBB"
|
|
831
853
|
}
|
|
832
854
|
],
|
|
833
|
-
"
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
855
|
+
"ServiceName": {
|
|
856
|
+
"Fn::Join": [
|
|
857
|
+
"",
|
|
858
|
+
[
|
|
859
|
+
"com.amazonaws.",
|
|
860
|
+
{
|
|
861
|
+
"Ref": "AWS::Region"
|
|
862
|
+
},
|
|
863
|
+
".s3"
|
|
864
|
+
]
|
|
865
|
+
]
|
|
866
|
+
},
|
|
867
|
+
"VpcEndpointType": "Gateway",
|
|
868
|
+
"VpcId": {
|
|
869
|
+
"Ref": "Vpc8378EB38"
|
|
844
870
|
}
|
|
845
871
|
}
|
|
846
872
|
},
|
|
847
|
-
"
|
|
848
|
-
"Type": "AWS::CloudWatch::Alarm",
|
|
849
|
-
"Properties": {
|
|
850
|
-
"ComparisonOperator": "GreaterThanOrEqualToThreshold",
|
|
851
|
-
"EvaluationPeriods": 1,
|
|
852
|
-
"AlarmDescription": "Consumer Record Processing Falling Behind, there is risk for data loss due to record expiration.",
|
|
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
|
-
"ComparisonOperator": "GreaterThanThreshold",
|
|
864
|
-
"EvaluationPeriods": 1,
|
|
865
|
-
"AlarmDescription": "Consumer Application is Reading at a Slower Rate Than Expected.",
|
|
866
|
-
"MetricName": "ReadProvisionedThroughputExceeded",
|
|
867
|
-
"Namespace": "AWS/Kinesis",
|
|
868
|
-
"Period": 300,
|
|
869
|
-
"Statistic": "Average",
|
|
870
|
-
"Threshold": 0
|
|
871
|
-
}
|
|
872
|
-
},
|
|
873
|
-
"existingVpcKINESISSTREAMSsecuritygroupDE0E9DB9": {
|
|
873
|
+
"farkinnoArgumentsKINESISSTREAMSsecuritygroup96006AA6": {
|
|
874
874
|
"Type": "AWS::EC2::SecurityGroup",
|
|
875
875
|
"Properties": {
|
|
876
|
-
"GroupDescription": "
|
|
876
|
+
"GroupDescription": "farkin-noArguments/farkin-noArguments-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
|
+
"farkinnoArgumentsECRAPIsecuritygroupC89CB01F": {
|
|
932
932
|
"Type": "AWS::EC2::SecurityGroup",
|
|
933
933
|
"Properties": {
|
|
934
|
-
"GroupDescription": "
|
|
934
|
+
"GroupDescription": "farkin-noArguments/farkin-noArguments-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
|
+
"farkinnoArgumentsECRDKRsecuritygroupC8F0FF04": {
|
|
990
990
|
"Type": "AWS::EC2::SecurityGroup",
|
|
991
991
|
"Properties": {
|
|
992
|
-
"GroupDescription": "
|
|
992
|
+
"GroupDescription": "farkin-noArguments/farkin-noArguments-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": "farkinnoArgumentstestfargatekinesisstreamstaskdefE3913C8B",
|
|
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": {
|