@aws-solutions-constructs/aws-fargate-kinesisstreams 2.45.0 → 2.47.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 +5 -5
- package/lib/index.js +1 -1
- package/package.json +6 -6
- package/test/{integ.existingFargateService.expected.json → integ.farkin-existingFargateService.expected.json} +33 -33
- package/test/integ.farkin-existingFargateService.js +37 -0
- package/test/{integ.existingStream.expected.json → integ.farkin-existingStream.expected.json} +33 -33
- package/test/integ.farkin-existingStream.js +35 -0
- package/test/{integ.noArguments.expected.json → integ.farkin-existingVpc.expected.json} +70 -70
- package/test/integ.farkin-existingVpc.js +33 -0
- package/test/{integ.fargateServiceFromProps.expected.json → integ.farkin-fargateServiceFromProps.expected.json} +33 -33
- package/test/{integ.existingStream.js → integ.farkin-fargateServiceFromProps.js} +5 -7
- package/test/{integ.existingVpc.expected.json → integ.farkin-noArguments.expected.json} +70 -70
- package/test/integ.farkin-noArguments.js +29 -0
- package/test/{integ.streamFromProps.expected.json → integ.farkin-streamFromProps.expected.json} +33 -33
- package/test/{integ.existingVpc.js → integ.farkin-streamFromProps.js} +6 -5
- package/test/{integ.vpcFromProps.expected.json → integ.farkin-vpcFromProps.expected.json} +33 -33
- 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
package/test/{integ.existingStream.expected.json → integ.farkin-existingStream.expected.json}
RENAMED
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"Tags": [
|
|
50
50
|
{
|
|
51
51
|
"Key": "Name",
|
|
52
|
-
"Value": "existingStream/Vpc"
|
|
52
|
+
"Value": "farkin-existingStream/Vpc"
|
|
53
53
|
}
|
|
54
54
|
]
|
|
55
55
|
}
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
},
|
|
72
72
|
{
|
|
73
73
|
"Key": "Name",
|
|
74
|
-
"Value": "existingStream/Vpc/PublicSubnet1"
|
|
74
|
+
"Value": "farkin-existingStream/Vpc/PublicSubnet1"
|
|
75
75
|
}
|
|
76
76
|
],
|
|
77
77
|
"VpcId": {
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
"Tags": [
|
|
96
96
|
{
|
|
97
97
|
"Key": "Name",
|
|
98
|
-
"Value": "existingStream/Vpc/PublicSubnet1"
|
|
98
|
+
"Value": "farkin-existingStream/Vpc/PublicSubnet1"
|
|
99
99
|
}
|
|
100
100
|
],
|
|
101
101
|
"VpcId": {
|
|
@@ -136,7 +136,7 @@
|
|
|
136
136
|
"Tags": [
|
|
137
137
|
{
|
|
138
138
|
"Key": "Name",
|
|
139
|
-
"Value": "existingStream/Vpc/PublicSubnet1"
|
|
139
|
+
"Value": "farkin-existingStream/Vpc/PublicSubnet1"
|
|
140
140
|
}
|
|
141
141
|
]
|
|
142
142
|
}
|
|
@@ -156,7 +156,7 @@
|
|
|
156
156
|
"Tags": [
|
|
157
157
|
{
|
|
158
158
|
"Key": "Name",
|
|
159
|
-
"Value": "existingStream/Vpc/PublicSubnet1"
|
|
159
|
+
"Value": "farkin-existingStream/Vpc/PublicSubnet1"
|
|
160
160
|
}
|
|
161
161
|
]
|
|
162
162
|
},
|
|
@@ -182,7 +182,7 @@
|
|
|
182
182
|
},
|
|
183
183
|
{
|
|
184
184
|
"Key": "Name",
|
|
185
|
-
"Value": "existingStream/Vpc/PublicSubnet2"
|
|
185
|
+
"Value": "farkin-existingStream/Vpc/PublicSubnet2"
|
|
186
186
|
}
|
|
187
187
|
],
|
|
188
188
|
"VpcId": {
|
|
@@ -206,7 +206,7 @@
|
|
|
206
206
|
"Tags": [
|
|
207
207
|
{
|
|
208
208
|
"Key": "Name",
|
|
209
|
-
"Value": "existingStream/Vpc/PublicSubnet2"
|
|
209
|
+
"Value": "farkin-existingStream/Vpc/PublicSubnet2"
|
|
210
210
|
}
|
|
211
211
|
],
|
|
212
212
|
"VpcId": {
|
|
@@ -247,7 +247,7 @@
|
|
|
247
247
|
"Tags": [
|
|
248
248
|
{
|
|
249
249
|
"Key": "Name",
|
|
250
|
-
"Value": "existingStream/Vpc/PublicSubnet2"
|
|
250
|
+
"Value": "farkin-existingStream/Vpc/PublicSubnet2"
|
|
251
251
|
}
|
|
252
252
|
]
|
|
253
253
|
}
|
|
@@ -267,7 +267,7 @@
|
|
|
267
267
|
"Tags": [
|
|
268
268
|
{
|
|
269
269
|
"Key": "Name",
|
|
270
|
-
"Value": "existingStream/Vpc/PublicSubnet2"
|
|
270
|
+
"Value": "farkin-existingStream/Vpc/PublicSubnet2"
|
|
271
271
|
}
|
|
272
272
|
]
|
|
273
273
|
},
|
|
@@ -293,7 +293,7 @@
|
|
|
293
293
|
},
|
|
294
294
|
{
|
|
295
295
|
"Key": "Name",
|
|
296
|
-
"Value": "existingStream/Vpc/PublicSubnet3"
|
|
296
|
+
"Value": "farkin-existingStream/Vpc/PublicSubnet3"
|
|
297
297
|
}
|
|
298
298
|
],
|
|
299
299
|
"VpcId": {
|
|
@@ -317,7 +317,7 @@
|
|
|
317
317
|
"Tags": [
|
|
318
318
|
{
|
|
319
319
|
"Key": "Name",
|
|
320
|
-
"Value": "existingStream/Vpc/PublicSubnet3"
|
|
320
|
+
"Value": "farkin-existingStream/Vpc/PublicSubnet3"
|
|
321
321
|
}
|
|
322
322
|
],
|
|
323
323
|
"VpcId": {
|
|
@@ -358,7 +358,7 @@
|
|
|
358
358
|
"Tags": [
|
|
359
359
|
{
|
|
360
360
|
"Key": "Name",
|
|
361
|
-
"Value": "existingStream/Vpc/PublicSubnet3"
|
|
361
|
+
"Value": "farkin-existingStream/Vpc/PublicSubnet3"
|
|
362
362
|
}
|
|
363
363
|
]
|
|
364
364
|
}
|
|
@@ -378,7 +378,7 @@
|
|
|
378
378
|
"Tags": [
|
|
379
379
|
{
|
|
380
380
|
"Key": "Name",
|
|
381
|
-
"Value": "existingStream/Vpc/PublicSubnet3"
|
|
381
|
+
"Value": "farkin-existingStream/Vpc/PublicSubnet3"
|
|
382
382
|
}
|
|
383
383
|
]
|
|
384
384
|
},
|
|
@@ -404,7 +404,7 @@
|
|
|
404
404
|
},
|
|
405
405
|
{
|
|
406
406
|
"Key": "Name",
|
|
407
|
-
"Value": "existingStream/Vpc/PrivateSubnet1"
|
|
407
|
+
"Value": "farkin-existingStream/Vpc/PrivateSubnet1"
|
|
408
408
|
}
|
|
409
409
|
],
|
|
410
410
|
"VpcId": {
|
|
@@ -418,7 +418,7 @@
|
|
|
418
418
|
"Tags": [
|
|
419
419
|
{
|
|
420
420
|
"Key": "Name",
|
|
421
|
-
"Value": "existingStream/Vpc/PrivateSubnet1"
|
|
421
|
+
"Value": "farkin-existingStream/Vpc/PrivateSubnet1"
|
|
422
422
|
}
|
|
423
423
|
],
|
|
424
424
|
"VpcId": {
|
|
@@ -466,7 +466,7 @@
|
|
|
466
466
|
},
|
|
467
467
|
{
|
|
468
468
|
"Key": "Name",
|
|
469
|
-
"Value": "existingStream/Vpc/PrivateSubnet2"
|
|
469
|
+
"Value": "farkin-existingStream/Vpc/PrivateSubnet2"
|
|
470
470
|
}
|
|
471
471
|
],
|
|
472
472
|
"VpcId": {
|
|
@@ -480,7 +480,7 @@
|
|
|
480
480
|
"Tags": [
|
|
481
481
|
{
|
|
482
482
|
"Key": "Name",
|
|
483
|
-
"Value": "existingStream/Vpc/PrivateSubnet2"
|
|
483
|
+
"Value": "farkin-existingStream/Vpc/PrivateSubnet2"
|
|
484
484
|
}
|
|
485
485
|
],
|
|
486
486
|
"VpcId": {
|
|
@@ -528,7 +528,7 @@
|
|
|
528
528
|
},
|
|
529
529
|
{
|
|
530
530
|
"Key": "Name",
|
|
531
|
-
"Value": "existingStream/Vpc/PrivateSubnet3"
|
|
531
|
+
"Value": "farkin-existingStream/Vpc/PrivateSubnet3"
|
|
532
532
|
}
|
|
533
533
|
],
|
|
534
534
|
"VpcId": {
|
|
@@ -542,7 +542,7 @@
|
|
|
542
542
|
"Tags": [
|
|
543
543
|
{
|
|
544
544
|
"Key": "Name",
|
|
545
|
-
"Value": "existingStream/Vpc/PrivateSubnet3"
|
|
545
|
+
"Value": "farkin-existingStream/Vpc/PrivateSubnet3"
|
|
546
546
|
}
|
|
547
547
|
],
|
|
548
548
|
"VpcId": {
|
|
@@ -579,7 +579,7 @@
|
|
|
579
579
|
"Tags": [
|
|
580
580
|
{
|
|
581
581
|
"Key": "Name",
|
|
582
|
-
"Value": "existingStream/Vpc"
|
|
582
|
+
"Value": "farkin-existingStream/Vpc"
|
|
583
583
|
}
|
|
584
584
|
]
|
|
585
585
|
}
|
|
@@ -613,7 +613,7 @@
|
|
|
613
613
|
"Tags": [
|
|
614
614
|
{
|
|
615
615
|
"Key": "Name",
|
|
616
|
-
"Value": "existingStream/Vpc/FlowLog"
|
|
616
|
+
"Value": "farkin-existingStream/Vpc/FlowLog"
|
|
617
617
|
}
|
|
618
618
|
]
|
|
619
619
|
}
|
|
@@ -665,7 +665,7 @@
|
|
|
665
665
|
"Tags": [
|
|
666
666
|
{
|
|
667
667
|
"Key": "Name",
|
|
668
|
-
"Value": "existingStream/Vpc/FlowLog"
|
|
668
|
+
"Value": "farkin-existingStream/Vpc/FlowLog"
|
|
669
669
|
}
|
|
670
670
|
]
|
|
671
671
|
},
|
|
@@ -702,7 +702,7 @@
|
|
|
702
702
|
"Tags": [
|
|
703
703
|
{
|
|
704
704
|
"Key": "Name",
|
|
705
|
-
"Value": "existingStream/Vpc/FlowLog"
|
|
705
|
+
"Value": "farkin-existingStream/Vpc/FlowLog"
|
|
706
706
|
}
|
|
707
707
|
],
|
|
708
708
|
"TrafficType": "ALL"
|
|
@@ -715,7 +715,7 @@
|
|
|
715
715
|
"SecurityGroupIds": [
|
|
716
716
|
{
|
|
717
717
|
"Fn::GetAtt": [
|
|
718
|
-
"
|
|
718
|
+
"farkinexistingStreamKINESISSTREAMSsecuritygroup2555F81B",
|
|
719
719
|
"GroupId"
|
|
720
720
|
]
|
|
721
721
|
}
|
|
@@ -756,7 +756,7 @@
|
|
|
756
756
|
"SecurityGroupIds": [
|
|
757
757
|
{
|
|
758
758
|
"Fn::GetAtt": [
|
|
759
|
-
"
|
|
759
|
+
"farkinexistingStreamECRAPIsecuritygroup4D631094",
|
|
760
760
|
"GroupId"
|
|
761
761
|
]
|
|
762
762
|
}
|
|
@@ -797,7 +797,7 @@
|
|
|
797
797
|
"SecurityGroupIds": [
|
|
798
798
|
{
|
|
799
799
|
"Fn::GetAtt": [
|
|
800
|
-
"
|
|
800
|
+
"farkinexistingStreamECRDKRsecuritygroup6C2FE279",
|
|
801
801
|
"GroupId"
|
|
802
802
|
]
|
|
803
803
|
}
|
|
@@ -872,10 +872,10 @@
|
|
|
872
872
|
}
|
|
873
873
|
}
|
|
874
874
|
},
|
|
875
|
-
"
|
|
875
|
+
"farkinexistingStreamKINESISSTREAMSsecuritygroup2555F81B": {
|
|
876
876
|
"Type": "AWS::EC2::SecurityGroup",
|
|
877
877
|
"Properties": {
|
|
878
|
-
"GroupDescription": "existingStream/existingStream-KINESIS_STREAMS-security-group",
|
|
878
|
+
"GroupDescription": "farkin-existingStream/farkin-existingStream-KINESIS_STREAMS-security-group",
|
|
879
879
|
"SecurityGroupEgress": [
|
|
880
880
|
{
|
|
881
881
|
"CidrIp": "0.0.0.0/0",
|
|
@@ -930,10 +930,10 @@
|
|
|
930
930
|
}
|
|
931
931
|
}
|
|
932
932
|
},
|
|
933
|
-
"
|
|
933
|
+
"farkinexistingStreamECRAPIsecuritygroup4D631094": {
|
|
934
934
|
"Type": "AWS::EC2::SecurityGroup",
|
|
935
935
|
"Properties": {
|
|
936
|
-
"GroupDescription": "existingStream/existingStream-ECR_API-security-group",
|
|
936
|
+
"GroupDescription": "farkin-existingStream/farkin-existingStream-ECR_API-security-group",
|
|
937
937
|
"SecurityGroupEgress": [
|
|
938
938
|
{
|
|
939
939
|
"CidrIp": "0.0.0.0/0",
|
|
@@ -988,10 +988,10 @@
|
|
|
988
988
|
}
|
|
989
989
|
}
|
|
990
990
|
},
|
|
991
|
-
"
|
|
991
|
+
"farkinexistingStreamECRDKRsecuritygroup6C2FE279": {
|
|
992
992
|
"Type": "AWS::EC2::SecurityGroup",
|
|
993
993
|
"Properties": {
|
|
994
|
-
"GroupDescription": "existingStream/existingStream-ECR_DKR-security-group",
|
|
994
|
+
"GroupDescription": "farkin-existingStream/farkin-existingStream-ECR_DKR-security-group",
|
|
995
995
|
"SecurityGroupEgress": [
|
|
996
996
|
{
|
|
997
997
|
"CidrIp": "0.0.0.0/0",
|
|
@@ -1122,7 +1122,7 @@
|
|
|
1122
1122
|
}
|
|
1123
1123
|
],
|
|
1124
1124
|
"Cpu": "256",
|
|
1125
|
-
"Family": "
|
|
1125
|
+
"Family": "farkinexistingStreamtestfargatekinesisstreamstaskdef3D866938",
|
|
1126
1126
|
"Memory": "512",
|
|
1127
1127
|
"NetworkMode": "awsvpc",
|
|
1128
1128
|
"RequiresCompatibilities": [
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance
|
|
6
|
+
* with the License. A copy of the License is located at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* or in the 'license' file accompanying this file. This file is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES
|
|
11
|
+
* OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions
|
|
12
|
+
* and limitations under the License.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
/// !cdk-integ *
|
|
16
|
+
const aws_cdk_lib_1 = require("aws-cdk-lib");
|
|
17
|
+
const lib_1 = require("../lib");
|
|
18
|
+
const core_1 = require("@aws-solutions-constructs/core");
|
|
19
|
+
const kinesis = require("aws-cdk-lib/aws-kinesis");
|
|
20
|
+
const ecs = require("aws-cdk-lib/aws-ecs");
|
|
21
|
+
const app = new aws_cdk_lib_1.App();
|
|
22
|
+
const stack = new aws_cdk_lib_1.Stack(app, core_1.generateIntegStackName(__filename));
|
|
23
|
+
const existingStreamObj = new kinesis.Stream(stack, 'test-stream', {
|
|
24
|
+
streamMode: kinesis.StreamMode.ON_DEMAND,
|
|
25
|
+
encryption: kinesis.StreamEncryption.MANAGED
|
|
26
|
+
});
|
|
27
|
+
new lib_1.FargateToKinesisStreams(stack, 'test-fargate-kinesisstreams', {
|
|
28
|
+
publicApi: true,
|
|
29
|
+
containerDefinitionProps: {
|
|
30
|
+
image: ecs.ContainerImage.fromRegistry('nginx')
|
|
31
|
+
},
|
|
32
|
+
existingStreamObj
|
|
33
|
+
});
|
|
34
|
+
app.synth();
|
|
35
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50ZWcuZmFya2luLWV4aXN0aW5nU3RyZWFtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiaW50ZWcuZmFya2luLWV4aXN0aW5nU3RyZWFtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7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YWNrTmFtZShfX2ZpbGVuYW1lKSk7XG5cbmNvbnN0IGV4aXN0aW5nU3RyZWFtT2JqID0gbmV3IGtpbmVzaXMuU3RyZWFtKHN0YWNrLCAndGVzdC1zdHJlYW0nLCB7XG4gIHN0cmVhbU1vZGU6IGtpbmVzaXMuU3RyZWFtTW9kZS5PTl9ERU1BTkQsXG4gIGVuY3J5cHRpb246IGtpbmVzaXMuU3RyZWFtRW5jcnlwdGlvbi5NQU5BR0VEXG59KTtcblxubmV3IEZhcmdhdGVUb0tpbmVzaXNTdHJlYW1zKHN0YWNrLCAndGVzdC1mYXJnYXRlLWtpbmVzaXNzdHJlYW1zJywge1xuICBwdWJsaWNBcGk6IHRydWUsXG4gIGNvbnRhaW5lckRlZmluaXRpb25Qcm9wczoge1xuICAgIGltYWdlOiBlY3MuQ29udGFpbmVySW1hZ2UuZnJvbVJlZ2lzdHJ5KCduZ2lueCcpXG4gIH0sXG4gIGV4aXN0aW5nU3RyZWFtT2JqXG59KTtcblxuYXBwLnN5bnRoKCk7XG4iXX0=
|
|
@@ -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
|
-
"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
|
-
},
|
|
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
|
}
|
|
@@ -69,7 +32,7 @@
|
|
|
69
32
|
},
|
|
70
33
|
{
|
|
71
34
|
"Key": "Name",
|
|
72
|
-
"Value": "
|
|
35
|
+
"Value": "farkin-existingVpc/Vpc/PublicSubnet1"
|
|
73
36
|
}
|
|
74
37
|
],
|
|
75
38
|
"VpcId": {
|
|
@@ -93,7 +56,7 @@
|
|
|
93
56
|
"Tags": [
|
|
94
57
|
{
|
|
95
58
|
"Key": "Name",
|
|
96
|
-
"Value": "
|
|
59
|
+
"Value": "farkin-existingVpc/Vpc/PublicSubnet1"
|
|
97
60
|
}
|
|
98
61
|
],
|
|
99
62
|
"VpcId": {
|
|
@@ -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
|
}
|
|
@@ -154,7 +117,7 @@
|
|
|
154
117
|
"Tags": [
|
|
155
118
|
{
|
|
156
119
|
"Key": "Name",
|
|
157
|
-
"Value": "
|
|
120
|
+
"Value": "farkin-existingVpc/Vpc/PublicSubnet1"
|
|
158
121
|
}
|
|
159
122
|
]
|
|
160
123
|
},
|
|
@@ -180,7 +143,7 @@
|
|
|
180
143
|
},
|
|
181
144
|
{
|
|
182
145
|
"Key": "Name",
|
|
183
|
-
"Value": "
|
|
146
|
+
"Value": "farkin-existingVpc/Vpc/PublicSubnet2"
|
|
184
147
|
}
|
|
185
148
|
],
|
|
186
149
|
"VpcId": {
|
|
@@ -204,7 +167,7 @@
|
|
|
204
167
|
"Tags": [
|
|
205
168
|
{
|
|
206
169
|
"Key": "Name",
|
|
207
|
-
"Value": "
|
|
170
|
+
"Value": "farkin-existingVpc/Vpc/PublicSubnet2"
|
|
208
171
|
}
|
|
209
172
|
],
|
|
210
173
|
"VpcId": {
|
|
@@ -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
|
}
|
|
@@ -265,7 +228,7 @@
|
|
|
265
228
|
"Tags": [
|
|
266
229
|
{
|
|
267
230
|
"Key": "Name",
|
|
268
|
-
"Value": "
|
|
231
|
+
"Value": "farkin-existingVpc/Vpc/PublicSubnet2"
|
|
269
232
|
}
|
|
270
233
|
]
|
|
271
234
|
},
|
|
@@ -291,7 +254,7 @@
|
|
|
291
254
|
},
|
|
292
255
|
{
|
|
293
256
|
"Key": "Name",
|
|
294
|
-
"Value": "
|
|
257
|
+
"Value": "farkin-existingVpc/Vpc/PublicSubnet3"
|
|
295
258
|
}
|
|
296
259
|
],
|
|
297
260
|
"VpcId": {
|
|
@@ -315,7 +278,7 @@
|
|
|
315
278
|
"Tags": [
|
|
316
279
|
{
|
|
317
280
|
"Key": "Name",
|
|
318
|
-
"Value": "
|
|
281
|
+
"Value": "farkin-existingVpc/Vpc/PublicSubnet3"
|
|
319
282
|
}
|
|
320
283
|
],
|
|
321
284
|
"VpcId": {
|
|
@@ -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
|
}
|
|
@@ -376,7 +339,7 @@
|
|
|
376
339
|
"Tags": [
|
|
377
340
|
{
|
|
378
341
|
"Key": "Name",
|
|
379
|
-
"Value": "
|
|
342
|
+
"Value": "farkin-existingVpc/Vpc/PublicSubnet3"
|
|
380
343
|
}
|
|
381
344
|
]
|
|
382
345
|
},
|
|
@@ -402,7 +365,7 @@
|
|
|
402
365
|
},
|
|
403
366
|
{
|
|
404
367
|
"Key": "Name",
|
|
405
|
-
"Value": "
|
|
368
|
+
"Value": "farkin-existingVpc/Vpc/PrivateSubnet1"
|
|
406
369
|
}
|
|
407
370
|
],
|
|
408
371
|
"VpcId": {
|
|
@@ -416,7 +379,7 @@
|
|
|
416
379
|
"Tags": [
|
|
417
380
|
{
|
|
418
381
|
"Key": "Name",
|
|
419
|
-
"Value": "
|
|
382
|
+
"Value": "farkin-existingVpc/Vpc/PrivateSubnet1"
|
|
420
383
|
}
|
|
421
384
|
],
|
|
422
385
|
"VpcId": {
|
|
@@ -464,7 +427,7 @@
|
|
|
464
427
|
},
|
|
465
428
|
{
|
|
466
429
|
"Key": "Name",
|
|
467
|
-
"Value": "
|
|
430
|
+
"Value": "farkin-existingVpc/Vpc/PrivateSubnet2"
|
|
468
431
|
}
|
|
469
432
|
],
|
|
470
433
|
"VpcId": {
|
|
@@ -478,7 +441,7 @@
|
|
|
478
441
|
"Tags": [
|
|
479
442
|
{
|
|
480
443
|
"Key": "Name",
|
|
481
|
-
"Value": "
|
|
444
|
+
"Value": "farkin-existingVpc/Vpc/PrivateSubnet2"
|
|
482
445
|
}
|
|
483
446
|
],
|
|
484
447
|
"VpcId": {
|
|
@@ -526,7 +489,7 @@
|
|
|
526
489
|
},
|
|
527
490
|
{
|
|
528
491
|
"Key": "Name",
|
|
529
|
-
"Value": "
|
|
492
|
+
"Value": "farkin-existingVpc/Vpc/PrivateSubnet3"
|
|
530
493
|
}
|
|
531
494
|
],
|
|
532
495
|
"VpcId": {
|
|
@@ -540,7 +503,7 @@
|
|
|
540
503
|
"Tags": [
|
|
541
504
|
{
|
|
542
505
|
"Key": "Name",
|
|
543
|
-
"Value": "
|
|
506
|
+
"Value": "farkin-existingVpc/Vpc/PrivateSubnet3"
|
|
544
507
|
}
|
|
545
508
|
],
|
|
546
509
|
"VpcId": {
|
|
@@ -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
|
}
|
|
@@ -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
|
},
|
|
@@ -700,7 +663,7 @@
|
|
|
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"
|
|
@@ -713,7 +676,7 @@
|
|
|
713
676
|
"SecurityGroupIds": [
|
|
714
677
|
{
|
|
715
678
|
"Fn::GetAtt": [
|
|
716
|
-
"
|
|
679
|
+
"farkinexistingVpcKINESISSTREAMSsecuritygroupB4DB27F8",
|
|
717
680
|
"GroupId"
|
|
718
681
|
]
|
|
719
682
|
}
|
|
@@ -754,7 +717,7 @@
|
|
|
754
717
|
"SecurityGroupIds": [
|
|
755
718
|
{
|
|
756
719
|
"Fn::GetAtt": [
|
|
757
|
-
"
|
|
720
|
+
"farkinexistingVpcECRAPIsecuritygroupFF0E68D3",
|
|
758
721
|
"GroupId"
|
|
759
722
|
]
|
|
760
723
|
}
|
|
@@ -795,7 +758,7 @@
|
|
|
795
758
|
"SecurityGroupIds": [
|
|
796
759
|
{
|
|
797
760
|
"Fn::GetAtt": [
|
|
798
|
-
"
|
|
761
|
+
"farkinexistingVpcECRDKRsecuritygroup5D9945D5",
|
|
799
762
|
"GroupId"
|
|
800
763
|
]
|
|
801
764
|
}
|
|
@@ -870,10 +833,47 @@
|
|
|
870
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": [
|