@aws-cdk/region-info 2.0.0-rc.8 → 2.2.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
@@ -12,7 +12,7 @@
12
12
  "stability": "stable"
13
13
  },
14
14
  "homepage": "https://github.com/aws/aws-cdk",
15
- "jsiiVersion": "1.30.0 (build adae23f)",
15
+ "jsiiVersion": "1.47.0 (build 86d2c33)",
16
16
  "keywords": [
17
17
  "aws",
18
18
  "cdk"
@@ -20,6 +20,7 @@
20
20
  "license": "Apache-2.0",
21
21
  "metadata": {
22
22
  "jsii": {
23
+ "compiledWithDeprecationWarnings": true,
23
24
  "pacmak": {
24
25
  "hasDefaultInterfaces": true
25
26
  }
@@ -141,11 +142,13 @@
141
142
  "primitive": "string"
142
143
  }
143
144
  }
144
- ]
145
+ ],
146
+ "symbolId": "lib/default:Default"
145
147
  },
146
148
  "@aws-cdk/region-info.Fact": {
147
149
  "assembly": "@aws-cdk/region-info",
148
150
  "docs": {
151
+ "example": "import * as regionInfo from '@aws-cdk/region-info';\n\nconst codeDeployPrincipal = regionInfo.Fact.find('us-east-1', regionInfo.FactName.servicePrincipal('codedeploy.amazonaws.com'));\n// => codedeploy.us-east-1.amazonaws.com\n\nconst staticWebsite = regionInfo.Fact.find('ap-northeast-1', regionInfo.FactName.S3_STATIC_WEBSITE_ENDPOINT);\n// => s3-website-ap-northeast-1.amazonaws.com",
149
152
  "stability": "stable",
150
153
  "summary": "A database of regional information."
151
154
  },
@@ -332,11 +335,13 @@
332
335
  }
333
336
  }
334
337
  }
335
- ]
338
+ ],
339
+ "symbolId": "lib/fact:Fact"
336
340
  },
337
341
  "@aws-cdk/region-info.FactName": {
338
342
  "assembly": "@aws-cdk/region-info",
339
343
  "docs": {
344
+ "example": "import * as regionInfo from '@aws-cdk/region-info';\n\nconst codeDeployPrincipal = regionInfo.Fact.find('us-east-1', regionInfo.FactName.servicePrincipal('codedeploy.amazonaws.com'));\n// => codedeploy.us-east-1.amazonaws.com\n\nconst staticWebsite = regionInfo.Fact.find('ap-northeast-1', regionInfo.FactName.S3_STATIC_WEBSITE_ENDPOINT);\n// => s3-website-ap-northeast-1.amazonaws.com",
340
345
  "stability": "stable",
341
346
  "summary": "All standardized fact names."
342
347
  },
@@ -352,6 +357,38 @@
352
357
  "line": 104
353
358
  },
354
359
  "methods": [
360
+ {
361
+ "docs": {
362
+ "stability": "stable",
363
+ "summary": "The ARN of CloudWatch Lambda Insights for a version (e.g. 1.0.98.0)."
364
+ },
365
+ "locationInModule": {
366
+ "filename": "lib/fact.ts",
367
+ "line": 168
368
+ },
369
+ "name": "cloudwatchLambdaInsightsVersion",
370
+ "parameters": [
371
+ {
372
+ "name": "version",
373
+ "type": {
374
+ "primitive": "string"
375
+ }
376
+ },
377
+ {
378
+ "name": "arch",
379
+ "optional": true,
380
+ "type": {
381
+ "primitive": "string"
382
+ }
383
+ }
384
+ ],
385
+ "returns": {
386
+ "type": {
387
+ "primitive": "string"
388
+ }
389
+ },
390
+ "static": true
391
+ },
355
392
  {
356
393
  "docs": {
357
394
  "stability": "stable",
@@ -359,7 +396,7 @@
359
396
  },
360
397
  "locationInModule": {
361
398
  "filename": "lib/fact.ts",
362
- "line": 162
399
+ "line": 182
363
400
  },
364
401
  "name": "servicePrincipal",
365
402
  "parameters": [
@@ -392,7 +429,7 @@
392
429
  "immutable": true,
393
430
  "locationInModule": {
394
431
  "filename": "lib/fact.ts",
395
- "line": 153
432
+ "line": 158
396
433
  },
397
434
  "name": "APPMESH_ECR_ACCOUNT",
398
435
  "static": true,
@@ -427,7 +464,7 @@
427
464
  "immutable": true,
428
465
  "locationInModule": {
429
466
  "filename": "lib/fact.ts",
430
- "line": 147
467
+ "line": 152
431
468
  },
432
469
  "name": "DLC_REPOSITORY_ACCOUNT",
433
470
  "static": true,
@@ -452,6 +489,23 @@
452
489
  "primitive": "string"
453
490
  }
454
491
  },
492
+ {
493
+ "const": true,
494
+ "docs": {
495
+ "stability": "stable",
496
+ "summary": "The hosted zone ID used by Route 53 to alias a EBS environment endpoint in this region (e.g: Z2O1EMRO9K5GLX)."
497
+ },
498
+ "immutable": true,
499
+ "locationInModule": {
500
+ "filename": "lib/fact.ts",
501
+ "line": 134
502
+ },
503
+ "name": "EBS_ENV_ENDPOINT_HOSTED_ZONE_ID",
504
+ "static": true,
505
+ "type": {
506
+ "primitive": "string"
507
+ }
508
+ },
455
509
  {
456
510
  "const": true,
457
511
  "docs": {
@@ -461,7 +515,7 @@
461
515
  "immutable": true,
462
516
  "locationInModule": {
463
517
  "filename": "lib/fact.ts",
464
- "line": 141
518
+ "line": 146
465
519
  },
466
520
  "name": "ELBV2_ACCOUNT",
467
521
  "static": true,
@@ -469,6 +523,23 @@
469
523
  "primitive": "string"
470
524
  }
471
525
  },
526
+ {
527
+ "const": true,
528
+ "docs": {
529
+ "stability": "stable",
530
+ "summary": "The CIDR block used by Kinesis Data Firehose servers."
531
+ },
532
+ "immutable": true,
533
+ "locationInModule": {
534
+ "filename": "lib/fact.ts",
535
+ "line": 163
536
+ },
537
+ "name": "FIREHOSE_CIDR_BLOCK",
538
+ "static": true,
539
+ "type": {
540
+ "primitive": "string"
541
+ }
542
+ },
472
543
  {
473
544
  "const": true,
474
545
  "docs": {
@@ -529,7 +600,7 @@
529
600
  "immutable": true,
530
601
  "locationInModule": {
531
602
  "filename": "lib/fact.ts",
532
- "line": 136
603
+ "line": 141
533
604
  },
534
605
  "name": "VPC_ENDPOINT_SERVICE_NAME_PREFIX",
535
606
  "static": true,
@@ -537,7 +608,8 @@
537
608
  "primitive": "string"
538
609
  }
539
610
  }
540
- ]
611
+ ],
612
+ "symbolId": "lib/fact:FactName"
541
613
  },
542
614
  "@aws-cdk/region-info.IFact": {
543
615
  "assembly": "@aws-cdk/region-info",
@@ -603,11 +675,13 @@
603
675
  "primitive": "string"
604
676
  }
605
677
  }
606
- ]
678
+ ],
679
+ "symbolId": "lib/fact:IFact"
607
680
  },
608
681
  "@aws-cdk/region-info.RegionInfo": {
609
682
  "assembly": "@aws-cdk/region-info",
610
683
  "docs": {
684
+ "example": "import { RegionInfo } from '@aws-cdk/region-info';\n\n// Get the information for \"eu-west-1\":\nconst region = RegionInfo.get('eu-west-1');\n\n// Access attributes:\nregion.s3StaticWebsiteEndpoint; // s3-website-eu-west-1.amazonaws.com\nregion.servicePrincipal('logs.amazonaws.com'); // logs.eu-west-1.amazonaws.com",
611
685
  "stability": "stable",
612
686
  "summary": "Information pertaining to an AWS region."
613
687
  },
@@ -681,6 +755,44 @@
681
755
  },
682
756
  "static": true
683
757
  },
758
+ {
759
+ "docs": {
760
+ "stability": "stable",
761
+ "summary": "The ARN of the CloudWatch Lambda Insights extension, for the given version."
762
+ },
763
+ "locationInModule": {
764
+ "filename": "lib/region-info.ts",
765
+ "line": 125
766
+ },
767
+ "name": "cloudwatchLambdaInsightsArn",
768
+ "parameters": [
769
+ {
770
+ "docs": {
771
+ "summary": "the version (e.g. 1.0.98.0)."
772
+ },
773
+ "name": "insightsVersion",
774
+ "type": {
775
+ "primitive": "string"
776
+ }
777
+ },
778
+ {
779
+ "docs": {
780
+ "summary": "the Lambda Function architecture (e.g. 'x86_64' or 'arm64')."
781
+ },
782
+ "name": "architecture",
783
+ "optional": true,
784
+ "type": {
785
+ "primitive": "string"
786
+ }
787
+ }
788
+ ],
789
+ "returns": {
790
+ "optional": true,
791
+ "type": {
792
+ "primitive": "string"
793
+ }
794
+ }
795
+ },
684
796
  {
685
797
  "docs": {
686
798
  "stability": "stable",
@@ -688,7 +800,7 @@
688
800
  },
689
801
  "locationInModule": {
690
802
  "filename": "lib/region-info.ts",
691
- "line": 93
803
+ "line": 100
692
804
  },
693
805
  "name": "servicePrincipal",
694
806
  "parameters": [
@@ -770,7 +882,7 @@
770
882
  "immutable": true,
771
883
  "locationInModule": {
772
884
  "filename": "lib/region-info.ts",
773
- "line": 117
885
+ "line": 133
774
886
  },
775
887
  "name": "appMeshRepositoryAccount",
776
888
  "optional": true,
@@ -786,7 +898,7 @@
786
898
  "immutable": true,
787
899
  "locationInModule": {
788
900
  "filename": "lib/region-info.ts",
789
- "line": 109
901
+ "line": 116
790
902
  },
791
903
  "name": "dlcRepositoryAccount",
792
904
  "optional": true,
@@ -810,6 +922,22 @@
810
922
  "primitive": "string"
811
923
  }
812
924
  },
925
+ {
926
+ "docs": {
927
+ "stability": "stable",
928
+ "summary": "The hosted zone ID used by Route 53 to alias a EBS environment endpoint in this region (e.g: Z2O1EMRO9K5GLX)."
929
+ },
930
+ "immutable": true,
931
+ "locationInModule": {
932
+ "filename": "lib/region-info.ts",
933
+ "line": 83
934
+ },
935
+ "name": "ebsEnvEndpointHostedZoneId",
936
+ "optional": true,
937
+ "type": {
938
+ "primitive": "string"
939
+ }
940
+ },
813
941
  {
814
942
  "docs": {
815
943
  "stability": "stable",
@@ -818,7 +946,7 @@
818
946
  "immutable": true,
819
947
  "locationInModule": {
820
948
  "filename": "lib/region-info.ts",
821
- "line": 101
949
+ "line": 108
822
950
  },
823
951
  "name": "elbv2Account",
824
952
  "optional": true,
@@ -826,6 +954,22 @@
826
954
  "primitive": "string"
827
955
  }
828
956
  },
957
+ {
958
+ "docs": {
959
+ "stability": "stable",
960
+ "summary": "The CIDR block used by Kinesis Data Firehose servers."
961
+ },
962
+ "immutable": true,
963
+ "locationInModule": {
964
+ "filename": "lib/region-info.ts",
965
+ "line": 140
966
+ },
967
+ "name": "firehoseCidrBlock",
968
+ "optional": true,
969
+ "type": {
970
+ "primitive": "string"
971
+ }
972
+ },
829
973
  {
830
974
  "docs": {
831
975
  "stability": "stable",
@@ -882,7 +1026,7 @@
882
1026
  "immutable": true,
883
1027
  "locationInModule": {
884
1028
  "filename": "lib/region-info.ts",
885
- "line": 85
1029
+ "line": 92
886
1030
  },
887
1031
  "name": "vpcEndpointServiceNamePrefix",
888
1032
  "optional": true,
@@ -890,9 +1034,10 @@
890
1034
  "primitive": "string"
891
1035
  }
892
1036
  }
893
- ]
1037
+ ],
1038
+ "symbolId": "lib/region-info:RegionInfo"
894
1039
  }
895
1040
  },
896
- "version": "2.0.0-rc.8",
897
- "fingerprint": "CE++rLr1e7g/wa0PkkW5QSrRNG9R3zZk+WEMZlASNcg="
1041
+ "version": "2.2.0",
1042
+ "fingerprint": "**********"
898
1043
  }