@orcabus/platform-cdk-constructs 1.0.7 → 1.1.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 +118 -53
- package/api-gateway/api-gateway.js +1 -1
- package/deployment-stack-pipeline/artifact-bucket.js +1 -1
- package/deployment-stack-pipeline/cache-bucket.js +1 -1
- package/deployment-stack-pipeline/pipeline.d.ts +29 -8
- package/deployment-stack-pipeline/pipeline.js +37 -38
- package/dynamodb/index.js +2 -2
- package/ecs/index.js +1 -1
- package/eventbridge-rules/sfn-slack-notification.js +1 -1
- package/lambda/build_python/Dockerfile +1 -1
- package/lambda/index.js +6 -6
- package/lambda/layers/fastapi_tools/poetry.lock +69 -14
- package/lambda/layers/fastapi_tools/pyproject.toml +1 -1
- package/lambda/layers/fastapi_tools/uv.lock +3 -0
- package/lambda/layers/icav2_tools/poetry.lock +5 -67
- package/lambda/layers/icav2_tools/pyproject.toml +1 -1
- package/lambda/layers/mart_tools/poetry.lock +3 -3
- package/lambda/layers/mart_tools/pyproject.toml +1 -1
- package/lambda/layers/orcabus_api_tools/poetry.lock +3 -4
- package/lambda/layers/orcabus_api_tools/pyproject.toml +1 -1
- package/lambda/layers/orcabus_api_tools/src/orcabus_api_tools/icav2_wes/models.py +1 -0
- package/monitored-queue/index.js +1 -1
- package/named-lambda-role/index.js +1 -1
- package/package.json +1 -1
- package/provider-function/index.js +1 -1
- package/shared-config/networking.js +2 -2
- package/shared-config/slack.js +1 -1
package/.jsii
CHANGED
|
@@ -9022,8 +9022,7 @@
|
|
|
9022
9022
|
"assembly": "@orcabus/platform-cdk-constructs",
|
|
9023
9023
|
"datatype": true,
|
|
9024
9024
|
"docs": {
|
|
9025
|
-
"remarks": "If specified, the bucket under\n`CODEBUILD_CACHE_BUCKET` will be used for caching. This bucket is managed by the shared-resources\nservice
|
|
9026
|
-
"see": "https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#build-spec.cache",
|
|
9025
|
+
"remarks": "If specified, the bucket under\n`CODEBUILD_CACHE_BUCKET` will be used for caching. This bucket is managed by the shared-resources\nservice.",
|
|
9027
9026
|
"stability": "experimental",
|
|
9028
9027
|
"summary": "Options for creating an S3 cache to use across build steps."
|
|
9029
9028
|
},
|
|
@@ -9031,7 +9030,7 @@
|
|
|
9031
9030
|
"kind": "interface",
|
|
9032
9031
|
"locationInModule": {
|
|
9033
9032
|
"filename": "deployment-stack-pipeline/pipeline.ts",
|
|
9034
|
-
"line":
|
|
9033
|
+
"line": 267
|
|
9035
9034
|
},
|
|
9036
9035
|
"name": "CacheOptions",
|
|
9037
9036
|
"namespace": "deploymentPipeline",
|
|
@@ -9046,12 +9045,54 @@
|
|
|
9046
9045
|
"immutable": true,
|
|
9047
9046
|
"locationInModule": {
|
|
9048
9047
|
"filename": "deployment-stack-pipeline/pipeline.ts",
|
|
9049
|
-
"line":
|
|
9048
|
+
"line": 272
|
|
9050
9049
|
},
|
|
9051
9050
|
"name": "namespace",
|
|
9052
9051
|
"type": {
|
|
9053
9052
|
"primitive": "string"
|
|
9054
9053
|
}
|
|
9054
|
+
},
|
|
9055
|
+
{
|
|
9056
|
+
"abstract": true,
|
|
9057
|
+
"docs": {
|
|
9058
|
+
"remarks": "Note that if the cache is specified in the buildspec, that config will take precedence. This option is only used\nas a convenience to specify paths, and will not override the buildspec cache config.",
|
|
9059
|
+
"see": "https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#build-spec.cache",
|
|
9060
|
+
"stability": "experimental",
|
|
9061
|
+
"summary": "The paths to cache. This will default to the `node_modules` directory if unspecified."
|
|
9062
|
+
},
|
|
9063
|
+
"immutable": true,
|
|
9064
|
+
"locationInModule": {
|
|
9065
|
+
"filename": "deployment-stack-pipeline/pipeline.ts",
|
|
9066
|
+
"line": 284
|
|
9067
|
+
},
|
|
9068
|
+
"name": "paths",
|
|
9069
|
+
"optional": true,
|
|
9070
|
+
"type": {
|
|
9071
|
+
"collection": {
|
|
9072
|
+
"elementtype": {
|
|
9073
|
+
"primitive": "string"
|
|
9074
|
+
},
|
|
9075
|
+
"kind": "array"
|
|
9076
|
+
}
|
|
9077
|
+
}
|
|
9078
|
+
},
|
|
9079
|
+
{
|
|
9080
|
+
"abstract": true,
|
|
9081
|
+
"docs": {
|
|
9082
|
+
"remarks": "If left unspecified, this will default to the namespace.",
|
|
9083
|
+
"stability": "experimental",
|
|
9084
|
+
"summary": "The prefix for the cache controlling the prefix on S3."
|
|
9085
|
+
},
|
|
9086
|
+
"immutable": true,
|
|
9087
|
+
"locationInModule": {
|
|
9088
|
+
"filename": "deployment-stack-pipeline/pipeline.ts",
|
|
9089
|
+
"line": 276
|
|
9090
|
+
},
|
|
9091
|
+
"name": "prefix",
|
|
9092
|
+
"optional": true,
|
|
9093
|
+
"type": {
|
|
9094
|
+
"primitive": "string"
|
|
9095
|
+
}
|
|
9055
9096
|
}
|
|
9056
9097
|
],
|
|
9057
9098
|
"symbolId": "deployment-stack-pipeline/pipeline:CacheOptions"
|
|
@@ -9066,7 +9107,7 @@
|
|
|
9066
9107
|
"kind": "interface",
|
|
9067
9108
|
"locationInModule": {
|
|
9068
9109
|
"filename": "deployment-stack-pipeline/pipeline.ts",
|
|
9069
|
-
"line":
|
|
9110
|
+
"line": 117
|
|
9070
9111
|
},
|
|
9071
9112
|
"name": "CodeBuildStepProps",
|
|
9072
9113
|
"namespace": "deploymentPipeline",
|
|
@@ -9080,7 +9121,7 @@
|
|
|
9080
9121
|
"immutable": true,
|
|
9081
9122
|
"locationInModule": {
|
|
9082
9123
|
"filename": "deployment-stack-pipeline/pipeline.ts",
|
|
9083
|
-
"line":
|
|
9124
|
+
"line": 121
|
|
9084
9125
|
},
|
|
9085
9126
|
"name": "command",
|
|
9086
9127
|
"type": {
|
|
@@ -9101,7 +9142,7 @@
|
|
|
9101
9142
|
"immutable": true,
|
|
9102
9143
|
"locationInModule": {
|
|
9103
9144
|
"filename": "deployment-stack-pipeline/pipeline.ts",
|
|
9104
|
-
"line":
|
|
9145
|
+
"line": 129
|
|
9105
9146
|
},
|
|
9106
9147
|
"name": "installCommands",
|
|
9107
9148
|
"optional": true,
|
|
@@ -9123,7 +9164,7 @@
|
|
|
9123
9164
|
"immutable": true,
|
|
9124
9165
|
"locationInModule": {
|
|
9125
9166
|
"filename": "deployment-stack-pipeline/pipeline.ts",
|
|
9126
|
-
"line":
|
|
9167
|
+
"line": 125
|
|
9127
9168
|
},
|
|
9128
9169
|
"name": "partialBuildSpec",
|
|
9129
9170
|
"optional": true,
|
|
@@ -9261,7 +9302,7 @@
|
|
|
9261
9302
|
},
|
|
9262
9303
|
"locationInModule": {
|
|
9263
9304
|
"filename": "deployment-stack-pipeline/pipeline.ts",
|
|
9264
|
-
"line":
|
|
9305
|
+
"line": 299
|
|
9265
9306
|
},
|
|
9266
9307
|
"parameters": [
|
|
9267
9308
|
{
|
|
@@ -9287,7 +9328,7 @@
|
|
|
9287
9328
|
"kind": "class",
|
|
9288
9329
|
"locationInModule": {
|
|
9289
9330
|
"filename": "deployment-stack-pipeline/pipeline.ts",
|
|
9290
|
-
"line":
|
|
9331
|
+
"line": 293
|
|
9291
9332
|
},
|
|
9292
9333
|
"name": "DeploymentStackPipeline",
|
|
9293
9334
|
"namespace": "deploymentPipeline",
|
|
@@ -9300,7 +9341,7 @@
|
|
|
9300
9341
|
"immutable": true,
|
|
9301
9342
|
"locationInModule": {
|
|
9302
9343
|
"filename": "deployment-stack-pipeline/pipeline.ts",
|
|
9303
|
-
"line":
|
|
9344
|
+
"line": 297
|
|
9304
9345
|
},
|
|
9305
9346
|
"name": "pipeline",
|
|
9306
9347
|
"type": {
|
|
@@ -9320,7 +9361,7 @@
|
|
|
9320
9361
|
"kind": "interface",
|
|
9321
9362
|
"locationInModule": {
|
|
9322
9363
|
"filename": "deployment-stack-pipeline/pipeline.ts",
|
|
9323
|
-
"line":
|
|
9364
|
+
"line": 132
|
|
9324
9365
|
},
|
|
9325
9366
|
"name": "DeploymentStackPipelineProps",
|
|
9326
9367
|
"namespace": "deploymentPipeline",
|
|
@@ -9335,7 +9376,7 @@
|
|
|
9335
9376
|
"immutable": true,
|
|
9336
9377
|
"locationInModule": {
|
|
9337
9378
|
"filename": "deployment-stack-pipeline/pipeline.ts",
|
|
9338
|
-
"line":
|
|
9379
|
+
"line": 178
|
|
9339
9380
|
},
|
|
9340
9381
|
"name": "cdkSynthCmd",
|
|
9341
9382
|
"type": {
|
|
@@ -9360,7 +9401,7 @@
|
|
|
9360
9401
|
"immutable": true,
|
|
9361
9402
|
"locationInModule": {
|
|
9362
9403
|
"filename": "deployment-stack-pipeline/pipeline.ts",
|
|
9363
|
-
"line":
|
|
9404
|
+
"line": 139
|
|
9364
9405
|
},
|
|
9365
9406
|
"name": "githubBranch",
|
|
9366
9407
|
"type": {
|
|
@@ -9377,7 +9418,7 @@
|
|
|
9377
9418
|
"immutable": true,
|
|
9378
9419
|
"locationInModule": {
|
|
9379
9420
|
"filename": "deployment-stack-pipeline/pipeline.ts",
|
|
9380
|
-
"line":
|
|
9421
|
+
"line": 143
|
|
9381
9422
|
},
|
|
9382
9423
|
"name": "githubRepo",
|
|
9383
9424
|
"type": {
|
|
@@ -9393,7 +9434,7 @@
|
|
|
9393
9434
|
"immutable": true,
|
|
9394
9435
|
"locationInModule": {
|
|
9395
9436
|
"filename": "deployment-stack-pipeline/pipeline.ts",
|
|
9396
|
-
"line":
|
|
9437
|
+
"line": 160
|
|
9397
9438
|
},
|
|
9398
9439
|
"name": "pipelineName",
|
|
9399
9440
|
"type": {
|
|
@@ -9409,7 +9450,7 @@
|
|
|
9409
9450
|
"immutable": true,
|
|
9410
9451
|
"locationInModule": {
|
|
9411
9452
|
"filename": "deployment-stack-pipeline/pipeline.ts",
|
|
9412
|
-
"line":
|
|
9453
|
+
"line": 147
|
|
9413
9454
|
},
|
|
9414
9455
|
"name": "stack",
|
|
9415
9456
|
"type": {
|
|
@@ -9425,7 +9466,7 @@
|
|
|
9425
9466
|
"immutable": true,
|
|
9426
9467
|
"locationInModule": {
|
|
9427
9468
|
"filename": "deployment-stack-pipeline/pipeline.ts",
|
|
9428
|
-
"line":
|
|
9469
|
+
"line": 156
|
|
9429
9470
|
},
|
|
9430
9471
|
"name": "stackConfig",
|
|
9431
9472
|
"type": {
|
|
@@ -9442,7 +9483,7 @@
|
|
|
9442
9483
|
"immutable": true,
|
|
9443
9484
|
"locationInModule": {
|
|
9444
9485
|
"filename": "deployment-stack-pipeline/pipeline.ts",
|
|
9445
|
-
"line":
|
|
9486
|
+
"line": 152
|
|
9446
9487
|
},
|
|
9447
9488
|
"name": "stackName",
|
|
9448
9489
|
"type": {
|
|
@@ -9459,7 +9500,7 @@
|
|
|
9459
9500
|
"immutable": true,
|
|
9460
9501
|
"locationInModule": {
|
|
9461
9502
|
"filename": "deployment-stack-pipeline/pipeline.ts",
|
|
9462
|
-
"line":
|
|
9503
|
+
"line": 205
|
|
9463
9504
|
},
|
|
9464
9505
|
"name": "unitAppTestConfig",
|
|
9465
9506
|
"type": {
|
|
@@ -9477,7 +9518,7 @@
|
|
|
9477
9518
|
"immutable": true,
|
|
9478
9519
|
"locationInModule": {
|
|
9479
9520
|
"filename": "deployment-stack-pipeline/pipeline.ts",
|
|
9480
|
-
"line":
|
|
9521
|
+
"line": 259
|
|
9481
9522
|
},
|
|
9482
9523
|
"name": "cacheOptions",
|
|
9483
9524
|
"optional": true,
|
|
@@ -9495,7 +9536,7 @@
|
|
|
9495
9536
|
"immutable": true,
|
|
9496
9537
|
"locationInModule": {
|
|
9497
9538
|
"filename": "deployment-stack-pipeline/pipeline.ts",
|
|
9498
|
-
"line":
|
|
9539
|
+
"line": 184
|
|
9499
9540
|
},
|
|
9500
9541
|
"name": "cdkOut",
|
|
9501
9542
|
"optional": true,
|
|
@@ -9513,7 +9554,7 @@
|
|
|
9513
9554
|
"immutable": true,
|
|
9514
9555
|
"locationInModule": {
|
|
9515
9556
|
"filename": "deployment-stack-pipeline/pipeline.ts",
|
|
9516
|
-
"line":
|
|
9557
|
+
"line": 251
|
|
9517
9558
|
},
|
|
9518
9559
|
"name": "driftCheckConfig",
|
|
9519
9560
|
"optional": true,
|
|
@@ -9531,7 +9572,7 @@
|
|
|
9531
9572
|
"immutable": true,
|
|
9532
9573
|
"locationInModule": {
|
|
9533
9574
|
"filename": "deployment-stack-pipeline/pipeline.ts",
|
|
9534
|
-
"line":
|
|
9575
|
+
"line": 222
|
|
9535
9576
|
},
|
|
9536
9577
|
"name": "enableSlackNotification",
|
|
9537
9578
|
"optional": true,
|
|
@@ -9549,7 +9590,7 @@
|
|
|
9549
9590
|
"immutable": true,
|
|
9550
9591
|
"locationInModule": {
|
|
9551
9592
|
"filename": "deployment-stack-pipeline/pipeline.ts",
|
|
9552
|
-
"line":
|
|
9593
|
+
"line": 174
|
|
9553
9594
|
},
|
|
9554
9595
|
"name": "excludedFilePaths",
|
|
9555
9596
|
"optional": true,
|
|
@@ -9572,7 +9613,7 @@
|
|
|
9572
9613
|
"immutable": true,
|
|
9573
9614
|
"locationInModule": {
|
|
9574
9615
|
"filename": "deployment-stack-pipeline/pipeline.ts",
|
|
9575
|
-
"line":
|
|
9616
|
+
"line": 167
|
|
9576
9617
|
},
|
|
9577
9618
|
"name": "includedFilePaths",
|
|
9578
9619
|
"optional": true,
|
|
@@ -9596,7 +9637,7 @@
|
|
|
9596
9637
|
"immutable": true,
|
|
9597
9638
|
"locationInModule": {
|
|
9598
9639
|
"filename": "deployment-stack-pipeline/pipeline.ts",
|
|
9599
|
-
"line":
|
|
9640
|
+
"line": 230
|
|
9600
9641
|
},
|
|
9601
9642
|
"name": "notificationEvents",
|
|
9602
9643
|
"optional": true,
|
|
@@ -9620,7 +9661,7 @@
|
|
|
9620
9661
|
"immutable": true,
|
|
9621
9662
|
"locationInModule": {
|
|
9622
9663
|
"filename": "deployment-stack-pipeline/pipeline.ts",
|
|
9623
|
-
"line":
|
|
9664
|
+
"line": 238
|
|
9624
9665
|
},
|
|
9625
9666
|
"name": "reuseExistingArtifactBucket",
|
|
9626
9667
|
"optional": true,
|
|
@@ -9637,7 +9678,7 @@
|
|
|
9637
9678
|
"immutable": true,
|
|
9638
9679
|
"locationInModule": {
|
|
9639
9680
|
"filename": "deployment-stack-pipeline/pipeline.ts",
|
|
9640
|
-
"line":
|
|
9681
|
+
"line": 217
|
|
9641
9682
|
},
|
|
9642
9683
|
"name": "stageEnv",
|
|
9643
9684
|
"optional": true,
|
|
@@ -9656,7 +9697,7 @@
|
|
|
9656
9697
|
"immutable": true,
|
|
9657
9698
|
"locationInModule": {
|
|
9658
9699
|
"filename": "deployment-stack-pipeline/pipeline.ts",
|
|
9659
|
-
"line":
|
|
9700
|
+
"line": 246
|
|
9660
9701
|
},
|
|
9661
9702
|
"name": "stripAssemblyAssets",
|
|
9662
9703
|
"optional": true,
|
|
@@ -9667,15 +9708,15 @@
|
|
|
9667
9708
|
{
|
|
9668
9709
|
"abstract": true,
|
|
9669
9710
|
"docs": {
|
|
9670
|
-
"default": "
|
|
9671
|
-
"remarks": "It will passed as the
|
|
9711
|
+
"default": "DEFAULT_PARTIAL_BUILD_SPEC",
|
|
9712
|
+
"remarks": "It will be passed as the\n`partialBuildSpec` to the `CodeBuildStep`.",
|
|
9672
9713
|
"stability": "experimental",
|
|
9673
9714
|
"summary": "Additional configuration for the CodeBuild step during the CDK synth phase."
|
|
9674
9715
|
},
|
|
9675
9716
|
"immutable": true,
|
|
9676
9717
|
"locationInModule": {
|
|
9677
9718
|
"filename": "deployment-stack-pipeline/pipeline.ts",
|
|
9678
|
-
"line":
|
|
9719
|
+
"line": 191
|
|
9679
9720
|
},
|
|
9680
9721
|
"name": "synthBuildSpec",
|
|
9681
9722
|
"optional": true,
|
|
@@ -9688,6 +9729,29 @@
|
|
|
9688
9729
|
}
|
|
9689
9730
|
}
|
|
9690
9731
|
},
|
|
9732
|
+
{
|
|
9733
|
+
"abstract": true,
|
|
9734
|
+
"docs": {
|
|
9735
|
+
"default": "DEFAULT_INSTALL_COMMANDS",
|
|
9736
|
+
"stability": "experimental",
|
|
9737
|
+
"summary": "The install commands for the synth step."
|
|
9738
|
+
},
|
|
9739
|
+
"immutable": true,
|
|
9740
|
+
"locationInModule": {
|
|
9741
|
+
"filename": "deployment-stack-pipeline/pipeline.ts",
|
|
9742
|
+
"line": 197
|
|
9743
|
+
},
|
|
9744
|
+
"name": "synthInstallCommands",
|
|
9745
|
+
"optional": true,
|
|
9746
|
+
"type": {
|
|
9747
|
+
"collection": {
|
|
9748
|
+
"elementtype": {
|
|
9749
|
+
"primitive": "string"
|
|
9750
|
+
},
|
|
9751
|
+
"kind": "array"
|
|
9752
|
+
}
|
|
9753
|
+
}
|
|
9754
|
+
},
|
|
9691
9755
|
{
|
|
9692
9756
|
"abstract": true,
|
|
9693
9757
|
"docs": {
|
|
@@ -9698,7 +9762,7 @@
|
|
|
9698
9762
|
"immutable": true,
|
|
9699
9763
|
"locationInModule": {
|
|
9700
9764
|
"filename": "deployment-stack-pipeline/pipeline.ts",
|
|
9701
|
-
"line":
|
|
9765
|
+
"line": 213
|
|
9702
9766
|
},
|
|
9703
9767
|
"name": "unitIacTestConfig",
|
|
9704
9768
|
"optional": true,
|
|
@@ -9720,7 +9784,7 @@
|
|
|
9720
9784
|
"kind": "interface",
|
|
9721
9785
|
"locationInModule": {
|
|
9722
9786
|
"filename": "deployment-stack-pipeline/pipeline.ts",
|
|
9723
|
-
"line":
|
|
9787
|
+
"line": 100
|
|
9724
9788
|
},
|
|
9725
9789
|
"name": "DriftCheckConfig",
|
|
9726
9790
|
"namespace": "deploymentPipeline",
|
|
@@ -9735,7 +9799,7 @@
|
|
|
9735
9799
|
"immutable": true,
|
|
9736
9800
|
"locationInModule": {
|
|
9737
9801
|
"filename": "deployment-stack-pipeline/pipeline.ts",
|
|
9738
|
-
"line":
|
|
9802
|
+
"line": 106
|
|
9739
9803
|
},
|
|
9740
9804
|
"name": "cdkCommand",
|
|
9741
9805
|
"type": {
|
|
@@ -9752,7 +9816,7 @@
|
|
|
9752
9816
|
"immutable": true,
|
|
9753
9817
|
"locationInModule": {
|
|
9754
9818
|
"filename": "deployment-stack-pipeline/pipeline.ts",
|
|
9755
|
-
"line":
|
|
9819
|
+
"line": 114
|
|
9756
9820
|
},
|
|
9757
9821
|
"name": "installCommand",
|
|
9758
9822
|
"optional": true,
|
|
@@ -9773,7 +9837,7 @@
|
|
|
9773
9837
|
"kind": "interface",
|
|
9774
9838
|
"locationInModule": {
|
|
9775
9839
|
"filename": "deployment-stack-pipeline/pipeline.ts",
|
|
9776
|
-
"line":
|
|
9840
|
+
"line": 718
|
|
9777
9841
|
},
|
|
9778
9842
|
"name": "FailOnDriftBuildStepProps",
|
|
9779
9843
|
"namespace": "deploymentPipeline",
|
|
@@ -9788,7 +9852,7 @@
|
|
|
9788
9852
|
"immutable": true,
|
|
9789
9853
|
"locationInModule": {
|
|
9790
9854
|
"filename": "deployment-stack-pipeline/pipeline.ts",
|
|
9791
|
-
"line":
|
|
9855
|
+
"line": 723
|
|
9792
9856
|
},
|
|
9793
9857
|
"name": "accountEnv",
|
|
9794
9858
|
"type": {
|
|
@@ -9805,7 +9869,7 @@
|
|
|
9805
9869
|
"immutable": true,
|
|
9806
9870
|
"locationInModule": {
|
|
9807
9871
|
"filename": "deployment-stack-pipeline/pipeline.ts",
|
|
9808
|
-
"line":
|
|
9872
|
+
"line": 737
|
|
9809
9873
|
},
|
|
9810
9874
|
"name": "cdkCommand",
|
|
9811
9875
|
"type": {
|
|
@@ -9822,7 +9886,7 @@
|
|
|
9822
9886
|
"immutable": true,
|
|
9823
9887
|
"locationInModule": {
|
|
9824
9888
|
"filename": "deployment-stack-pipeline/pipeline.ts",
|
|
9825
|
-
"line":
|
|
9889
|
+
"line": 731
|
|
9826
9890
|
},
|
|
9827
9891
|
"name": "stackId",
|
|
9828
9892
|
"type": {
|
|
@@ -9832,14 +9896,15 @@
|
|
|
9832
9896
|
{
|
|
9833
9897
|
"abstract": true,
|
|
9834
9898
|
"docs": {
|
|
9835
|
-
"
|
|
9899
|
+
"default": "DEFAULT_INSTALL_COMMANDS merged with &&.",
|
|
9900
|
+
"remarks": "If your app is in a subdirectory, prefix with \"cd <dir> &&\".\nExample: \"cd dev && pnpm install --frozen-lockfile --ignore-scripts\"",
|
|
9836
9901
|
"stability": "experimental",
|
|
9837
9902
|
"summary": "Command to install dependencies before running CDK."
|
|
9838
9903
|
},
|
|
9839
9904
|
"immutable": true,
|
|
9840
9905
|
"locationInModule": {
|
|
9841
9906
|
"filename": "deployment-stack-pipeline/pipeline.ts",
|
|
9842
|
-
"line":
|
|
9907
|
+
"line": 745
|
|
9843
9908
|
},
|
|
9844
9909
|
"name": "installCommand",
|
|
9845
9910
|
"optional": true,
|
|
@@ -9909,7 +9974,7 @@
|
|
|
9909
9974
|
"kind": "interface",
|
|
9910
9975
|
"locationInModule": {
|
|
9911
9976
|
"filename": "deployment-stack-pipeline/pipeline.ts",
|
|
9912
|
-
"line":
|
|
9977
|
+
"line": 82
|
|
9913
9978
|
},
|
|
9914
9979
|
"name": "StackConfigProps",
|
|
9915
9980
|
"namespace": "deploymentPipeline",
|
|
@@ -9923,7 +9988,7 @@
|
|
|
9923
9988
|
"immutable": true,
|
|
9924
9989
|
"locationInModule": {
|
|
9925
9990
|
"filename": "deployment-stack-pipeline/pipeline.ts",
|
|
9926
|
-
"line":
|
|
9991
|
+
"line": 86
|
|
9927
9992
|
},
|
|
9928
9993
|
"name": "beta",
|
|
9929
9994
|
"type": {
|
|
@@ -9944,7 +10009,7 @@
|
|
|
9944
10009
|
"immutable": true,
|
|
9945
10010
|
"locationInModule": {
|
|
9946
10011
|
"filename": "deployment-stack-pipeline/pipeline.ts",
|
|
9947
|
-
"line":
|
|
10012
|
+
"line": 90
|
|
9948
10013
|
},
|
|
9949
10014
|
"name": "gamma",
|
|
9950
10015
|
"type": {
|
|
@@ -9965,7 +10030,7 @@
|
|
|
9965
10030
|
"immutable": true,
|
|
9966
10031
|
"locationInModule": {
|
|
9967
10032
|
"filename": "deployment-stack-pipeline/pipeline.ts",
|
|
9968
|
-
"line":
|
|
10033
|
+
"line": 94
|
|
9969
10034
|
},
|
|
9970
10035
|
"name": "prod",
|
|
9971
10036
|
"type": {
|
|
@@ -9990,7 +10055,7 @@
|
|
|
9990
10055
|
"kind": "interface",
|
|
9991
10056
|
"locationInModule": {
|
|
9992
10057
|
"filename": "deployment-stack-pipeline/pipeline.ts",
|
|
9993
|
-
"line":
|
|
10058
|
+
"line": 67
|
|
9994
10059
|
},
|
|
9995
10060
|
"name": "StageEnvProps",
|
|
9996
10061
|
"namespace": "deploymentPipeline",
|
|
@@ -10004,7 +10069,7 @@
|
|
|
10004
10069
|
"immutable": true,
|
|
10005
10070
|
"locationInModule": {
|
|
10006
10071
|
"filename": "deployment-stack-pipeline/pipeline.ts",
|
|
10007
|
-
"line":
|
|
10072
|
+
"line": 71
|
|
10008
10073
|
},
|
|
10009
10074
|
"name": "beta",
|
|
10010
10075
|
"type": {
|
|
@@ -10020,7 +10085,7 @@
|
|
|
10020
10085
|
"immutable": true,
|
|
10021
10086
|
"locationInModule": {
|
|
10022
10087
|
"filename": "deployment-stack-pipeline/pipeline.ts",
|
|
10023
|
-
"line":
|
|
10088
|
+
"line": 75
|
|
10024
10089
|
},
|
|
10025
10090
|
"name": "gamma",
|
|
10026
10091
|
"type": {
|
|
@@ -10036,7 +10101,7 @@
|
|
|
10036
10101
|
"immutable": true,
|
|
10037
10102
|
"locationInModule": {
|
|
10038
10103
|
"filename": "deployment-stack-pipeline/pipeline.ts",
|
|
10039
|
-
"line":
|
|
10104
|
+
"line": 79
|
|
10040
10105
|
},
|
|
10041
10106
|
"name": "prod",
|
|
10042
10107
|
"type": {
|
|
@@ -11911,6 +11976,6 @@
|
|
|
11911
11976
|
"symbolId": "shared-config/slack:SlackAlerts"
|
|
11912
11977
|
}
|
|
11913
11978
|
},
|
|
11914
|
-
"version": "1.0
|
|
11915
|
-
"fingerprint": "
|
|
11979
|
+
"version": "1.1.0",
|
|
11980
|
+
"fingerprint": "f+Y/SautOwRY+yUpMkV1ROtib0cW5HISrSkdL9wnX6w="
|
|
11916
11981
|
}
|
|
@@ -15,7 +15,7 @@ const aws_lambda_1 = require("aws-cdk-lib/aws-lambda");
|
|
|
15
15
|
const aws_route53_targets_1 = require("aws-cdk-lib/aws-route53-targets");
|
|
16
16
|
const config_1 = require("./config");
|
|
17
17
|
class OrcaBusApiGateway extends constructs_1.Construct {
|
|
18
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@orcabus/platform-cdk-constructs.apigateway.OrcaBusApiGateway", version: "1.0
|
|
18
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@orcabus/platform-cdk-constructs.apigateway.OrcaBusApiGateway", version: "1.1.0" };
|
|
19
19
|
/**
|
|
20
20
|
* The AWS region where the API Gateway is deployed.
|
|
21
21
|
*/
|
|
@@ -13,7 +13,7 @@ exports.CROSS_DEPLOYMENT_ARTIFACT_BUCKET_NAME = "orcabus-cross-deployment-codepi
|
|
|
13
13
|
exports.CROSS_DEPLOYMENT_ARTIFACT_KMS_ALIAS = "orcabus-cross-deployment-codepipeline-artifact";
|
|
14
14
|
exports.CROSS_DEPLOYMENT_ARTIFACT_KMS_ARN_SSM_PARAMETER_NAME = "/orcabus/deployment-stack-pipeline/artifact-bucket/kms-key-arn";
|
|
15
15
|
class CrossDeploymentArtifactBucket extends constructs_1.Construct {
|
|
16
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@orcabus/platform-cdk-constructs.deploymentPipeline.CrossDeploymentArtifactBucket", version: "1.0
|
|
16
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@orcabus/platform-cdk-constructs.deploymentPipeline.CrossDeploymentArtifactBucket", version: "1.1.0" };
|
|
17
17
|
/**
|
|
18
18
|
* The S3 bucket used to store artifacts for cross-deployment pipelines.
|
|
19
19
|
*/
|
|
@@ -40,4 +40,4 @@ class CodeBuildCacheBucket extends constructs_1.Construct {
|
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
exports.CodeBuildCacheBucket = CodeBuildCacheBucket;
|
|
43
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
43
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FjaGUtYnVja2V0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiY2FjaGUtYnVja2V0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLDJDQUF1QztBQUN2QywrQ0FBcUQ7QUFDckQsNkNBQTRDO0FBRTVDOztHQUVHO0FBQ1UsUUFBQSxzQkFBc0IsR0FBRyxzQ0FBc0MsQ0FBQztBQVM3RTs7R0FFRztBQUNILE1BQWEsb0JBQXFCLFNBQVEsc0JBQVM7SUFDakQ7O09BRUc7SUFDYSxXQUFXLENBQVU7SUFFckMsWUFBWSxLQUFnQixFQUFFLEVBQVU7UUFDdEMsS0FBSyxDQUFDLEtBQUssRUFBRSxFQUFFLENBQUMsQ0FBQztRQUVqQixJQUFJLENBQUMsV0FBVyxHQUFHLElBQUksZUFBTSxDQUFDLElBQUksRUFBRSxhQUFhLEVBQUU7WUFDakQsVUFBVSxFQUFFLDhCQUFzQjtZQUNsQyxTQUFTLEVBQUUsS0FBSztZQUNoQixhQUFhLEVBQUUsMkJBQWEsQ0FBQyxNQUFNO1lBQ25DLFVBQVUsRUFBRSxJQUFJO1NBQ2pCLENBQUMsQ0FBQztJQUNMLENBQUM7SUFFRDs7OztPQUlHO0lBQ0ksTUFBTSxDQUFDLFVBQVUsQ0FBQyxLQUFnQjtRQUN2QyxNQUFNLFdBQVcsR0FBRyxlQUFNLENBQUMsb0JBQW9CLENBQUMsS0FBSyxFQUFFLGFBQWEsRUFBRTtZQUNwRSxVQUFVLEVBQUUsOEJBQXNCO1NBQ25DLENBQUMsQ0FBQztRQUVILE9BQU87WUFDTCxXQUFXO1NBQ1osQ0FBQztJQUNKLENBQUM7Q0FDRjtBQS9CRCxvREErQkMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb25zdHJ1Y3QgfSBmcm9tIFwiY29uc3RydWN0c1wiO1xuaW1wb3J0IHsgQnVja2V0LCBJQnVja2V0IH0gZnJvbSBcImF3cy1jZGstbGliL2F3cy1zM1wiO1xuaW1wb3J0IHsgUmVtb3ZhbFBvbGljeSB9IGZyb20gXCJhd3MtY2RrLWxpYlwiO1xuXG4vKipcbiAqIFRoZSBDb2RlQnVpbGQgY2FjaGUgYnVja2V0LlxuICovXG5leHBvcnQgY29uc3QgQ09ERUJVSUxEX0NBQ0hFX0JVQ0tFVCA9IFwib3JjYWJ1cy1jb2RlYnVpbGQtY2FjaGUtMzgzODU2NzkxNjY4XCI7XG5cbmV4cG9ydCBpbnRlcmZhY2UgSUNhY2hlQnVja2V0IHtcbiAgLyoqXG4gICAqIFRoZSBTMyBidWNrZXQgdXNlZCB0byBjYWNoZSBDb2RlQnVpbGQgYnVpbGRzLlxuICAgKi9cbiAgcmVhZG9ubHkgY2FjaGVCdWNrZXQ6IElCdWNrZXQ7XG59XG5cbi8qKlxuICogQ3JlYXRlcyBhIGNhY2hlIGJ1Y2tldCBmb3IgdXNlIHdpdGggQ29kZUJ1aWxkLlxuICovXG5leHBvcnQgY2xhc3MgQ29kZUJ1aWxkQ2FjaGVCdWNrZXQgZXh0ZW5kcyBDb25zdHJ1Y3QgaW1wbGVtZW50cyBJQ2FjaGVCdWNrZXQge1xuICAvKipcbiAgICogVGhlIFMzIGJ1Y2tldCB1c2VkIHRvIGNhY2hlIENvZGVCdWlsZCBidWlsZHMuXG4gICAqL1xuICBwdWJsaWMgcmVhZG9ubHkgY2FjaGVCdWNrZXQ6IElCdWNrZXQ7XG5cbiAgY29uc3RydWN0b3Ioc2NvcGU6IENvbnN0cnVjdCwgaWQ6IHN0cmluZykge1xuICAgIHN1cGVyKHNjb3BlLCBpZCk7XG5cbiAgICB0aGlzLmNhY2hlQnVja2V0ID0gbmV3IEJ1Y2tldCh0aGlzLCBcIkNhY2hlQnVja2V0XCIsIHtcbiAgICAgIGJ1Y2tldE5hbWU6IENPREVCVUlMRF9DQUNIRV9CVUNLRVQsXG4gICAgICB2ZXJzaW9uZWQ6IGZhbHNlLFxuICAgICAgcmVtb3ZhbFBvbGljeTogUmVtb3ZhbFBvbGljeS5SRVRBSU4sXG4gICAgICBlbmZvcmNlU1NMOiB0cnVlLFxuICAgIH0pO1xuICB9XG5cbiAgLyoqXG4gICAqIEltcG9ydHMgYW4gZXhpc3RpbmcgY2FjaGUgYnVja2V0IHVzaW5nIHJlc291cmNlIGxvb2t1cHMuXG4gICAqIEBwYXJhbSBzY29wZSBUaGUgc2NvcGUgaW4gd2hpY2ggdG8gbG9vayB1cCB0aGUgYXJ0aWZhY3QgYnVja2V0LlxuICAgKiBAcmV0dXJucyBJQ2FjaGVCdWNrZXRcbiAgICovXG4gIHB1YmxpYyBzdGF0aWMgZnJvbUxvb2t1cChzY29wZTogQ29uc3RydWN0KTogSUNhY2hlQnVja2V0IHtcbiAgICBjb25zdCBjYWNoZUJ1Y2tldCA9IEJ1Y2tldC5mcm9tQnVja2V0QXR0cmlidXRlcyhzY29wZSwgXCJDYWNoZUJ1Y2tldFwiLCB7XG4gICAgICBidWNrZXROYW1lOiBDT0RFQlVJTERfQ0FDSEVfQlVDS0VULFxuICAgIH0pO1xuXG4gICAgcmV0dXJuIHtcbiAgICAgIGNhY2hlQnVja2V0LFxuICAgIH07XG4gIH1cbn1cbiJdfQ==
|
|
@@ -2,9 +2,9 @@ import { Construct } from "constructs";
|
|
|
2
2
|
import { Environment } from "aws-cdk-lib";
|
|
3
3
|
import { Pipeline, PipelineNotificationEvents } from "aws-cdk-lib/aws-codepipeline";
|
|
4
4
|
/**
|
|
5
|
-
* The default partial build spec for
|
|
5
|
+
* The default partial build spec for code build steps in the pipeline.
|
|
6
6
|
*/
|
|
7
|
-
export declare const
|
|
7
|
+
export declare const DEFAULT_PARTIAL_BUILD_SPEC: {
|
|
8
8
|
phases: {
|
|
9
9
|
install: {
|
|
10
10
|
"runtime-versions": {
|
|
@@ -12,7 +12,12 @@ export declare const DEFAULT_SYNTH_STEP_PARTIAL_BUILD_SPEC: {
|
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
14
|
};
|
|
15
|
+
version: string;
|
|
15
16
|
};
|
|
17
|
+
/**
|
|
18
|
+
* The default install commands for CodeBuild steps.
|
|
19
|
+
*/
|
|
20
|
+
export declare const DEFAULT_INSTALL_COMMANDS: string[];
|
|
16
21
|
export interface StageEnvProps {
|
|
17
22
|
/**
|
|
18
23
|
* The environment for the beta stage
|
|
@@ -128,11 +133,18 @@ export interface DeploymentStackPipelineProps {
|
|
|
128
133
|
*/
|
|
129
134
|
readonly cdkOut?: string;
|
|
130
135
|
/**
|
|
131
|
-
* Additional configuration for the CodeBuild step during the CDK synth phase. It will passed as the
|
|
136
|
+
* Additional configuration for the CodeBuild step during the CDK synth phase. It will be passed as the
|
|
137
|
+
* `partialBuildSpec` to the `CodeBuildStep`.
|
|
132
138
|
*
|
|
133
|
-
* @default
|
|
139
|
+
* @default DEFAULT_PARTIAL_BUILD_SPEC
|
|
134
140
|
*/
|
|
135
141
|
readonly synthBuildSpec?: Record<string, any>;
|
|
142
|
+
/**
|
|
143
|
+
* The install commands for the synth step.
|
|
144
|
+
*
|
|
145
|
+
* @default DEFAULT_INSTALL_COMMANDS
|
|
146
|
+
*/
|
|
147
|
+
readonly synthInstallCommands?: string[];
|
|
136
148
|
/**
|
|
137
149
|
* Configuration for the CodeBuild step that runs unit tests for the main application code.
|
|
138
150
|
* This step will execute in parallel with {@link unitIacTestConfig} as part of the synth stage dependencies.
|
|
@@ -198,9 +210,6 @@ export interface DeploymentStackPipelineProps {
|
|
|
198
210
|
* Options for creating an S3 cache to use across build steps. If specified, the bucket under
|
|
199
211
|
* `CODEBUILD_CACHE_BUCKET` will be used for caching. This bucket is managed by the shared-resources
|
|
200
212
|
* service.
|
|
201
|
-
*
|
|
202
|
-
* The partial buildspec must still contain definitions for paths and keys if used.
|
|
203
|
-
* @see https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#build-spec.cache
|
|
204
213
|
*/
|
|
205
214
|
export interface CacheOptions {
|
|
206
215
|
/**
|
|
@@ -208,6 +217,18 @@ export interface CacheOptions {
|
|
|
208
217
|
* all projects so a namespace is required to uniquely identify the cache. Use the project name, e.g. `filemanager`.
|
|
209
218
|
*/
|
|
210
219
|
readonly namespace: string;
|
|
220
|
+
/**
|
|
221
|
+
* The prefix for the cache controlling the prefix on S3. If left unspecified, this will default to the namespace.
|
|
222
|
+
*/
|
|
223
|
+
readonly prefix?: string;
|
|
224
|
+
/**
|
|
225
|
+
* The paths to cache. This will default to the `node_modules` directory if unspecified.
|
|
226
|
+
*
|
|
227
|
+
* Note that if the cache is specified in the buildspec, that config will take precedence. This option is only used
|
|
228
|
+
* as a convenience to specify paths, and will not override the buildspec cache config.
|
|
229
|
+
* @see https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#build-spec.cache
|
|
230
|
+
*/
|
|
231
|
+
readonly paths?: string[];
|
|
211
232
|
}
|
|
212
233
|
/**
|
|
213
234
|
* A CDK construct that creates a deployment pipeline across environments for the OrcaBus project.
|
|
@@ -247,7 +268,7 @@ export interface FailOnDriftBuildStepProps {
|
|
|
247
268
|
* If your app is in a subdirectory, prefix with "cd <dir> &&".
|
|
248
269
|
* Example: "cd dev && pnpm install --frozen-lockfile --ignore-scripts"
|
|
249
270
|
*
|
|
250
|
-
*
|
|
271
|
+
* @default DEFAULT_INSTALL_COMMANDS merged with &&.
|
|
251
272
|
*/
|
|
252
273
|
readonly installCommand?: string;
|
|
253
274
|
}
|