@btc-embedded/cdk-extensions 0.19.0 → 0.20.1
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 +477 -16
- package/API.md +544 -8
- package/CHANGELOG.md +30 -0
- package/lib/constructs/EventPipe.js +1 -1
- package/lib/constructs/S3Bucket.js +1 -1
- package/lib/constructs/SecureRestApi.js +1 -1
- package/lib/constructs/SecureRestApiV2.js +1 -1
- package/lib/extensions/ApiGatewayExtension.js +1 -1
- package/lib/extensions/ApplicationLoadBalancerExtension.js +1 -1
- package/lib/extensions/ApplicationLoadBalancerExtensionV2.js +1 -1
- package/lib/extensions/CloudMapExtension.js +1 -1
- package/lib/extensions/DeactivatableServiceExtension.js +1 -1
- package/lib/extensions/DocumentDbAccessExtension.js +1 -1
- package/lib/extensions/DomainEventMessagingExtension.js +1 -1
- package/lib/extensions/EfsMountExtension.js +1 -1
- package/lib/extensions/ExtraContainerExtension.js +1 -1
- package/lib/extensions/HTTPApiExtension.js +1 -1
- package/lib/extensions/LogExtension.js +1 -1
- package/lib/extensions/ModifyContainerDefinitionExtension.js +1 -1
- package/lib/extensions/ModifyTaskDefinitionExtension.js +1 -1
- package/lib/extensions/OpenIdExtension.js +1 -1
- package/lib/extensions/OpenTelemetryExtension.js +1 -1
- package/lib/extensions/PostgresDbAccessExtension.js +1 -1
- package/lib/extensions/SharedVolumeExtension.js +1 -1
- package/lib/extensions/TcpKeepAliveExtension.js +1 -1
- package/lib/platform/ApiGateway.js +1 -1
- package/lib/platform/ApiGatewayVpcLink.js +2 -2
- package/lib/platform/ApplicationLoadBalancer.js +1 -1
- package/lib/platform/ApplicationLoadBalancerV2.js +2 -2
- package/lib/platform/BTCLogGroup.js +1 -1
- package/lib/platform/CognitoUserPool.js +2 -2
- package/lib/platform/DefaultUserPoolClients.js +1 -1
- package/lib/platform/DocumentDB.js +2 -2
- package/lib/platform/EcsCluster.d.ts +37 -0
- package/lib/platform/EcsCluster.js +87 -0
- package/lib/platform/EfsFileSystem.js +1 -1
- package/lib/platform/PrivateDnsNamespace.js +1 -1
- package/lib/platform/ResourceServer.js +1 -1
- package/lib/platform/Vpc.d.ts +4 -1
- package/lib/platform/Vpc.js +5 -2
- package/lib/platform/VpcV2.d.ts +34 -0
- package/lib/platform/VpcV2.js +59 -0
- package/lib/platform/index.d.ts +2 -0
- package/lib/platform/index.js +3 -1
- package/lib/utils/StackParameter.js +1 -1
- package/package.json +1 -1
package/.jsii
CHANGED
|
@@ -7856,6 +7856,211 @@
|
|
|
7856
7856
|
],
|
|
7857
7857
|
"symbolId": "src/extensions/DomainEventMessagingExtension:DomainEventMessagingExtension"
|
|
7858
7858
|
},
|
|
7859
|
+
"@btc-embedded/cdk-extensions.EcsCluster": {
|
|
7860
|
+
"assembly": "@btc-embedded/cdk-extensions",
|
|
7861
|
+
"base": "constructs.Construct",
|
|
7862
|
+
"docs": {
|
|
7863
|
+
"remarks": "This construct provides a standardized way to create ECS clusters with support for:\n- KMS encryption for ECS Exec command sessions\n- Fargate Spot capacity providers\n- Configurable capacity provider strategies with base and weight values\n\nThe cluster exports its name and VPC ID as stack parameters, allowing other stacks\nto import and reference the cluster using the `fromBasePlatform` static method.",
|
|
7864
|
+
"stability": "experimental",
|
|
7865
|
+
"summary": "A CDK construct that creates and configures an Amazon ECS cluster with optional features."
|
|
7866
|
+
},
|
|
7867
|
+
"fqn": "@btc-embedded/cdk-extensions.EcsCluster",
|
|
7868
|
+
"initializer": {
|
|
7869
|
+
"docs": {
|
|
7870
|
+
"stability": "experimental"
|
|
7871
|
+
},
|
|
7872
|
+
"locationInModule": {
|
|
7873
|
+
"filename": "src/platform/EcsCluster.ts",
|
|
7874
|
+
"line": 68
|
|
7875
|
+
},
|
|
7876
|
+
"parameters": [
|
|
7877
|
+
{
|
|
7878
|
+
"name": "scope",
|
|
7879
|
+
"type": {
|
|
7880
|
+
"fqn": "constructs.Construct"
|
|
7881
|
+
}
|
|
7882
|
+
},
|
|
7883
|
+
{
|
|
7884
|
+
"name": "id",
|
|
7885
|
+
"type": {
|
|
7886
|
+
"primitive": "string"
|
|
7887
|
+
}
|
|
7888
|
+
},
|
|
7889
|
+
{
|
|
7890
|
+
"name": "props",
|
|
7891
|
+
"type": {
|
|
7892
|
+
"fqn": "@btc-embedded/cdk-extensions.EcsClusterProps"
|
|
7893
|
+
}
|
|
7894
|
+
}
|
|
7895
|
+
]
|
|
7896
|
+
},
|
|
7897
|
+
"interfaces": [
|
|
7898
|
+
"@btc-embedded/cdk-extensions.IEcsCluster"
|
|
7899
|
+
],
|
|
7900
|
+
"kind": "class",
|
|
7901
|
+
"locationInModule": {
|
|
7902
|
+
"filename": "src/platform/EcsCluster.ts",
|
|
7903
|
+
"line": 35
|
|
7904
|
+
},
|
|
7905
|
+
"methods": [
|
|
7906
|
+
{
|
|
7907
|
+
"docs": {
|
|
7908
|
+
"stability": "experimental"
|
|
7909
|
+
},
|
|
7910
|
+
"locationInModule": {
|
|
7911
|
+
"filename": "src/platform/EcsCluster.ts",
|
|
7912
|
+
"line": 36
|
|
7913
|
+
},
|
|
7914
|
+
"name": "fromBasePlatform",
|
|
7915
|
+
"parameters": [
|
|
7916
|
+
{
|
|
7917
|
+
"name": "scope",
|
|
7918
|
+
"type": {
|
|
7919
|
+
"fqn": "constructs.Construct"
|
|
7920
|
+
}
|
|
7921
|
+
},
|
|
7922
|
+
{
|
|
7923
|
+
"name": "id",
|
|
7924
|
+
"type": {
|
|
7925
|
+
"primitive": "string"
|
|
7926
|
+
}
|
|
7927
|
+
},
|
|
7928
|
+
{
|
|
7929
|
+
"name": "stackName",
|
|
7930
|
+
"type": {
|
|
7931
|
+
"primitive": "string"
|
|
7932
|
+
}
|
|
7933
|
+
}
|
|
7934
|
+
],
|
|
7935
|
+
"returns": {
|
|
7936
|
+
"type": {
|
|
7937
|
+
"fqn": "@btc-embedded/cdk-extensions.IEcsCluster"
|
|
7938
|
+
}
|
|
7939
|
+
},
|
|
7940
|
+
"static": true
|
|
7941
|
+
}
|
|
7942
|
+
],
|
|
7943
|
+
"name": "EcsCluster",
|
|
7944
|
+
"properties": [
|
|
7945
|
+
{
|
|
7946
|
+
"docs": {
|
|
7947
|
+
"stability": "experimental"
|
|
7948
|
+
},
|
|
7949
|
+
"immutable": true,
|
|
7950
|
+
"locationInModule": {
|
|
7951
|
+
"filename": "src/platform/EcsCluster.ts",
|
|
7952
|
+
"line": 66
|
|
7953
|
+
},
|
|
7954
|
+
"name": "cluster",
|
|
7955
|
+
"overrides": "@btc-embedded/cdk-extensions.IEcsCluster",
|
|
7956
|
+
"type": {
|
|
7957
|
+
"fqn": "aws-cdk-lib.aws_ecs.ICluster"
|
|
7958
|
+
}
|
|
7959
|
+
}
|
|
7960
|
+
],
|
|
7961
|
+
"symbolId": "src/platform/EcsCluster:EcsCluster"
|
|
7962
|
+
},
|
|
7963
|
+
"@btc-embedded/cdk-extensions.EcsClusterProps": {
|
|
7964
|
+
"assembly": "@btc-embedded/cdk-extensions",
|
|
7965
|
+
"datatype": true,
|
|
7966
|
+
"docs": {
|
|
7967
|
+
"stability": "experimental"
|
|
7968
|
+
},
|
|
7969
|
+
"fqn": "@btc-embedded/cdk-extensions.EcsClusterProps",
|
|
7970
|
+
"kind": "interface",
|
|
7971
|
+
"locationInModule": {
|
|
7972
|
+
"filename": "src/platform/EcsCluster.ts",
|
|
7973
|
+
"line": 7
|
|
7974
|
+
},
|
|
7975
|
+
"name": "EcsClusterProps",
|
|
7976
|
+
"properties": [
|
|
7977
|
+
{
|
|
7978
|
+
"abstract": true,
|
|
7979
|
+
"docs": {
|
|
7980
|
+
"stability": "experimental",
|
|
7981
|
+
"summary": "The VPC in which to create the ECS cluster."
|
|
7982
|
+
},
|
|
7983
|
+
"immutable": true,
|
|
7984
|
+
"locationInModule": {
|
|
7985
|
+
"filename": "src/platform/EcsCluster.ts",
|
|
7986
|
+
"line": 9
|
|
7987
|
+
},
|
|
7988
|
+
"name": "vpc",
|
|
7989
|
+
"type": {
|
|
7990
|
+
"fqn": "aws-cdk-lib.aws_ec2.IVpc"
|
|
7991
|
+
}
|
|
7992
|
+
},
|
|
7993
|
+
{
|
|
7994
|
+
"abstract": true,
|
|
7995
|
+
"docs": {
|
|
7996
|
+
"stability": "experimental",
|
|
7997
|
+
"summary": "The base value for the capacity provider strategy."
|
|
7998
|
+
},
|
|
7999
|
+
"immutable": true,
|
|
8000
|
+
"locationInModule": {
|
|
8001
|
+
"filename": "src/platform/EcsCluster.ts",
|
|
8002
|
+
"line": 15
|
|
8003
|
+
},
|
|
8004
|
+
"name": "capacityProvidersBase",
|
|
8005
|
+
"optional": true,
|
|
8006
|
+
"type": {
|
|
8007
|
+
"primitive": "number"
|
|
8008
|
+
}
|
|
8009
|
+
},
|
|
8010
|
+
{
|
|
8011
|
+
"abstract": true,
|
|
8012
|
+
"docs": {
|
|
8013
|
+
"stability": "experimental",
|
|
8014
|
+
"summary": "The weight value for the capacity provider strategy."
|
|
8015
|
+
},
|
|
8016
|
+
"immutable": true,
|
|
8017
|
+
"locationInModule": {
|
|
8018
|
+
"filename": "src/platform/EcsCluster.ts",
|
|
8019
|
+
"line": 17
|
|
8020
|
+
},
|
|
8021
|
+
"name": "capacityProvidersWeight",
|
|
8022
|
+
"optional": true,
|
|
8023
|
+
"type": {
|
|
8024
|
+
"primitive": "number"
|
|
8025
|
+
}
|
|
8026
|
+
},
|
|
8027
|
+
{
|
|
8028
|
+
"abstract": true,
|
|
8029
|
+
"docs": {
|
|
8030
|
+
"stability": "experimental",
|
|
8031
|
+
"summary": "Whether to create a KMS key for execute command encryption."
|
|
8032
|
+
},
|
|
8033
|
+
"immutable": true,
|
|
8034
|
+
"locationInModule": {
|
|
8035
|
+
"filename": "src/platform/EcsCluster.ts",
|
|
8036
|
+
"line": 11
|
|
8037
|
+
},
|
|
8038
|
+
"name": "createKmsExecCommandKey",
|
|
8039
|
+
"optional": true,
|
|
8040
|
+
"type": {
|
|
8041
|
+
"primitive": "boolean"
|
|
8042
|
+
}
|
|
8043
|
+
},
|
|
8044
|
+
{
|
|
8045
|
+
"abstract": true,
|
|
8046
|
+
"docs": {
|
|
8047
|
+
"stability": "experimental",
|
|
8048
|
+
"summary": "Whether to enable Fargate Spot capacity provider."
|
|
8049
|
+
},
|
|
8050
|
+
"immutable": true,
|
|
8051
|
+
"locationInModule": {
|
|
8052
|
+
"filename": "src/platform/EcsCluster.ts",
|
|
8053
|
+
"line": 13
|
|
8054
|
+
},
|
|
8055
|
+
"name": "enableFargateSpotCapacityProvider",
|
|
8056
|
+
"optional": true,
|
|
8057
|
+
"type": {
|
|
8058
|
+
"primitive": "boolean"
|
|
8059
|
+
}
|
|
8060
|
+
}
|
|
8061
|
+
],
|
|
8062
|
+
"symbolId": "src/platform/EcsCluster:EcsClusterProps"
|
|
8063
|
+
},
|
|
7859
8064
|
"@btc-embedded/cdk-extensions.EfsAccessMode": {
|
|
7860
8065
|
"assembly": "@btc-embedded/cdk-extensions",
|
|
7861
8066
|
"docs": {
|
|
@@ -9579,6 +9784,37 @@
|
|
|
9579
9784
|
],
|
|
9580
9785
|
"symbolId": "src/platform/DocumentDB:IDocumentDB"
|
|
9581
9786
|
},
|
|
9787
|
+
"@btc-embedded/cdk-extensions.IEcsCluster": {
|
|
9788
|
+
"assembly": "@btc-embedded/cdk-extensions",
|
|
9789
|
+
"docs": {
|
|
9790
|
+
"stability": "experimental"
|
|
9791
|
+
},
|
|
9792
|
+
"fqn": "@btc-embedded/cdk-extensions.IEcsCluster",
|
|
9793
|
+
"kind": "interface",
|
|
9794
|
+
"locationInModule": {
|
|
9795
|
+
"filename": "src/platform/EcsCluster.ts",
|
|
9796
|
+
"line": 20
|
|
9797
|
+
},
|
|
9798
|
+
"name": "IEcsCluster",
|
|
9799
|
+
"properties": [
|
|
9800
|
+
{
|
|
9801
|
+
"abstract": true,
|
|
9802
|
+
"docs": {
|
|
9803
|
+
"stability": "experimental"
|
|
9804
|
+
},
|
|
9805
|
+
"immutable": true,
|
|
9806
|
+
"locationInModule": {
|
|
9807
|
+
"filename": "src/platform/EcsCluster.ts",
|
|
9808
|
+
"line": 21
|
|
9809
|
+
},
|
|
9810
|
+
"name": "cluster",
|
|
9811
|
+
"type": {
|
|
9812
|
+
"fqn": "aws-cdk-lib.aws_ecs.ICluster"
|
|
9813
|
+
}
|
|
9814
|
+
}
|
|
9815
|
+
],
|
|
9816
|
+
"symbolId": "src/platform/EcsCluster:IEcsCluster"
|
|
9817
|
+
},
|
|
9582
9818
|
"@btc-embedded/cdk-extensions.IEfsFileSystem": {
|
|
9583
9819
|
"assembly": "@btc-embedded/cdk-extensions",
|
|
9584
9820
|
"docs": {
|
|
@@ -9762,6 +9998,37 @@
|
|
|
9762
9998
|
],
|
|
9763
9999
|
"symbolId": "src/platform/Vpc:IVpc"
|
|
9764
10000
|
},
|
|
10001
|
+
"@btc-embedded/cdk-extensions.IVpcV2": {
|
|
10002
|
+
"assembly": "@btc-embedded/cdk-extensions",
|
|
10003
|
+
"docs": {
|
|
10004
|
+
"stability": "experimental"
|
|
10005
|
+
},
|
|
10006
|
+
"fqn": "@btc-embedded/cdk-extensions.IVpcV2",
|
|
10007
|
+
"kind": "interface",
|
|
10008
|
+
"locationInModule": {
|
|
10009
|
+
"filename": "src/platform/VpcV2.ts",
|
|
10010
|
+
"line": 30
|
|
10011
|
+
},
|
|
10012
|
+
"name": "IVpcV2",
|
|
10013
|
+
"properties": [
|
|
10014
|
+
{
|
|
10015
|
+
"abstract": true,
|
|
10016
|
+
"docs": {
|
|
10017
|
+
"stability": "experimental"
|
|
10018
|
+
},
|
|
10019
|
+
"immutable": true,
|
|
10020
|
+
"locationInModule": {
|
|
10021
|
+
"filename": "src/platform/VpcV2.ts",
|
|
10022
|
+
"line": 31
|
|
10023
|
+
},
|
|
10024
|
+
"name": "vpcInstance",
|
|
10025
|
+
"type": {
|
|
10026
|
+
"fqn": "aws-cdk-lib.aws_ec2.IVpc"
|
|
10027
|
+
}
|
|
10028
|
+
}
|
|
10029
|
+
],
|
|
10030
|
+
"symbolId": "src/platform/VpcV2:IVpcV2"
|
|
10031
|
+
},
|
|
9765
10032
|
"@btc-embedded/cdk-extensions.ImportLogGroupOption": {
|
|
9766
10033
|
"assembly": "@btc-embedded/cdk-extensions",
|
|
9767
10034
|
"datatype": true,
|
|
@@ -12268,16 +12535,17 @@
|
|
|
12268
12535
|
"assembly": "@btc-embedded/cdk-extensions",
|
|
12269
12536
|
"base": "constructs.Construct",
|
|
12270
12537
|
"docs": {
|
|
12271
|
-
"
|
|
12538
|
+
"deprecated": "This class is deprecated. Use {@link VpcV2 } and {@link EcsCluster } classes instead.",
|
|
12539
|
+
"stability": "deprecated"
|
|
12272
12540
|
},
|
|
12273
12541
|
"fqn": "@btc-embedded/cdk-extensions.Vpc",
|
|
12274
12542
|
"initializer": {
|
|
12275
12543
|
"docs": {
|
|
12276
|
-
"stability": "
|
|
12544
|
+
"stability": "deprecated"
|
|
12277
12545
|
},
|
|
12278
12546
|
"locationInModule": {
|
|
12279
12547
|
"filename": "src/platform/Vpc.ts",
|
|
12280
|
-
"line":
|
|
12548
|
+
"line": 77
|
|
12281
12549
|
},
|
|
12282
12550
|
"parameters": [
|
|
12283
12551
|
{
|
|
@@ -12316,16 +12584,16 @@
|
|
|
12316
12584
|
"kind": "class",
|
|
12317
12585
|
"locationInModule": {
|
|
12318
12586
|
"filename": "src/platform/Vpc.ts",
|
|
12319
|
-
"line":
|
|
12587
|
+
"line": 31
|
|
12320
12588
|
},
|
|
12321
12589
|
"methods": [
|
|
12322
12590
|
{
|
|
12323
12591
|
"docs": {
|
|
12324
|
-
"stability": "
|
|
12592
|
+
"stability": "deprecated"
|
|
12325
12593
|
},
|
|
12326
12594
|
"locationInModule": {
|
|
12327
12595
|
"filename": "src/platform/Vpc.ts",
|
|
12328
|
-
"line":
|
|
12596
|
+
"line": 32
|
|
12329
12597
|
},
|
|
12330
12598
|
"name": "fromBasePlatform",
|
|
12331
12599
|
"parameters": [
|
|
@@ -12360,12 +12628,12 @@
|
|
|
12360
12628
|
"properties": [
|
|
12361
12629
|
{
|
|
12362
12630
|
"docs": {
|
|
12363
|
-
"stability": "
|
|
12631
|
+
"stability": "deprecated"
|
|
12364
12632
|
},
|
|
12365
12633
|
"immutable": true,
|
|
12366
12634
|
"locationInModule": {
|
|
12367
12635
|
"filename": "src/platform/Vpc.ts",
|
|
12368
|
-
"line":
|
|
12636
|
+
"line": 66
|
|
12369
12637
|
},
|
|
12370
12638
|
"name": "clusterName",
|
|
12371
12639
|
"overrides": "@btc-embedded/cdk-extensions.IVpc",
|
|
@@ -12375,12 +12643,12 @@
|
|
|
12375
12643
|
},
|
|
12376
12644
|
{
|
|
12377
12645
|
"docs": {
|
|
12378
|
-
"stability": "
|
|
12646
|
+
"stability": "deprecated"
|
|
12379
12647
|
},
|
|
12380
12648
|
"immutable": true,
|
|
12381
12649
|
"locationInModule": {
|
|
12382
12650
|
"filename": "src/platform/Vpc.ts",
|
|
12383
|
-
"line":
|
|
12651
|
+
"line": 65
|
|
12384
12652
|
},
|
|
12385
12653
|
"name": "fqdn",
|
|
12386
12654
|
"overrides": "@btc-embedded/cdk-extensions.IVpc",
|
|
@@ -12390,11 +12658,11 @@
|
|
|
12390
12658
|
},
|
|
12391
12659
|
{
|
|
12392
12660
|
"docs": {
|
|
12393
|
-
"stability": "
|
|
12661
|
+
"stability": "deprecated"
|
|
12394
12662
|
},
|
|
12395
12663
|
"locationInModule": {
|
|
12396
12664
|
"filename": "src/platform/Vpc.ts",
|
|
12397
|
-
"line":
|
|
12665
|
+
"line": 64
|
|
12398
12666
|
},
|
|
12399
12667
|
"name": "cluster",
|
|
12400
12668
|
"type": {
|
|
@@ -12403,11 +12671,11 @@
|
|
|
12403
12671
|
},
|
|
12404
12672
|
{
|
|
12405
12673
|
"docs": {
|
|
12406
|
-
"stability": "
|
|
12674
|
+
"stability": "deprecated"
|
|
12407
12675
|
},
|
|
12408
12676
|
"locationInModule": {
|
|
12409
12677
|
"filename": "src/platform/Vpc.ts",
|
|
12410
|
-
"line":
|
|
12678
|
+
"line": 63
|
|
12411
12679
|
},
|
|
12412
12680
|
"name": "vpcInstance",
|
|
12413
12681
|
"type": {
|
|
@@ -12513,8 +12781,201 @@
|
|
|
12513
12781
|
}
|
|
12514
12782
|
],
|
|
12515
12783
|
"symbolId": "src/platform/Vpc:VpcProps"
|
|
12784
|
+
},
|
|
12785
|
+
"@btc-embedded/cdk-extensions.VpcV2": {
|
|
12786
|
+
"assembly": "@btc-embedded/cdk-extensions",
|
|
12787
|
+
"base": "constructs.Construct",
|
|
12788
|
+
"docs": {
|
|
12789
|
+
"remarks": "Supports importing by VPC ID, VPC name, or creating a new VPC with a specified CIDR block.",
|
|
12790
|
+
"stability": "experimental",
|
|
12791
|
+
"summary": "A construct that creates or imports an existing VPC."
|
|
12792
|
+
},
|
|
12793
|
+
"fqn": "@btc-embedded/cdk-extensions.VpcV2",
|
|
12794
|
+
"initializer": {
|
|
12795
|
+
"docs": {
|
|
12796
|
+
"stability": "experimental"
|
|
12797
|
+
},
|
|
12798
|
+
"locationInModule": {
|
|
12799
|
+
"filename": "src/platform/VpcV2.ts",
|
|
12800
|
+
"line": 61
|
|
12801
|
+
},
|
|
12802
|
+
"parameters": [
|
|
12803
|
+
{
|
|
12804
|
+
"name": "scope",
|
|
12805
|
+
"type": {
|
|
12806
|
+
"fqn": "constructs.Construct"
|
|
12807
|
+
}
|
|
12808
|
+
},
|
|
12809
|
+
{
|
|
12810
|
+
"name": "id",
|
|
12811
|
+
"type": {
|
|
12812
|
+
"primitive": "string"
|
|
12813
|
+
}
|
|
12814
|
+
},
|
|
12815
|
+
{
|
|
12816
|
+
"name": "props",
|
|
12817
|
+
"type": {
|
|
12818
|
+
"fqn": "@btc-embedded/cdk-extensions.VpcV2Props"
|
|
12819
|
+
}
|
|
12820
|
+
}
|
|
12821
|
+
]
|
|
12822
|
+
},
|
|
12823
|
+
"interfaces": [
|
|
12824
|
+
"@btc-embedded/cdk-extensions.IVpcV2"
|
|
12825
|
+
],
|
|
12826
|
+
"kind": "class",
|
|
12827
|
+
"locationInModule": {
|
|
12828
|
+
"filename": "src/platform/VpcV2.ts",
|
|
12829
|
+
"line": 38
|
|
12830
|
+
},
|
|
12831
|
+
"methods": [
|
|
12832
|
+
{
|
|
12833
|
+
"docs": {
|
|
12834
|
+
"stability": "experimental"
|
|
12835
|
+
},
|
|
12836
|
+
"locationInModule": {
|
|
12837
|
+
"filename": "src/platform/VpcV2.ts",
|
|
12838
|
+
"line": 39
|
|
12839
|
+
},
|
|
12840
|
+
"name": "fromBasePlatform",
|
|
12841
|
+
"parameters": [
|
|
12842
|
+
{
|
|
12843
|
+
"name": "scope",
|
|
12844
|
+
"type": {
|
|
12845
|
+
"fqn": "constructs.Construct"
|
|
12846
|
+
}
|
|
12847
|
+
},
|
|
12848
|
+
{
|
|
12849
|
+
"name": "id",
|
|
12850
|
+
"type": {
|
|
12851
|
+
"primitive": "string"
|
|
12852
|
+
}
|
|
12853
|
+
},
|
|
12854
|
+
{
|
|
12855
|
+
"name": "stackName",
|
|
12856
|
+
"type": {
|
|
12857
|
+
"primitive": "string"
|
|
12858
|
+
}
|
|
12859
|
+
}
|
|
12860
|
+
],
|
|
12861
|
+
"returns": {
|
|
12862
|
+
"type": {
|
|
12863
|
+
"fqn": "@btc-embedded/cdk-extensions.IVpcV2"
|
|
12864
|
+
}
|
|
12865
|
+
},
|
|
12866
|
+
"static": true
|
|
12867
|
+
}
|
|
12868
|
+
],
|
|
12869
|
+
"name": "VpcV2",
|
|
12870
|
+
"properties": [
|
|
12871
|
+
{
|
|
12872
|
+
"docs": {
|
|
12873
|
+
"stability": "experimental"
|
|
12874
|
+
},
|
|
12875
|
+
"immutable": true,
|
|
12876
|
+
"locationInModule": {
|
|
12877
|
+
"filename": "src/platform/VpcV2.ts",
|
|
12878
|
+
"line": 59
|
|
12879
|
+
},
|
|
12880
|
+
"name": "vpcInstance",
|
|
12881
|
+
"overrides": "@btc-embedded/cdk-extensions.IVpcV2",
|
|
12882
|
+
"type": {
|
|
12883
|
+
"fqn": "aws-cdk-lib.aws_ec2.IVpc"
|
|
12884
|
+
}
|
|
12885
|
+
}
|
|
12886
|
+
],
|
|
12887
|
+
"symbolId": "src/platform/VpcV2:VpcV2"
|
|
12888
|
+
},
|
|
12889
|
+
"@btc-embedded/cdk-extensions.VpcV2Props": {
|
|
12890
|
+
"assembly": "@btc-embedded/cdk-extensions",
|
|
12891
|
+
"datatype": true,
|
|
12892
|
+
"docs": {
|
|
12893
|
+
"stability": "experimental"
|
|
12894
|
+
},
|
|
12895
|
+
"fqn": "@btc-embedded/cdk-extensions.VpcV2Props",
|
|
12896
|
+
"kind": "interface",
|
|
12897
|
+
"locationInModule": {
|
|
12898
|
+
"filename": "src/platform/VpcV2.ts",
|
|
12899
|
+
"line": 10
|
|
12900
|
+
},
|
|
12901
|
+
"name": "VpcV2Props",
|
|
12902
|
+
"properties": [
|
|
12903
|
+
{
|
|
12904
|
+
"abstract": true,
|
|
12905
|
+
"docs": {
|
|
12906
|
+
"remarks": "Defaults to 2.",
|
|
12907
|
+
"stability": "experimental",
|
|
12908
|
+
"summary": "The maximum number of Availability Zones to use when creating a new VPC."
|
|
12909
|
+
},
|
|
12910
|
+
"immutable": true,
|
|
12911
|
+
"locationInModule": {
|
|
12912
|
+
"filename": "src/platform/VpcV2.ts",
|
|
12913
|
+
"line": 27
|
|
12914
|
+
},
|
|
12915
|
+
"name": "maxAzs",
|
|
12916
|
+
"optional": true,
|
|
12917
|
+
"type": {
|
|
12918
|
+
"primitive": "number"
|
|
12919
|
+
}
|
|
12920
|
+
},
|
|
12921
|
+
{
|
|
12922
|
+
"abstract": true,
|
|
12923
|
+
"docs": {
|
|
12924
|
+
"remarks": "Required when creating a new VPC.",
|
|
12925
|
+
"stability": "experimental",
|
|
12926
|
+
"summary": "The IP address allocation strategy for creating a new VPC."
|
|
12927
|
+
},
|
|
12928
|
+
"immutable": true,
|
|
12929
|
+
"locationInModule": {
|
|
12930
|
+
"filename": "src/platform/VpcV2.ts",
|
|
12931
|
+
"line": 23
|
|
12932
|
+
},
|
|
12933
|
+
"name": "vpcCidr",
|
|
12934
|
+
"optional": true,
|
|
12935
|
+
"type": {
|
|
12936
|
+
"fqn": "aws-cdk-lib.aws_ec2.IIpAddresses"
|
|
12937
|
+
}
|
|
12938
|
+
},
|
|
12939
|
+
{
|
|
12940
|
+
"abstract": true,
|
|
12941
|
+
"docs": {
|
|
12942
|
+
"remarks": "If provided, the VPC will be looked up by ID.",
|
|
12943
|
+
"stability": "experimental",
|
|
12944
|
+
"summary": "The ID of an existing VPC to import."
|
|
12945
|
+
},
|
|
12946
|
+
"immutable": true,
|
|
12947
|
+
"locationInModule": {
|
|
12948
|
+
"filename": "src/platform/VpcV2.ts",
|
|
12949
|
+
"line": 14
|
|
12950
|
+
},
|
|
12951
|
+
"name": "vpcId",
|
|
12952
|
+
"optional": true,
|
|
12953
|
+
"type": {
|
|
12954
|
+
"primitive": "string"
|
|
12955
|
+
}
|
|
12956
|
+
},
|
|
12957
|
+
{
|
|
12958
|
+
"abstract": true,
|
|
12959
|
+
"docs": {
|
|
12960
|
+
"remarks": "If importing an existing VPC, it will be looked up by this name.\nIf creating a new VPC, this will be used as the VPC name.",
|
|
12961
|
+
"stability": "experimental",
|
|
12962
|
+
"summary": "The name of the VPC."
|
|
12963
|
+
},
|
|
12964
|
+
"immutable": true,
|
|
12965
|
+
"locationInModule": {
|
|
12966
|
+
"filename": "src/platform/VpcV2.ts",
|
|
12967
|
+
"line": 19
|
|
12968
|
+
},
|
|
12969
|
+
"name": "vpcName",
|
|
12970
|
+
"optional": true,
|
|
12971
|
+
"type": {
|
|
12972
|
+
"primitive": "string"
|
|
12973
|
+
}
|
|
12974
|
+
}
|
|
12975
|
+
],
|
|
12976
|
+
"symbolId": "src/platform/VpcV2:VpcV2Props"
|
|
12516
12977
|
}
|
|
12517
12978
|
},
|
|
12518
|
-
"version": "0.
|
|
12519
|
-
"fingerprint": "
|
|
12979
|
+
"version": "0.20.1",
|
|
12980
|
+
"fingerprint": "5SR/cRAtkktltShy4QYYtlp7h+qJJtuma53MOp6Viu4="
|
|
12520
12981
|
}
|