@aws-solutions-constructs/aws-fargate-opensearch 2.44.0 → 2.45.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 +106 -15
- package/lib/index.d.ts +1 -1
- package/lib/index.js +4 -3
- package/package.json +6 -6
- package/test/fargate-opensearch.test.js +37 -12
- package/test/integ.existing-resources.expected.json +133 -125
- package/test/integ.new-resources.expected.json +133 -125
|
@@ -38,9 +38,6 @@
|
|
|
38
38
|
"testconstructCognitoUserPoolClient36ACF012": {
|
|
39
39
|
"Type": "AWS::Cognito::UserPoolClient",
|
|
40
40
|
"Properties": {
|
|
41
|
-
"UserPoolId": {
|
|
42
|
-
"Ref": "testconstructCognitoUserPoolA4991355"
|
|
43
|
-
},
|
|
44
41
|
"AllowedOAuthFlows": [
|
|
45
42
|
"implicit",
|
|
46
43
|
"code"
|
|
@@ -58,7 +55,10 @@
|
|
|
58
55
|
],
|
|
59
56
|
"SupportedIdentityProviders": [
|
|
60
57
|
"COGNITO"
|
|
61
|
-
]
|
|
58
|
+
],
|
|
59
|
+
"UserPoolId": {
|
|
60
|
+
"Ref": "testconstructCognitoUserPoolA4991355"
|
|
61
|
+
}
|
|
62
62
|
}
|
|
63
63
|
},
|
|
64
64
|
"testconstructCognitoIdentityPool51EFD08D": {
|
|
@@ -409,9 +409,9 @@
|
|
|
409
409
|
"testconstructStatusRedAlarmFBEA96DF": {
|
|
410
410
|
"Type": "AWS::CloudWatch::Alarm",
|
|
411
411
|
"Properties": {
|
|
412
|
+
"AlarmDescription": "At least one primary shard and its replicas are not allocated to a node. ",
|
|
412
413
|
"ComparisonOperator": "GreaterThanOrEqualToThreshold",
|
|
413
414
|
"EvaluationPeriods": 1,
|
|
414
|
-
"AlarmDescription": "At least one primary shard and its replicas are not allocated to a node. ",
|
|
415
415
|
"MetricName": "ClusterStatus.red",
|
|
416
416
|
"Namespace": "AWS/ES",
|
|
417
417
|
"Period": 60,
|
|
@@ -422,9 +422,9 @@
|
|
|
422
422
|
"testconstructStatusYellowAlarm3B8C3640": {
|
|
423
423
|
"Type": "AWS::CloudWatch::Alarm",
|
|
424
424
|
"Properties": {
|
|
425
|
+
"AlarmDescription": "At least one replica shard is not allocated to a node.",
|
|
425
426
|
"ComparisonOperator": "GreaterThanOrEqualToThreshold",
|
|
426
427
|
"EvaluationPeriods": 1,
|
|
427
|
-
"AlarmDescription": "At least one replica shard is not allocated to a node.",
|
|
428
428
|
"MetricName": "ClusterStatus.yellow",
|
|
429
429
|
"Namespace": "AWS/ES",
|
|
430
430
|
"Period": 60,
|
|
@@ -435,9 +435,9 @@
|
|
|
435
435
|
"testconstructFreeStorageSpaceTooLowAlarm08294658": {
|
|
436
436
|
"Type": "AWS::CloudWatch::Alarm",
|
|
437
437
|
"Properties": {
|
|
438
|
+
"AlarmDescription": "A node in your cluster is down to 20 GiB of free storage space.",
|
|
438
439
|
"ComparisonOperator": "LessThanOrEqualToThreshold",
|
|
439
440
|
"EvaluationPeriods": 1,
|
|
440
|
-
"AlarmDescription": "A node in your cluster is down to 20 GiB of free storage space.",
|
|
441
441
|
"MetricName": "FreeStorageSpace",
|
|
442
442
|
"Namespace": "AWS/ES",
|
|
443
443
|
"Period": 60,
|
|
@@ -448,9 +448,9 @@
|
|
|
448
448
|
"testconstructIndexWritesBlockedTooHighAlarm06094A18": {
|
|
449
449
|
"Type": "AWS::CloudWatch::Alarm",
|
|
450
450
|
"Properties": {
|
|
451
|
+
"AlarmDescription": "Your cluster is blocking write requests.",
|
|
451
452
|
"ComparisonOperator": "GreaterThanOrEqualToThreshold",
|
|
452
453
|
"EvaluationPeriods": 1,
|
|
453
|
-
"AlarmDescription": "Your cluster is blocking write requests.",
|
|
454
454
|
"MetricName": "ClusterIndexWritesBlocked",
|
|
455
455
|
"Namespace": "AWS/ES",
|
|
456
456
|
"Period": 300,
|
|
@@ -461,9 +461,9 @@
|
|
|
461
461
|
"testconstructAutomatedSnapshotFailureTooHighAlarm29E550A3": {
|
|
462
462
|
"Type": "AWS::CloudWatch::Alarm",
|
|
463
463
|
"Properties": {
|
|
464
|
+
"AlarmDescription": "An automated snapshot failed. This failure is often the result of a red cluster health status.",
|
|
464
465
|
"ComparisonOperator": "GreaterThanOrEqualToThreshold",
|
|
465
466
|
"EvaluationPeriods": 1,
|
|
466
|
-
"AlarmDescription": "An automated snapshot failed. This failure is often the result of a red cluster health status.",
|
|
467
467
|
"MetricName": "AutomatedSnapshotFailure",
|
|
468
468
|
"Namespace": "AWS/ES",
|
|
469
469
|
"Period": 60,
|
|
@@ -474,9 +474,9 @@
|
|
|
474
474
|
"testconstructCPUUtilizationTooHighAlarmD32179B7": {
|
|
475
475
|
"Type": "AWS::CloudWatch::Alarm",
|
|
476
476
|
"Properties": {
|
|
477
|
+
"AlarmDescription": "100% CPU utilization is not uncommon, but sustained high usage is problematic. Consider using larger instance types or adding instances.",
|
|
477
478
|
"ComparisonOperator": "GreaterThanOrEqualToThreshold",
|
|
478
479
|
"EvaluationPeriods": 3,
|
|
479
|
-
"AlarmDescription": "100% CPU utilization is not uncommon, but sustained high usage is problematic. Consider using larger instance types or adding instances.",
|
|
480
480
|
"MetricName": "CPUUtilization",
|
|
481
481
|
"Namespace": "AWS/ES",
|
|
482
482
|
"Period": 900,
|
|
@@ -487,9 +487,9 @@
|
|
|
487
487
|
"testconstructJVMMemoryPressureTooHighAlarmFD4175A0": {
|
|
488
488
|
"Type": "AWS::CloudWatch::Alarm",
|
|
489
489
|
"Properties": {
|
|
490
|
+
"AlarmDescription": "Average JVM memory pressure over last 15 minutes too high. Consider scaling vertically.",
|
|
490
491
|
"ComparisonOperator": "GreaterThanOrEqualToThreshold",
|
|
491
492
|
"EvaluationPeriods": 1,
|
|
492
|
-
"AlarmDescription": "Average JVM memory pressure over last 15 minutes too high. Consider scaling vertically.",
|
|
493
493
|
"MetricName": "JVMMemoryPressure",
|
|
494
494
|
"Namespace": "AWS/ES",
|
|
495
495
|
"Period": 900,
|
|
@@ -500,9 +500,9 @@
|
|
|
500
500
|
"testconstructMasterCPUUtilizationTooHighAlarmAA50D0A7": {
|
|
501
501
|
"Type": "AWS::CloudWatch::Alarm",
|
|
502
502
|
"Properties": {
|
|
503
|
+
"AlarmDescription": "Average CPU utilization over last 45 minutes too high. Consider using larger instance types for your dedicated master nodes.",
|
|
503
504
|
"ComparisonOperator": "GreaterThanOrEqualToThreshold",
|
|
504
505
|
"EvaluationPeriods": 3,
|
|
505
|
-
"AlarmDescription": "Average CPU utilization over last 45 minutes too high. Consider using larger instance types for your dedicated master nodes.",
|
|
506
506
|
"MetricName": "MasterCPUUtilization",
|
|
507
507
|
"Namespace": "AWS/ES",
|
|
508
508
|
"Period": 900,
|
|
@@ -513,9 +513,9 @@
|
|
|
513
513
|
"testconstructMasterJVMMemoryPressureTooHighAlarm5AE37D64": {
|
|
514
514
|
"Type": "AWS::CloudWatch::Alarm",
|
|
515
515
|
"Properties": {
|
|
516
|
+
"AlarmDescription": "Average JVM memory pressure over last 15 minutes too high. Consider scaling vertically.",
|
|
516
517
|
"ComparisonOperator": "GreaterThanOrEqualToThreshold",
|
|
517
518
|
"EvaluationPeriods": 1,
|
|
518
|
-
"AlarmDescription": "Average JVM memory pressure over last 15 minutes too high. Consider scaling vertically.",
|
|
519
519
|
"MetricName": "MasterJVMMemoryPressure",
|
|
520
520
|
"Namespace": "AWS/ES",
|
|
521
521
|
"Period": 900,
|
|
@@ -541,9 +541,6 @@
|
|
|
541
541
|
"VpcPublicSubnet1Subnet5C2D37C4": {
|
|
542
542
|
"Type": "AWS::EC2::Subnet",
|
|
543
543
|
"Properties": {
|
|
544
|
-
"VpcId": {
|
|
545
|
-
"Ref": "Vpc8378EB38"
|
|
546
|
-
},
|
|
547
544
|
"AvailabilityZone": "test-region-1a",
|
|
548
545
|
"CidrBlock": "10.0.0.0/19",
|
|
549
546
|
"MapPublicIpOnLaunch": true,
|
|
@@ -560,7 +557,10 @@
|
|
|
560
557
|
"Key": "Name",
|
|
561
558
|
"Value": "new-resources/Vpc/PublicSubnet1"
|
|
562
559
|
}
|
|
563
|
-
]
|
|
560
|
+
],
|
|
561
|
+
"VpcId": {
|
|
562
|
+
"Ref": "Vpc8378EB38"
|
|
563
|
+
}
|
|
564
564
|
},
|
|
565
565
|
"Metadata": {
|
|
566
566
|
"cfn_nag": {
|
|
@@ -576,15 +576,15 @@
|
|
|
576
576
|
"VpcPublicSubnet1RouteTable6C95E38E": {
|
|
577
577
|
"Type": "AWS::EC2::RouteTable",
|
|
578
578
|
"Properties": {
|
|
579
|
-
"VpcId": {
|
|
580
|
-
"Ref": "Vpc8378EB38"
|
|
581
|
-
},
|
|
582
579
|
"Tags": [
|
|
583
580
|
{
|
|
584
581
|
"Key": "Name",
|
|
585
582
|
"Value": "new-resources/Vpc/PublicSubnet1"
|
|
586
583
|
}
|
|
587
|
-
]
|
|
584
|
+
],
|
|
585
|
+
"VpcId": {
|
|
586
|
+
"Ref": "Vpc8378EB38"
|
|
587
|
+
}
|
|
588
588
|
}
|
|
589
589
|
},
|
|
590
590
|
"VpcPublicSubnet1RouteTableAssociation97140677": {
|
|
@@ -601,12 +601,12 @@
|
|
|
601
601
|
"VpcPublicSubnet1DefaultRoute3DA9E72A": {
|
|
602
602
|
"Type": "AWS::EC2::Route",
|
|
603
603
|
"Properties": {
|
|
604
|
-
"RouteTableId": {
|
|
605
|
-
"Ref": "VpcPublicSubnet1RouteTable6C95E38E"
|
|
606
|
-
},
|
|
607
604
|
"DestinationCidrBlock": "0.0.0.0/0",
|
|
608
605
|
"GatewayId": {
|
|
609
606
|
"Ref": "VpcIGWD7BA715C"
|
|
607
|
+
},
|
|
608
|
+
"RouteTableId": {
|
|
609
|
+
"Ref": "VpcPublicSubnet1RouteTable6C95E38E"
|
|
610
610
|
}
|
|
611
611
|
},
|
|
612
612
|
"DependsOn": [
|
|
@@ -628,15 +628,15 @@
|
|
|
628
628
|
"VpcPublicSubnet1NATGateway4D7517AA": {
|
|
629
629
|
"Type": "AWS::EC2::NatGateway",
|
|
630
630
|
"Properties": {
|
|
631
|
-
"SubnetId": {
|
|
632
|
-
"Ref": "VpcPublicSubnet1Subnet5C2D37C4"
|
|
633
|
-
},
|
|
634
631
|
"AllocationId": {
|
|
635
632
|
"Fn::GetAtt": [
|
|
636
633
|
"VpcPublicSubnet1EIPD7E02669",
|
|
637
634
|
"AllocationId"
|
|
638
635
|
]
|
|
639
636
|
},
|
|
637
|
+
"SubnetId": {
|
|
638
|
+
"Ref": "VpcPublicSubnet1Subnet5C2D37C4"
|
|
639
|
+
},
|
|
640
640
|
"Tags": [
|
|
641
641
|
{
|
|
642
642
|
"Key": "Name",
|
|
@@ -652,9 +652,6 @@
|
|
|
652
652
|
"VpcPublicSubnet2Subnet691E08A3": {
|
|
653
653
|
"Type": "AWS::EC2::Subnet",
|
|
654
654
|
"Properties": {
|
|
655
|
-
"VpcId": {
|
|
656
|
-
"Ref": "Vpc8378EB38"
|
|
657
|
-
},
|
|
658
655
|
"AvailabilityZone": "test-region-1b",
|
|
659
656
|
"CidrBlock": "10.0.32.0/19",
|
|
660
657
|
"MapPublicIpOnLaunch": true,
|
|
@@ -671,7 +668,10 @@
|
|
|
671
668
|
"Key": "Name",
|
|
672
669
|
"Value": "new-resources/Vpc/PublicSubnet2"
|
|
673
670
|
}
|
|
674
|
-
]
|
|
671
|
+
],
|
|
672
|
+
"VpcId": {
|
|
673
|
+
"Ref": "Vpc8378EB38"
|
|
674
|
+
}
|
|
675
675
|
},
|
|
676
676
|
"Metadata": {
|
|
677
677
|
"cfn_nag": {
|
|
@@ -687,15 +687,15 @@
|
|
|
687
687
|
"VpcPublicSubnet2RouteTable94F7E489": {
|
|
688
688
|
"Type": "AWS::EC2::RouteTable",
|
|
689
689
|
"Properties": {
|
|
690
|
-
"VpcId": {
|
|
691
|
-
"Ref": "Vpc8378EB38"
|
|
692
|
-
},
|
|
693
690
|
"Tags": [
|
|
694
691
|
{
|
|
695
692
|
"Key": "Name",
|
|
696
693
|
"Value": "new-resources/Vpc/PublicSubnet2"
|
|
697
694
|
}
|
|
698
|
-
]
|
|
695
|
+
],
|
|
696
|
+
"VpcId": {
|
|
697
|
+
"Ref": "Vpc8378EB38"
|
|
698
|
+
}
|
|
699
699
|
}
|
|
700
700
|
},
|
|
701
701
|
"VpcPublicSubnet2RouteTableAssociationDD5762D8": {
|
|
@@ -712,12 +712,12 @@
|
|
|
712
712
|
"VpcPublicSubnet2DefaultRoute97F91067": {
|
|
713
713
|
"Type": "AWS::EC2::Route",
|
|
714
714
|
"Properties": {
|
|
715
|
-
"RouteTableId": {
|
|
716
|
-
"Ref": "VpcPublicSubnet2RouteTable94F7E489"
|
|
717
|
-
},
|
|
718
715
|
"DestinationCidrBlock": "0.0.0.0/0",
|
|
719
716
|
"GatewayId": {
|
|
720
717
|
"Ref": "VpcIGWD7BA715C"
|
|
718
|
+
},
|
|
719
|
+
"RouteTableId": {
|
|
720
|
+
"Ref": "VpcPublicSubnet2RouteTable94F7E489"
|
|
721
721
|
}
|
|
722
722
|
},
|
|
723
723
|
"DependsOn": [
|
|
@@ -739,15 +739,15 @@
|
|
|
739
739
|
"VpcPublicSubnet2NATGateway9182C01D": {
|
|
740
740
|
"Type": "AWS::EC2::NatGateway",
|
|
741
741
|
"Properties": {
|
|
742
|
-
"SubnetId": {
|
|
743
|
-
"Ref": "VpcPublicSubnet2Subnet691E08A3"
|
|
744
|
-
},
|
|
745
742
|
"AllocationId": {
|
|
746
743
|
"Fn::GetAtt": [
|
|
747
744
|
"VpcPublicSubnet2EIP3C605A87",
|
|
748
745
|
"AllocationId"
|
|
749
746
|
]
|
|
750
747
|
},
|
|
748
|
+
"SubnetId": {
|
|
749
|
+
"Ref": "VpcPublicSubnet2Subnet691E08A3"
|
|
750
|
+
},
|
|
751
751
|
"Tags": [
|
|
752
752
|
{
|
|
753
753
|
"Key": "Name",
|
|
@@ -763,9 +763,6 @@
|
|
|
763
763
|
"VpcPublicSubnet3SubnetBE12F0B6": {
|
|
764
764
|
"Type": "AWS::EC2::Subnet",
|
|
765
765
|
"Properties": {
|
|
766
|
-
"VpcId": {
|
|
767
|
-
"Ref": "Vpc8378EB38"
|
|
768
|
-
},
|
|
769
766
|
"AvailabilityZone": "test-region-1c",
|
|
770
767
|
"CidrBlock": "10.0.64.0/19",
|
|
771
768
|
"MapPublicIpOnLaunch": true,
|
|
@@ -782,7 +779,10 @@
|
|
|
782
779
|
"Key": "Name",
|
|
783
780
|
"Value": "new-resources/Vpc/PublicSubnet3"
|
|
784
781
|
}
|
|
785
|
-
]
|
|
782
|
+
],
|
|
783
|
+
"VpcId": {
|
|
784
|
+
"Ref": "Vpc8378EB38"
|
|
785
|
+
}
|
|
786
786
|
},
|
|
787
787
|
"Metadata": {
|
|
788
788
|
"cfn_nag": {
|
|
@@ -798,15 +798,15 @@
|
|
|
798
798
|
"VpcPublicSubnet3RouteTable93458DBB": {
|
|
799
799
|
"Type": "AWS::EC2::RouteTable",
|
|
800
800
|
"Properties": {
|
|
801
|
-
"VpcId": {
|
|
802
|
-
"Ref": "Vpc8378EB38"
|
|
803
|
-
},
|
|
804
801
|
"Tags": [
|
|
805
802
|
{
|
|
806
803
|
"Key": "Name",
|
|
807
804
|
"Value": "new-resources/Vpc/PublicSubnet3"
|
|
808
805
|
}
|
|
809
|
-
]
|
|
806
|
+
],
|
|
807
|
+
"VpcId": {
|
|
808
|
+
"Ref": "Vpc8378EB38"
|
|
809
|
+
}
|
|
810
810
|
}
|
|
811
811
|
},
|
|
812
812
|
"VpcPublicSubnet3RouteTableAssociation1F1EDF02": {
|
|
@@ -823,12 +823,12 @@
|
|
|
823
823
|
"VpcPublicSubnet3DefaultRoute4697774F": {
|
|
824
824
|
"Type": "AWS::EC2::Route",
|
|
825
825
|
"Properties": {
|
|
826
|
-
"RouteTableId": {
|
|
827
|
-
"Ref": "VpcPublicSubnet3RouteTable93458DBB"
|
|
828
|
-
},
|
|
829
826
|
"DestinationCidrBlock": "0.0.0.0/0",
|
|
830
827
|
"GatewayId": {
|
|
831
828
|
"Ref": "VpcIGWD7BA715C"
|
|
829
|
+
},
|
|
830
|
+
"RouteTableId": {
|
|
831
|
+
"Ref": "VpcPublicSubnet3RouteTable93458DBB"
|
|
832
832
|
}
|
|
833
833
|
},
|
|
834
834
|
"DependsOn": [
|
|
@@ -850,15 +850,15 @@
|
|
|
850
850
|
"VpcPublicSubnet3NATGateway7640CD1D": {
|
|
851
851
|
"Type": "AWS::EC2::NatGateway",
|
|
852
852
|
"Properties": {
|
|
853
|
-
"SubnetId": {
|
|
854
|
-
"Ref": "VpcPublicSubnet3SubnetBE12F0B6"
|
|
855
|
-
},
|
|
856
853
|
"AllocationId": {
|
|
857
854
|
"Fn::GetAtt": [
|
|
858
855
|
"VpcPublicSubnet3EIP3A666A23",
|
|
859
856
|
"AllocationId"
|
|
860
857
|
]
|
|
861
858
|
},
|
|
859
|
+
"SubnetId": {
|
|
860
|
+
"Ref": "VpcPublicSubnet3SubnetBE12F0B6"
|
|
861
|
+
},
|
|
862
862
|
"Tags": [
|
|
863
863
|
{
|
|
864
864
|
"Key": "Name",
|
|
@@ -874,9 +874,6 @@
|
|
|
874
874
|
"VpcPrivateSubnet1Subnet536B997A": {
|
|
875
875
|
"Type": "AWS::EC2::Subnet",
|
|
876
876
|
"Properties": {
|
|
877
|
-
"VpcId": {
|
|
878
|
-
"Ref": "Vpc8378EB38"
|
|
879
|
-
},
|
|
880
877
|
"AvailabilityZone": "test-region-1a",
|
|
881
878
|
"CidrBlock": "10.0.96.0/19",
|
|
882
879
|
"MapPublicIpOnLaunch": false,
|
|
@@ -893,21 +890,24 @@
|
|
|
893
890
|
"Key": "Name",
|
|
894
891
|
"Value": "new-resources/Vpc/PrivateSubnet1"
|
|
895
892
|
}
|
|
896
|
-
]
|
|
893
|
+
],
|
|
894
|
+
"VpcId": {
|
|
895
|
+
"Ref": "Vpc8378EB38"
|
|
896
|
+
}
|
|
897
897
|
}
|
|
898
898
|
},
|
|
899
899
|
"VpcPrivateSubnet1RouteTableB2C5B500": {
|
|
900
900
|
"Type": "AWS::EC2::RouteTable",
|
|
901
901
|
"Properties": {
|
|
902
|
-
"VpcId": {
|
|
903
|
-
"Ref": "Vpc8378EB38"
|
|
904
|
-
},
|
|
905
902
|
"Tags": [
|
|
906
903
|
{
|
|
907
904
|
"Key": "Name",
|
|
908
905
|
"Value": "new-resources/Vpc/PrivateSubnet1"
|
|
909
906
|
}
|
|
910
|
-
]
|
|
907
|
+
],
|
|
908
|
+
"VpcId": {
|
|
909
|
+
"Ref": "Vpc8378EB38"
|
|
910
|
+
}
|
|
911
911
|
}
|
|
912
912
|
},
|
|
913
913
|
"VpcPrivateSubnet1RouteTableAssociation70C59FA6": {
|
|
@@ -924,21 +924,18 @@
|
|
|
924
924
|
"VpcPrivateSubnet1DefaultRouteBE02A9ED": {
|
|
925
925
|
"Type": "AWS::EC2::Route",
|
|
926
926
|
"Properties": {
|
|
927
|
-
"RouteTableId": {
|
|
928
|
-
"Ref": "VpcPrivateSubnet1RouteTableB2C5B500"
|
|
929
|
-
},
|
|
930
927
|
"DestinationCidrBlock": "0.0.0.0/0",
|
|
931
928
|
"NatGatewayId": {
|
|
932
929
|
"Ref": "VpcPublicSubnet1NATGateway4D7517AA"
|
|
930
|
+
},
|
|
931
|
+
"RouteTableId": {
|
|
932
|
+
"Ref": "VpcPrivateSubnet1RouteTableB2C5B500"
|
|
933
933
|
}
|
|
934
934
|
}
|
|
935
935
|
},
|
|
936
936
|
"VpcPrivateSubnet2Subnet3788AAA1": {
|
|
937
937
|
"Type": "AWS::EC2::Subnet",
|
|
938
938
|
"Properties": {
|
|
939
|
-
"VpcId": {
|
|
940
|
-
"Ref": "Vpc8378EB38"
|
|
941
|
-
},
|
|
942
939
|
"AvailabilityZone": "test-region-1b",
|
|
943
940
|
"CidrBlock": "10.0.128.0/19",
|
|
944
941
|
"MapPublicIpOnLaunch": false,
|
|
@@ -955,21 +952,24 @@
|
|
|
955
952
|
"Key": "Name",
|
|
956
953
|
"Value": "new-resources/Vpc/PrivateSubnet2"
|
|
957
954
|
}
|
|
958
|
-
]
|
|
955
|
+
],
|
|
956
|
+
"VpcId": {
|
|
957
|
+
"Ref": "Vpc8378EB38"
|
|
958
|
+
}
|
|
959
959
|
}
|
|
960
960
|
},
|
|
961
961
|
"VpcPrivateSubnet2RouteTableA678073B": {
|
|
962
962
|
"Type": "AWS::EC2::RouteTable",
|
|
963
963
|
"Properties": {
|
|
964
|
-
"VpcId": {
|
|
965
|
-
"Ref": "Vpc8378EB38"
|
|
966
|
-
},
|
|
967
964
|
"Tags": [
|
|
968
965
|
{
|
|
969
966
|
"Key": "Name",
|
|
970
967
|
"Value": "new-resources/Vpc/PrivateSubnet2"
|
|
971
968
|
}
|
|
972
|
-
]
|
|
969
|
+
],
|
|
970
|
+
"VpcId": {
|
|
971
|
+
"Ref": "Vpc8378EB38"
|
|
972
|
+
}
|
|
973
973
|
}
|
|
974
974
|
},
|
|
975
975
|
"VpcPrivateSubnet2RouteTableAssociationA89CAD56": {
|
|
@@ -986,21 +986,18 @@
|
|
|
986
986
|
"VpcPrivateSubnet2DefaultRoute060D2087": {
|
|
987
987
|
"Type": "AWS::EC2::Route",
|
|
988
988
|
"Properties": {
|
|
989
|
-
"RouteTableId": {
|
|
990
|
-
"Ref": "VpcPrivateSubnet2RouteTableA678073B"
|
|
991
|
-
},
|
|
992
989
|
"DestinationCidrBlock": "0.0.0.0/0",
|
|
993
990
|
"NatGatewayId": {
|
|
994
991
|
"Ref": "VpcPublicSubnet2NATGateway9182C01D"
|
|
992
|
+
},
|
|
993
|
+
"RouteTableId": {
|
|
994
|
+
"Ref": "VpcPrivateSubnet2RouteTableA678073B"
|
|
995
995
|
}
|
|
996
996
|
}
|
|
997
997
|
},
|
|
998
998
|
"VpcPrivateSubnet3SubnetF258B56E": {
|
|
999
999
|
"Type": "AWS::EC2::Subnet",
|
|
1000
1000
|
"Properties": {
|
|
1001
|
-
"VpcId": {
|
|
1002
|
-
"Ref": "Vpc8378EB38"
|
|
1003
|
-
},
|
|
1004
1001
|
"AvailabilityZone": "test-region-1c",
|
|
1005
1002
|
"CidrBlock": "10.0.160.0/19",
|
|
1006
1003
|
"MapPublicIpOnLaunch": false,
|
|
@@ -1017,21 +1014,24 @@
|
|
|
1017
1014
|
"Key": "Name",
|
|
1018
1015
|
"Value": "new-resources/Vpc/PrivateSubnet3"
|
|
1019
1016
|
}
|
|
1020
|
-
]
|
|
1017
|
+
],
|
|
1018
|
+
"VpcId": {
|
|
1019
|
+
"Ref": "Vpc8378EB38"
|
|
1020
|
+
}
|
|
1021
1021
|
}
|
|
1022
1022
|
},
|
|
1023
1023
|
"VpcPrivateSubnet3RouteTableD98824C7": {
|
|
1024
1024
|
"Type": "AWS::EC2::RouteTable",
|
|
1025
1025
|
"Properties": {
|
|
1026
|
-
"VpcId": {
|
|
1027
|
-
"Ref": "Vpc8378EB38"
|
|
1028
|
-
},
|
|
1029
1026
|
"Tags": [
|
|
1030
1027
|
{
|
|
1031
1028
|
"Key": "Name",
|
|
1032
1029
|
"Value": "new-resources/Vpc/PrivateSubnet3"
|
|
1033
1030
|
}
|
|
1034
|
-
]
|
|
1031
|
+
],
|
|
1032
|
+
"VpcId": {
|
|
1033
|
+
"Ref": "Vpc8378EB38"
|
|
1034
|
+
}
|
|
1035
1035
|
}
|
|
1036
1036
|
},
|
|
1037
1037
|
"VpcPrivateSubnet3RouteTableAssociation16BDDC43": {
|
|
@@ -1048,12 +1048,12 @@
|
|
|
1048
1048
|
"VpcPrivateSubnet3DefaultRoute94B74F0D": {
|
|
1049
1049
|
"Type": "AWS::EC2::Route",
|
|
1050
1050
|
"Properties": {
|
|
1051
|
-
"RouteTableId": {
|
|
1052
|
-
"Ref": "VpcPrivateSubnet3RouteTableD98824C7"
|
|
1053
|
-
},
|
|
1054
1051
|
"DestinationCidrBlock": "0.0.0.0/0",
|
|
1055
1052
|
"NatGatewayId": {
|
|
1056
1053
|
"Ref": "VpcPublicSubnet3NATGateway7640CD1D"
|
|
1054
|
+
},
|
|
1055
|
+
"RouteTableId": {
|
|
1056
|
+
"Ref": "VpcPrivateSubnet3RouteTableD98824C7"
|
|
1057
1057
|
}
|
|
1058
1058
|
}
|
|
1059
1059
|
},
|
|
@@ -1071,11 +1071,11 @@
|
|
|
1071
1071
|
"VpcVPCGWBF912B6E": {
|
|
1072
1072
|
"Type": "AWS::EC2::VPCGatewayAttachment",
|
|
1073
1073
|
"Properties": {
|
|
1074
|
-
"VpcId": {
|
|
1075
|
-
"Ref": "Vpc8378EB38"
|
|
1076
|
-
},
|
|
1077
1074
|
"InternetGatewayId": {
|
|
1078
1075
|
"Ref": "VpcIGWD7BA715C"
|
|
1076
|
+
},
|
|
1077
|
+
"VpcId": {
|
|
1078
|
+
"Ref": "Vpc8378EB38"
|
|
1079
1079
|
}
|
|
1080
1080
|
}
|
|
1081
1081
|
},
|
|
@@ -1097,7 +1097,7 @@
|
|
|
1097
1097
|
"Tags": [
|
|
1098
1098
|
{
|
|
1099
1099
|
"Key": "Name",
|
|
1100
|
-
"Value": "new-resources/Vpc"
|
|
1100
|
+
"Value": "new-resources/Vpc/FlowLog"
|
|
1101
1101
|
}
|
|
1102
1102
|
]
|
|
1103
1103
|
}
|
|
@@ -1149,7 +1149,7 @@
|
|
|
1149
1149
|
"Tags": [
|
|
1150
1150
|
{
|
|
1151
1151
|
"Key": "Name",
|
|
1152
|
-
"Value": "new-resources/Vpc"
|
|
1152
|
+
"Value": "new-resources/Vpc/FlowLog"
|
|
1153
1153
|
}
|
|
1154
1154
|
]
|
|
1155
1155
|
},
|
|
@@ -1169,10 +1169,6 @@
|
|
|
1169
1169
|
"VpcFlowLog8FF33A73": {
|
|
1170
1170
|
"Type": "AWS::EC2::FlowLog",
|
|
1171
1171
|
"Properties": {
|
|
1172
|
-
"ResourceId": {
|
|
1173
|
-
"Ref": "Vpc8378EB38"
|
|
1174
|
-
},
|
|
1175
|
-
"ResourceType": "VPC",
|
|
1176
1172
|
"DeliverLogsPermissionArn": {
|
|
1177
1173
|
"Fn::GetAtt": [
|
|
1178
1174
|
"VpcFlowLogIAMRole6A475D41",
|
|
@@ -1183,10 +1179,14 @@
|
|
|
1183
1179
|
"LogGroupName": {
|
|
1184
1180
|
"Ref": "VpcFlowLogLogGroup7B5C56B9"
|
|
1185
1181
|
},
|
|
1182
|
+
"ResourceId": {
|
|
1183
|
+
"Ref": "Vpc8378EB38"
|
|
1184
|
+
},
|
|
1185
|
+
"ResourceType": "VPC",
|
|
1186
1186
|
"Tags": [
|
|
1187
1187
|
{
|
|
1188
1188
|
"Key": "Name",
|
|
1189
|
-
"Value": "new-resources/Vpc"
|
|
1189
|
+
"Value": "new-resources/Vpc/FlowLog"
|
|
1190
1190
|
}
|
|
1191
1191
|
],
|
|
1192
1192
|
"TrafficType": "ALL"
|
|
@@ -1195,10 +1195,6 @@
|
|
|
1195
1195
|
"VpcECRAPI9A3B6A2B": {
|
|
1196
1196
|
"Type": "AWS::EC2::VPCEndpoint",
|
|
1197
1197
|
"Properties": {
|
|
1198
|
-
"ServiceName": "com.amazonaws.us-east-1.ecr.api",
|
|
1199
|
-
"VpcId": {
|
|
1200
|
-
"Ref": "Vpc8378EB38"
|
|
1201
|
-
},
|
|
1202
1198
|
"PrivateDnsEnabled": true,
|
|
1203
1199
|
"SecurityGroupIds": [
|
|
1204
1200
|
{
|
|
@@ -1208,6 +1204,7 @@
|
|
|
1208
1204
|
]
|
|
1209
1205
|
}
|
|
1210
1206
|
],
|
|
1207
|
+
"ServiceName": "com.amazonaws.us-east-1.ecr.api",
|
|
1211
1208
|
"SubnetIds": [
|
|
1212
1209
|
{
|
|
1213
1210
|
"Ref": "VpcPrivateSubnet1Subnet536B997A"
|
|
@@ -1219,16 +1216,15 @@
|
|
|
1219
1216
|
"Ref": "VpcPrivateSubnet3SubnetF258B56E"
|
|
1220
1217
|
}
|
|
1221
1218
|
],
|
|
1222
|
-
"VpcEndpointType": "Interface"
|
|
1219
|
+
"VpcEndpointType": "Interface",
|
|
1220
|
+
"VpcId": {
|
|
1221
|
+
"Ref": "Vpc8378EB38"
|
|
1222
|
+
}
|
|
1223
1223
|
}
|
|
1224
1224
|
},
|
|
1225
1225
|
"VpcECRDKR604E039F": {
|
|
1226
1226
|
"Type": "AWS::EC2::VPCEndpoint",
|
|
1227
1227
|
"Properties": {
|
|
1228
|
-
"ServiceName": "com.amazonaws.us-east-1.ecr.dkr",
|
|
1229
|
-
"VpcId": {
|
|
1230
|
-
"Ref": "Vpc8378EB38"
|
|
1231
|
-
},
|
|
1232
1228
|
"PrivateDnsEnabled": true,
|
|
1233
1229
|
"SecurityGroupIds": [
|
|
1234
1230
|
{
|
|
@@ -1238,6 +1234,7 @@
|
|
|
1238
1234
|
]
|
|
1239
1235
|
}
|
|
1240
1236
|
],
|
|
1237
|
+
"ServiceName": "com.amazonaws.us-east-1.ecr.dkr",
|
|
1241
1238
|
"SubnetIds": [
|
|
1242
1239
|
{
|
|
1243
1240
|
"Ref": "VpcPrivateSubnet1Subnet536B997A"
|
|
@@ -1249,27 +1246,15 @@
|
|
|
1249
1246
|
"Ref": "VpcPrivateSubnet3SubnetF258B56E"
|
|
1250
1247
|
}
|
|
1251
1248
|
],
|
|
1252
|
-
"VpcEndpointType": "Interface"
|
|
1249
|
+
"VpcEndpointType": "Interface",
|
|
1250
|
+
"VpcId": {
|
|
1251
|
+
"Ref": "Vpc8378EB38"
|
|
1252
|
+
}
|
|
1253
1253
|
}
|
|
1254
1254
|
},
|
|
1255
1255
|
"VpcS3A5408339": {
|
|
1256
1256
|
"Type": "AWS::EC2::VPCEndpoint",
|
|
1257
1257
|
"Properties": {
|
|
1258
|
-
"ServiceName": {
|
|
1259
|
-
"Fn::Join": [
|
|
1260
|
-
"",
|
|
1261
|
-
[
|
|
1262
|
-
"com.amazonaws.",
|
|
1263
|
-
{
|
|
1264
|
-
"Ref": "AWS::Region"
|
|
1265
|
-
},
|
|
1266
|
-
".s3"
|
|
1267
|
-
]
|
|
1268
|
-
]
|
|
1269
|
-
},
|
|
1270
|
-
"VpcId": {
|
|
1271
|
-
"Ref": "Vpc8378EB38"
|
|
1272
|
-
},
|
|
1273
1258
|
"RouteTableIds": [
|
|
1274
1259
|
{
|
|
1275
1260
|
"Ref": "VpcPrivateSubnet1RouteTableB2C5B500"
|
|
@@ -1290,7 +1275,22 @@
|
|
|
1290
1275
|
"Ref": "VpcPublicSubnet3RouteTable93458DBB"
|
|
1291
1276
|
}
|
|
1292
1277
|
],
|
|
1293
|
-
"
|
|
1278
|
+
"ServiceName": {
|
|
1279
|
+
"Fn::Join": [
|
|
1280
|
+
"",
|
|
1281
|
+
[
|
|
1282
|
+
"com.amazonaws.",
|
|
1283
|
+
{
|
|
1284
|
+
"Ref": "AWS::Region"
|
|
1285
|
+
},
|
|
1286
|
+
".s3"
|
|
1287
|
+
]
|
|
1288
|
+
]
|
|
1289
|
+
},
|
|
1290
|
+
"VpcEndpointType": "Gateway",
|
|
1291
|
+
"VpcId": {
|
|
1292
|
+
"Ref": "Vpc8378EB38"
|
|
1293
|
+
}
|
|
1294
1294
|
}
|
|
1295
1295
|
},
|
|
1296
1296
|
"newresourcesECRAPIsecuritygroupE52BAE3F": {
|
|
@@ -1509,6 +1509,11 @@
|
|
|
1509
1509
|
"Ref": "testconstructcluster7B6231C5"
|
|
1510
1510
|
},
|
|
1511
1511
|
"DeploymentConfiguration": {
|
|
1512
|
+
"Alarms": {
|
|
1513
|
+
"AlarmNames": [],
|
|
1514
|
+
"Enable": false,
|
|
1515
|
+
"Rollback": false
|
|
1516
|
+
},
|
|
1512
1517
|
"MaximumPercent": 150,
|
|
1513
1518
|
"MinimumHealthyPercent": 75
|
|
1514
1519
|
},
|
|
@@ -1543,7 +1548,10 @@
|
|
|
1543
1548
|
"TaskDefinition": {
|
|
1544
1549
|
"Ref": "testconstructtaskdef8BD1F9E4"
|
|
1545
1550
|
}
|
|
1546
|
-
}
|
|
1551
|
+
},
|
|
1552
|
+
"DependsOn": [
|
|
1553
|
+
"testconstructtaskdefTaskRoleC60414C4"
|
|
1554
|
+
]
|
|
1547
1555
|
}
|
|
1548
1556
|
},
|
|
1549
1557
|
"Parameters": {
|