@aws-cdk/region-info 1.136.0 → 1.137.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 CHANGED
@@ -72,7 +72,7 @@
72
72
  "kind": "class",
73
73
  "locationInModule": {
74
74
  "filename": "lib/default.ts",
75
- "line": 4
75
+ "line": 6
76
76
  },
77
77
  "methods": [
78
78
  {
@@ -83,7 +83,7 @@
83
83
  },
84
84
  "locationInModule": {
85
85
  "filename": "lib/default.ts",
86
- "line": 23
86
+ "line": 25
87
87
  },
88
88
  "name": "servicePrincipal",
89
89
  "parameters": [
@@ -91,7 +91,7 @@
91
91
  "docs": {
92
92
  "summary": "the name of the service (s3, s3.amazonaws.com, ...)."
93
93
  },
94
- "name": "service",
94
+ "name": "serviceFqn",
95
95
  "type": {
96
96
  "primitive": "string"
97
97
  }
@@ -107,7 +107,7 @@
107
107
  },
108
108
  {
109
109
  "docs": {
110
- "summary": "the URL suffix for the partition in which the region is located."
110
+ "summary": "deprecated and ignored."
111
111
  },
112
112
  "name": "urlSuffix",
113
113
  "type": {
@@ -134,7 +134,7 @@
134
134
  "immutable": true,
135
135
  "locationInModule": {
136
136
  "filename": "lib/default.ts",
137
- "line": 11
137
+ "line": 13
138
138
  },
139
139
  "name": "VPC_ENDPOINT_SERVICE_NAME_PREFIX",
140
140
  "static": true,
@@ -156,7 +156,7 @@
156
156
  "kind": "class",
157
157
  "locationInModule": {
158
158
  "filename": "lib/fact.ts",
159
- "line": 4
159
+ "line": 6
160
160
  },
161
161
  "methods": [
162
162
  {
@@ -167,7 +167,7 @@
167
167
  },
168
168
  "locationInModule": {
169
169
  "filename": "lib/fact.ts",
170
- "line": 21
170
+ "line": 23
171
171
  },
172
172
  "name": "find",
173
173
  "parameters": [
@@ -205,7 +205,7 @@
205
205
  },
206
206
  "locationInModule": {
207
207
  "filename": "lib/fact.ts",
208
- "line": 49
208
+ "line": 51
209
209
  },
210
210
  "name": "register",
211
211
  "parameters": [
@@ -239,7 +239,7 @@
239
239
  },
240
240
  "locationInModule": {
241
241
  "filename": "lib/fact.ts",
242
- "line": 33
242
+ "line": 35
243
243
  },
244
244
  "name": "requireFact",
245
245
  "parameters": [
@@ -276,7 +276,7 @@
276
276
  },
277
277
  "locationInModule": {
278
278
  "filename": "lib/fact.ts",
279
- "line": 66
279
+ "line": 68
280
280
  },
281
281
  "name": "unregister",
282
282
  "parameters": [
@@ -322,7 +322,7 @@
322
322
  "immutable": true,
323
323
  "locationInModule": {
324
324
  "filename": "lib/fact.ts",
325
- "line": 9
325
+ "line": 11
326
326
  },
327
327
  "name": "regions",
328
328
  "static": true,
@@ -354,7 +354,7 @@
354
354
  "kind": "class",
355
355
  "locationInModule": {
356
356
  "filename": "lib/fact.ts",
357
- "line": 104
357
+ "line": 106
358
358
  },
359
359
  "methods": [
360
360
  {
@@ -364,7 +364,7 @@
364
364
  },
365
365
  "locationInModule": {
366
366
  "filename": "lib/fact.ts",
367
- "line": 168
367
+ "line": 170
368
368
  },
369
369
  "name": "cloudwatchLambdaInsightsVersion",
370
370
  "parameters": [
@@ -396,7 +396,7 @@
396
396
  },
397
397
  "locationInModule": {
398
398
  "filename": "lib/fact.ts",
399
- "line": 182
399
+ "line": 184
400
400
  },
401
401
  "name": "servicePrincipal",
402
402
  "parameters": [
@@ -429,7 +429,7 @@
429
429
  "immutable": true,
430
430
  "locationInModule": {
431
431
  "filename": "lib/fact.ts",
432
- "line": 158
432
+ "line": 160
433
433
  },
434
434
  "name": "APPMESH_ECR_ACCOUNT",
435
435
  "static": true,
@@ -447,7 +447,7 @@
447
447
  "immutable": true,
448
448
  "locationInModule": {
449
449
  "filename": "lib/fact.ts",
450
- "line": 119
450
+ "line": 121
451
451
  },
452
452
  "name": "CDK_METADATA_RESOURCE_AVAILABLE",
453
453
  "static": true,
@@ -464,7 +464,7 @@
464
464
  "immutable": true,
465
465
  "locationInModule": {
466
466
  "filename": "lib/fact.ts",
467
- "line": 152
467
+ "line": 154
468
468
  },
469
469
  "name": "DLC_REPOSITORY_ACCOUNT",
470
470
  "static": true,
@@ -481,7 +481,7 @@
481
481
  "immutable": true,
482
482
  "locationInModule": {
483
483
  "filename": "lib/fact.ts",
484
- "line": 113
484
+ "line": 115
485
485
  },
486
486
  "name": "DOMAIN_SUFFIX",
487
487
  "static": true,
@@ -498,7 +498,7 @@
498
498
  "immutable": true,
499
499
  "locationInModule": {
500
500
  "filename": "lib/fact.ts",
501
- "line": 134
501
+ "line": 136
502
502
  },
503
503
  "name": "EBS_ENV_ENDPOINT_HOSTED_ZONE_ID",
504
504
  "static": true,
@@ -515,7 +515,7 @@
515
515
  "immutable": true,
516
516
  "locationInModule": {
517
517
  "filename": "lib/fact.ts",
518
- "line": 146
518
+ "line": 148
519
519
  },
520
520
  "name": "ELBV2_ACCOUNT",
521
521
  "static": true,
@@ -532,7 +532,7 @@
532
532
  "immutable": true,
533
533
  "locationInModule": {
534
534
  "filename": "lib/fact.ts",
535
- "line": 163
535
+ "line": 165
536
536
  },
537
537
  "name": "FIREHOSE_CIDR_BLOCK",
538
538
  "static": true,
@@ -549,7 +549,7 @@
549
549
  "immutable": true,
550
550
  "locationInModule": {
551
551
  "filename": "lib/fact.ts",
552
- "line": 108
552
+ "line": 110
553
553
  },
554
554
  "name": "PARTITION",
555
555
  "static": true,
@@ -566,7 +566,7 @@
566
566
  "immutable": true,
567
567
  "locationInModule": {
568
568
  "filename": "lib/fact.ts",
569
- "line": 124
569
+ "line": 126
570
570
  },
571
571
  "name": "S3_STATIC_WEBSITE_ENDPOINT",
572
572
  "static": true,
@@ -583,7 +583,7 @@
583
583
  "immutable": true,
584
584
  "locationInModule": {
585
585
  "filename": "lib/fact.ts",
586
- "line": 129
586
+ "line": 131
587
587
  },
588
588
  "name": "S3_STATIC_WEBSITE_ZONE_53_HOSTED_ZONE_ID",
589
589
  "static": true,
@@ -600,7 +600,7 @@
600
600
  "immutable": true,
601
601
  "locationInModule": {
602
602
  "filename": "lib/fact.ts",
603
- "line": 141
603
+ "line": 143
604
604
  },
605
605
  "name": "VPC_ENDPOINT_SERVICE_NAME_PREFIX",
606
606
  "static": true,
@@ -621,7 +621,7 @@
621
621
  "kind": "interface",
622
622
  "locationInModule": {
623
623
  "filename": "lib/fact.ts",
624
- "line": 84
624
+ "line": 86
625
625
  },
626
626
  "name": "IFact",
627
627
  "properties": [
@@ -635,7 +635,7 @@
635
635
  "immutable": true,
636
636
  "locationInModule": {
637
637
  "filename": "lib/fact.ts",
638
- "line": 93
638
+ "line": 95
639
639
  },
640
640
  "name": "name",
641
641
  "type": {
@@ -651,7 +651,7 @@
651
651
  "immutable": true,
652
652
  "locationInModule": {
653
653
  "filename": "lib/fact.ts",
654
- "line": 88
654
+ "line": 90
655
655
  },
656
656
  "name": "region",
657
657
  "type": {
@@ -667,7 +667,7 @@
667
667
  "immutable": true,
668
668
  "locationInModule": {
669
669
  "filename": "lib/fact.ts",
670
- "line": 98
670
+ "line": 100
671
671
  },
672
672
  "name": "value",
673
673
  "optional": true,
@@ -689,7 +689,7 @@
689
689
  "kind": "class",
690
690
  "locationInModule": {
691
691
  "filename": "lib/region-info.ts",
692
- "line": 6
692
+ "line": 7
693
693
  },
694
694
  "methods": [
695
695
  {
@@ -699,7 +699,7 @@
699
699
  },
700
700
  "locationInModule": {
701
701
  "filename": "lib/region-info.ts",
702
- "line": 39
702
+ "line": 60
703
703
  },
704
704
  "name": "get",
705
705
  "parameters": [
@@ -720,6 +720,56 @@
720
720
  },
721
721
  "static": true
722
722
  },
723
+ {
724
+ "docs": {
725
+ "returns": "a mapping with AWS region codes as the keys,\nand the fact in the given region as the value for that key",
726
+ "stability": "stable",
727
+ "summary": "Retrieves a collection of all fact values for all regions, limited to some partitions."
728
+ },
729
+ "locationInModule": {
730
+ "filename": "lib/region-info.ts",
731
+ "line": 45
732
+ },
733
+ "name": "limitedRegionMap",
734
+ "parameters": [
735
+ {
736
+ "docs": {
737
+ "remarks": "For a list of common fact names, see the FactName class",
738
+ "summary": "the name of the fact to retrieve values for."
739
+ },
740
+ "name": "factName",
741
+ "type": {
742
+ "primitive": "string"
743
+ }
744
+ },
745
+ {
746
+ "docs": {
747
+ "remarks": "Defaults\nto `['aws', 'aws-cn']`.",
748
+ "summary": "list of partitions to retrieve facts for."
749
+ },
750
+ "name": "partitions",
751
+ "type": {
752
+ "collection": {
753
+ "elementtype": {
754
+ "primitive": "string"
755
+ },
756
+ "kind": "array"
757
+ }
758
+ }
759
+ }
760
+ ],
761
+ "returns": {
762
+ "type": {
763
+ "collection": {
764
+ "elementtype": {
765
+ "primitive": "string"
766
+ },
767
+ "kind": "map"
768
+ }
769
+ }
770
+ },
771
+ "static": true
772
+ },
723
773
  {
724
774
  "docs": {
725
775
  "returns": "a mapping with AWS region codes as the keys,\nand the fact in the given region as the value for that key",
@@ -728,7 +778,7 @@
728
778
  },
729
779
  "locationInModule": {
730
780
  "filename": "lib/region-info.ts",
731
- "line": 23
781
+ "line": 24
732
782
  },
733
783
  "name": "regionMap",
734
784
  "parameters": [
@@ -762,7 +812,7 @@
762
812
  },
763
813
  "locationInModule": {
764
814
  "filename": "lib/region-info.ts",
765
- "line": 125
815
+ "line": 146
766
816
  },
767
817
  "name": "cloudwatchLambdaInsightsArn",
768
818
  "parameters": [
@@ -800,7 +850,7 @@
800
850
  },
801
851
  "locationInModule": {
802
852
  "filename": "lib/region-info.ts",
803
- "line": 100
853
+ "line": 121
804
854
  },
805
855
  "name": "servicePrincipal",
806
856
  "parameters": [
@@ -832,7 +882,7 @@
832
882
  "immutable": true,
833
883
  "locationInModule": {
834
884
  "filename": "lib/region-info.ts",
835
- "line": 11
885
+ "line": 12
836
886
  },
837
887
  "name": "regions",
838
888
  "static": true,
@@ -853,7 +903,7 @@
853
903
  "immutable": true,
854
904
  "locationInModule": {
855
905
  "filename": "lib/region-info.ts",
856
- "line": 48
906
+ "line": 69
857
907
  },
858
908
  "name": "cdkMetadataResourceAvailable",
859
909
  "type": {
@@ -867,7 +917,7 @@
867
917
  "immutable": true,
868
918
  "locationInModule": {
869
919
  "filename": "lib/region-info.ts",
870
- "line": 43
920
+ "line": 64
871
921
  },
872
922
  "name": "name",
873
923
  "type": {
@@ -882,7 +932,7 @@
882
932
  "immutable": true,
883
933
  "locationInModule": {
884
934
  "filename": "lib/region-info.ts",
885
- "line": 133
935
+ "line": 154
886
936
  },
887
937
  "name": "appMeshRepositoryAccount",
888
938
  "optional": true,
@@ -898,7 +948,7 @@
898
948
  "immutable": true,
899
949
  "locationInModule": {
900
950
  "filename": "lib/region-info.ts",
901
- "line": 116
951
+ "line": 137
902
952
  },
903
953
  "name": "dlcRepositoryAccount",
904
954
  "optional": true,
@@ -914,7 +964,7 @@
914
964
  "immutable": true,
915
965
  "locationInModule": {
916
966
  "filename": "lib/region-info.ts",
917
- "line": 55
967
+ "line": 76
918
968
  },
919
969
  "name": "domainSuffix",
920
970
  "optional": true,
@@ -930,7 +980,7 @@
930
980
  "immutable": true,
931
981
  "locationInModule": {
932
982
  "filename": "lib/region-info.ts",
933
- "line": 83
983
+ "line": 104
934
984
  },
935
985
  "name": "ebsEnvEndpointHostedZoneId",
936
986
  "optional": true,
@@ -946,7 +996,7 @@
946
996
  "immutable": true,
947
997
  "locationInModule": {
948
998
  "filename": "lib/region-info.ts",
949
- "line": 108
999
+ "line": 129
950
1000
  },
951
1001
  "name": "elbv2Account",
952
1002
  "optional": true,
@@ -962,7 +1012,7 @@
962
1012
  "immutable": true,
963
1013
  "locationInModule": {
964
1014
  "filename": "lib/region-info.ts",
965
- "line": 140
1015
+ "line": 161
966
1016
  },
967
1017
  "name": "firehoseCidrBlock",
968
1018
  "optional": true,
@@ -978,7 +1028,7 @@
978
1028
  "immutable": true,
979
1029
  "locationInModule": {
980
1030
  "filename": "lib/region-info.ts",
981
- "line": 62
1031
+ "line": 83
982
1032
  },
983
1033
  "name": "partition",
984
1034
  "optional": true,
@@ -994,7 +1044,7 @@
994
1044
  "immutable": true,
995
1045
  "locationInModule": {
996
1046
  "filename": "lib/region-info.ts",
997
- "line": 69
1047
+ "line": 90
998
1048
  },
999
1049
  "name": "s3StaticWebsiteEndpoint",
1000
1050
  "optional": true,
@@ -1010,7 +1060,7 @@
1010
1060
  "immutable": true,
1011
1061
  "locationInModule": {
1012
1062
  "filename": "lib/region-info.ts",
1013
- "line": 76
1063
+ "line": 97
1014
1064
  },
1015
1065
  "name": "s3StaticWebsiteHostedZoneId",
1016
1066
  "optional": true,
@@ -1026,7 +1076,7 @@
1026
1076
  "immutable": true,
1027
1077
  "locationInModule": {
1028
1078
  "filename": "lib/region-info.ts",
1029
- "line": 92
1079
+ "line": 113
1030
1080
  },
1031
1081
  "name": "vpcEndpointServiceNamePrefix",
1032
1082
  "optional": true,
@@ -1038,6 +1088,6 @@
1038
1088
  "symbolId": "lib/region-info:RegionInfo"
1039
1089
  }
1040
1090
  },
1041
- "version": "1.136.0",
1091
+ "version": "1.137.0",
1042
1092
  "fingerprint": "**********"
1043
1093
  }
package/.jsii.tabl.json CHANGED
@@ -53,7 +53,7 @@
53
53
  "258": 1,
54
54
  "290": 1
55
55
  },
56
- "fqnsFingerprint": "5c194d6d478422dea865c4567106f6bf1581826e044eac351bba63495c69013d"
56
+ "fqnsFingerprint": "97ec6b3ee5dcd55ca63753f03b0a23616036e346c91ff93309e28737431af21d"
57
57
  },
58
58
  "43074915e3fbb4af099979815e42bf34c93fce972721f3e0df2665eb1a59754c": {
59
59
  "translations": {
@@ -351,7 +351,7 @@
351
351
  "258": 1,
352
352
  "290": 1
353
353
  },
354
- "fqnsFingerprint": "5c194d6d478422dea865c4567106f6bf1581826e044eac351bba63495c69013d"
354
+ "fqnsFingerprint": "97ec6b3ee5dcd55ca63753f03b0a23616036e346c91ff93309e28737431af21d"
355
355
  }
356
356
  }
357
357
  }
@@ -1,4 +1,3 @@
1
- export declare const AWS_OLDER_REGIONS: Set<string>;
2
1
  export declare const AWS_CDK_METADATA: Set<string>;
3
2
  /**
4
3
  * The hosted zone Id if using an alias record in Route53.