@orcabus/platform-cdk-constructs 0.0.21 → 0.0.23

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.
Files changed (34) hide show
  1. package/.jsii +367 -35
  2. package/api-gateway/api-gateway.js +1 -1
  3. package/deployment-stack-pipeline/artifact-bucket.js +1 -1
  4. package/deployment-stack-pipeline/pipeline.js +1 -1
  5. package/dynamodb/index.js +2 -2
  6. package/ecs/config.d.ts +3 -0
  7. package/ecs/config.js +4 -1
  8. package/ecs/index.d.ts +2 -2
  9. package/ecs/index.js +15 -4
  10. package/index.d.ts +1 -0
  11. package/index.js +3 -2
  12. package/index.ts +1 -0
  13. package/lambda/index.js +1 -1
  14. package/lambda/layers/orcabus_api_tools/poetry.lock +247 -1
  15. package/lambda/layers/orcabus_api_tools/pyproject.toml +1 -0
  16. package/lambda/layers/orcabus_api_tools/src/orcabus_api_tools/fastq/__init__.py +9 -0
  17. package/lambda/layers/orcabus_api_tools/src/orcabus_api_tools/fastq/query_helpers.py +2 -1
  18. package/lambda/layers/orcabus_api_tools/src/orcabus_api_tools/fastq/validation_helpers.py +25 -0
  19. package/monitored-queue/README.md +21 -0
  20. package/monitored-queue/index.d.ts +57 -0
  21. package/monitored-queue/index.js +55 -0
  22. package/named-lambda-role/index.js +1 -1
  23. package/package.json +1 -1
  24. package/provider-function/index.js +1 -1
  25. package/shared-config/index.d.ts +1 -0
  26. package/shared-config/index.js +3 -2
  27. package/shared-config/networking.js +2 -2
  28. package/shared-config/slack.d.ts +16 -0
  29. package/shared-config/slack.js +28 -0
  30. package/test/monitored-queue.test.js +72 -0
  31. package/test/provider-function.test.d.ts +1 -0
  32. package/test/provider-function.test.js +121 -0
  33. package/test/providerFunction.test.js +0 -121
  34. /package/test/{providerFunction.test.d.ts → monitored-queue.test.d.ts} +0 -0
package/.jsii CHANGED
@@ -4058,6 +4058,16 @@
4058
4058
  },
4059
4059
  "symbolId": "lambda/index:"
4060
4060
  },
4061
+ "@orcabus/platform-cdk-constructs.monitoredQueue": {
4062
+ "locationInModule": {
4063
+ "filename": "index.ts",
4064
+ "line": 22
4065
+ },
4066
+ "readme": {
4067
+ "markdown": "# MonitoredQueue\n\nA construct creating an SQS queue that has an attached dead-letter queue and an alarm that triggers when a message\narrives in the dead-letter queue. An SNS topic can also be notified when the alarm triggers.\n\nUsage example:\n\n```ts\nnew MonitoredQueue(this, \"MonitoredQueue\", {\n queueProps: {\n queueName: \"queue\",\n removalPolicy: RemovalPolicy.RETAIN,\n },\n dlqProps: {\n queueName: `$queue-dlq`,\n removalPolicy: RemovalPolicy.RETAIN,\n retentionPeriod: Duration.days(14),\n },\n snsTopicArn: SlackAlerts.formatArn(this),\n});\n```\n"
4068
+ },
4069
+ "symbolId": "monitored-queue/index:"
4070
+ },
4061
4071
  "@orcabus/platform-cdk-constructs.namedLambdaRole": {
4062
4072
  "locationInModule": {
4063
4073
  "filename": "index.ts",
@@ -4137,6 +4147,13 @@
4137
4147
  },
4138
4148
  "symbolId": "shared-config/s3:"
4139
4149
  },
4150
+ "@orcabus/platform-cdk-constructs.sharedConfig.slack": {
4151
+ "locationInModule": {
4152
+ "filename": "shared-config/index.ts",
4153
+ "line": 8
4154
+ },
4155
+ "symbolId": "shared-config/slack:"
4156
+ },
4140
4157
  "@orcabus/platform-cdk-constructs.utils": {
4141
4158
  "locationInModule": {
4142
4159
  "filename": "index.ts",
@@ -5391,7 +5408,7 @@
5391
5408
  },
5392
5409
  "locationInModule": {
5393
5410
  "filename": "ecs/index.ts",
5394
- "line": 85
5411
+ "line": 88
5395
5412
  },
5396
5413
  "parameters": [
5397
5414
  {
@@ -5417,7 +5434,7 @@
5417
5434
  "kind": "class",
5418
5435
  "locationInModule": {
5419
5436
  "filename": "ecs/index.ts",
5420
- "line": 79
5437
+ "line": 82
5421
5438
  },
5422
5439
  "name": "EcsFargateTaskConstruct",
5423
5440
  "namespace": "ecs",
@@ -5429,7 +5446,7 @@
5429
5446
  "immutable": true,
5430
5447
  "locationInModule": {
5431
5448
  "filename": "ecs/index.ts",
5432
- "line": 80
5449
+ "line": 83
5433
5450
  },
5434
5451
  "name": "cluster",
5435
5452
  "type": {
@@ -5443,7 +5460,7 @@
5443
5460
  "immutable": true,
5444
5461
  "locationInModule": {
5445
5462
  "filename": "ecs/index.ts",
5446
- "line": 83
5463
+ "line": 86
5447
5464
  },
5448
5465
  "name": "containerDefinition",
5449
5466
  "type": {
@@ -5457,7 +5474,7 @@
5457
5474
  "immutable": true,
5458
5475
  "locationInModule": {
5459
5476
  "filename": "ecs/index.ts",
5460
- "line": 82
5477
+ "line": 85
5461
5478
  },
5462
5479
  "name": "securityGroup",
5463
5480
  "type": {
@@ -5471,7 +5488,7 @@
5471
5488
  "immutable": true,
5472
5489
  "locationInModule": {
5473
5490
  "filename": "ecs/index.ts",
5474
- "line": 81
5491
+ "line": 84
5475
5492
  },
5476
5493
  "name": "taskDefinition",
5477
5494
  "type": {
@@ -5491,31 +5508,11 @@
5491
5508
  "kind": "interface",
5492
5509
  "locationInModule": {
5493
5510
  "filename": "ecs/index.ts",
5494
- "line": 39
5511
+ "line": 42
5495
5512
  },
5496
5513
  "name": "FargateEcsTaskConstructProps",
5497
5514
  "namespace": "ecs",
5498
5515
  "properties": [
5499
- {
5500
- "abstract": true,
5501
- "docs": {
5502
- "custom": {
5503
- "DEFAULT_ARCHITECTURE": "."
5504
- },
5505
- "remarks": "If not provided, the default is",
5506
- "stability": "experimental",
5507
- "summary": "The architecture of the container."
5508
- },
5509
- "immutable": true,
5510
- "locationInModule": {
5511
- "filename": "ecs/index.ts",
5512
- "line": 65
5513
- },
5514
- "name": "architecture",
5515
- "type": {
5516
- "primitive": "string"
5517
- }
5518
- },
5519
5516
  {
5520
5517
  "abstract": true,
5521
5518
  "docs": {
@@ -5526,7 +5523,7 @@
5526
5523
  "immutable": true,
5527
5524
  "locationInModule": {
5528
5525
  "filename": "ecs/index.ts",
5529
- "line": 71
5526
+ "line": 74
5530
5527
  },
5531
5528
  "name": "containerName",
5532
5529
  "type": {
@@ -5543,7 +5540,7 @@
5543
5540
  "immutable": true,
5544
5541
  "locationInModule": {
5545
5542
  "filename": "ecs/index.ts",
5546
- "line": 76
5543
+ "line": 79
5547
5544
  },
5548
5545
  "name": "dockerPath",
5549
5546
  "type": {
@@ -5563,7 +5560,7 @@
5563
5560
  "immutable": true,
5564
5561
  "locationInModule": {
5565
5562
  "filename": "ecs/index.ts",
5566
- "line": 60
5563
+ "line": 63
5567
5564
  },
5568
5565
  "name": "memoryLimitGiB",
5569
5566
  "type": {
@@ -5582,13 +5579,34 @@
5582
5579
  "immutable": true,
5583
5580
  "locationInModule": {
5584
5581
  "filename": "ecs/index.ts",
5585
- "line": 53
5582
+ "line": 56
5586
5583
  },
5587
5584
  "name": "nCpus",
5588
5585
  "type": {
5589
5586
  "primitive": "number"
5590
5587
  }
5591
5588
  },
5589
+ {
5590
+ "abstract": true,
5591
+ "docs": {
5592
+ "custom": {
5593
+ "DEFAULT_ARCHITECTURE": "."
5594
+ },
5595
+ "remarks": "If not provided, the default is",
5596
+ "stability": "experimental",
5597
+ "summary": "The architecture of the container."
5598
+ },
5599
+ "immutable": true,
5600
+ "locationInModule": {
5601
+ "filename": "ecs/index.ts",
5602
+ "line": 68
5603
+ },
5604
+ "name": "architecture",
5605
+ "optional": true,
5606
+ "type": {
5607
+ "primitive": "string"
5608
+ }
5609
+ },
5592
5610
  {
5593
5611
  "abstract": true,
5594
5612
  "docs": {
@@ -5602,9 +5620,10 @@
5602
5620
  "immutable": true,
5603
5621
  "locationInModule": {
5604
5622
  "filename": "ecs/index.ts",
5605
- "line": 48
5623
+ "line": 51
5606
5624
  },
5607
5625
  "name": "runtimePlatform",
5626
+ "optional": true,
5608
5627
  "type": {
5609
5628
  "fqn": "aws-cdk-lib.aws_ecs.CpuArchitecture"
5610
5629
  }
@@ -5622,7 +5641,7 @@
5622
5641
  "immutable": true,
5623
5642
  "locationInModule": {
5624
5643
  "filename": "ecs/index.ts",
5625
- "line": 43
5644
+ "line": 46
5626
5645
  },
5627
5646
  "name": "vpcName",
5628
5647
  "optional": true,
@@ -6002,6 +6021,270 @@
6002
6021
  ],
6003
6022
  "symbolId": "lambda/index:PythonUvFunctionProps"
6004
6023
  },
6024
+ "@orcabus/platform-cdk-constructs.monitoredQueue.MonitoredQueue": {
6025
+ "assembly": "@orcabus/platform-cdk-constructs",
6026
+ "base": "constructs.Construct",
6027
+ "docs": {
6028
+ "stability": "experimental",
6029
+ "summary": "A construct that defines an SQS queue, along with a DLQ and CloudWatch alarms that can notify an SNS topic."
6030
+ },
6031
+ "fqn": "@orcabus/platform-cdk-constructs.monitoredQueue.MonitoredQueue",
6032
+ "initializer": {
6033
+ "docs": {
6034
+ "stability": "experimental"
6035
+ },
6036
+ "locationInModule": {
6037
+ "filename": "monitored-queue/index.ts",
6038
+ "line": 62
6039
+ },
6040
+ "parameters": [
6041
+ {
6042
+ "name": "scope",
6043
+ "type": {
6044
+ "fqn": "constructs.Construct"
6045
+ }
6046
+ },
6047
+ {
6048
+ "name": "id",
6049
+ "type": {
6050
+ "primitive": "string"
6051
+ }
6052
+ },
6053
+ {
6054
+ "name": "props",
6055
+ "type": {
6056
+ "fqn": "@orcabus/platform-cdk-constructs.monitoredQueue.MonitoredQueueProps"
6057
+ }
6058
+ }
6059
+ ]
6060
+ },
6061
+ "kind": "class",
6062
+ "locationInModule": {
6063
+ "filename": "monitored-queue/index.ts",
6064
+ "line": 57
6065
+ },
6066
+ "name": "MonitoredQueue",
6067
+ "namespace": "monitoredQueue",
6068
+ "properties": [
6069
+ {
6070
+ "docs": {
6071
+ "stability": "experimental"
6072
+ },
6073
+ "immutable": true,
6074
+ "locationInModule": {
6075
+ "filename": "monitored-queue/index.ts",
6076
+ "line": 60
6077
+ },
6078
+ "name": "alarm",
6079
+ "type": {
6080
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Alarm"
6081
+ }
6082
+ },
6083
+ {
6084
+ "docs": {
6085
+ "stability": "experimental"
6086
+ },
6087
+ "immutable": true,
6088
+ "locationInModule": {
6089
+ "filename": "monitored-queue/index.ts",
6090
+ "line": 59
6091
+ },
6092
+ "name": "deadLetterQueue",
6093
+ "type": {
6094
+ "fqn": "aws-cdk-lib.aws_sqs.Queue"
6095
+ }
6096
+ },
6097
+ {
6098
+ "docs": {
6099
+ "stability": "experimental"
6100
+ },
6101
+ "immutable": true,
6102
+ "locationInModule": {
6103
+ "filename": "monitored-queue/index.ts",
6104
+ "line": 58
6105
+ },
6106
+ "name": "queue",
6107
+ "type": {
6108
+ "fqn": "aws-cdk-lib.aws_sqs.Queue"
6109
+ }
6110
+ },
6111
+ {
6112
+ "docs": {
6113
+ "stability": "experimental",
6114
+ "summary": "Get the SQS queue ARN."
6115
+ },
6116
+ "immutable": true,
6117
+ "locationInModule": {
6118
+ "filename": "monitored-queue/index.ts",
6119
+ "line": 98
6120
+ },
6121
+ "name": "queueArn",
6122
+ "type": {
6123
+ "primitive": "string"
6124
+ }
6125
+ }
6126
+ ],
6127
+ "symbolId": "monitored-queue/index:MonitoredQueue"
6128
+ },
6129
+ "@orcabus/platform-cdk-constructs.monitoredQueue.MonitoredQueueProps": {
6130
+ "assembly": "@orcabus/platform-cdk-constructs",
6131
+ "datatype": true,
6132
+ "docs": {
6133
+ "stability": "experimental",
6134
+ "summary": "Properties for the monitored queue."
6135
+ },
6136
+ "fqn": "@orcabus/platform-cdk-constructs.monitoredQueue.MonitoredQueueProps",
6137
+ "kind": "interface",
6138
+ "locationInModule": {
6139
+ "filename": "monitored-queue/index.ts",
6140
+ "line": 15
6141
+ },
6142
+ "name": "MonitoredQueueProps",
6143
+ "namespace": "monitoredQueue",
6144
+ "properties": [
6145
+ {
6146
+ "abstract": true,
6147
+ "docs": {
6148
+ "stability": "experimental",
6149
+ "summary": "The props for the dead-letter SQS queue when a message fails."
6150
+ },
6151
+ "immutable": true,
6152
+ "locationInModule": {
6153
+ "filename": "monitored-queue/index.ts",
6154
+ "line": 23
6155
+ },
6156
+ "name": "dlqProps",
6157
+ "optional": true,
6158
+ "type": {
6159
+ "fqn": "@orcabus/platform-cdk-constructs.monitoredQueue.QueueProps"
6160
+ }
6161
+ },
6162
+ {
6163
+ "abstract": true,
6164
+ "docs": {
6165
+ "remarks": "Defaults to 3.",
6166
+ "stability": "experimental",
6167
+ "summary": "The maximum number of times a message can be unsuccessfully received before pushing it to the DLQ."
6168
+ },
6169
+ "immutable": true,
6170
+ "locationInModule": {
6171
+ "filename": "monitored-queue/index.ts",
6172
+ "line": 28
6173
+ },
6174
+ "name": "maxReceiveCount",
6175
+ "optional": true,
6176
+ "type": {
6177
+ "primitive": "number"
6178
+ }
6179
+ },
6180
+ {
6181
+ "abstract": true,
6182
+ "docs": {
6183
+ "stability": "experimental",
6184
+ "summary": "The props for the main SQS queue."
6185
+ },
6186
+ "immutable": true,
6187
+ "locationInModule": {
6188
+ "filename": "monitored-queue/index.ts",
6189
+ "line": 19
6190
+ },
6191
+ "name": "queueProps",
6192
+ "optional": true,
6193
+ "type": {
6194
+ "fqn": "@orcabus/platform-cdk-constructs.monitoredQueue.QueueProps"
6195
+ }
6196
+ },
6197
+ {
6198
+ "abstract": true,
6199
+ "docs": {
6200
+ "stability": "experimental",
6201
+ "summary": "Send the alarm notification to the SNS topic with the ARN."
6202
+ },
6203
+ "immutable": true,
6204
+ "locationInModule": {
6205
+ "filename": "monitored-queue/index.ts",
6206
+ "line": 32
6207
+ },
6208
+ "name": "snsTopicArn",
6209
+ "optional": true,
6210
+ "type": {
6211
+ "primitive": "string"
6212
+ }
6213
+ }
6214
+ ],
6215
+ "symbolId": "monitored-queue/index:MonitoredQueueProps"
6216
+ },
6217
+ "@orcabus/platform-cdk-constructs.monitoredQueue.QueueProps": {
6218
+ "assembly": "@orcabus/platform-cdk-constructs",
6219
+ "datatype": true,
6220
+ "docs": {
6221
+ "stability": "experimental",
6222
+ "summary": "Properties for an SQS queue."
6223
+ },
6224
+ "fqn": "@orcabus/platform-cdk-constructs.monitoredQueue.QueueProps",
6225
+ "kind": "interface",
6226
+ "locationInModule": {
6227
+ "filename": "monitored-queue/index.ts",
6228
+ "line": 38
6229
+ },
6230
+ "name": "QueueProps",
6231
+ "namespace": "monitoredQueue",
6232
+ "properties": [
6233
+ {
6234
+ "abstract": true,
6235
+ "docs": {
6236
+ "remarks": "Defaults to the automatically generated name.",
6237
+ "stability": "experimental",
6238
+ "summary": "The name of the queue to construct."
6239
+ },
6240
+ "immutable": true,
6241
+ "locationInModule": {
6242
+ "filename": "monitored-queue/index.ts",
6243
+ "line": 42
6244
+ },
6245
+ "name": "queueName",
6246
+ "optional": true,
6247
+ "type": {
6248
+ "primitive": "string"
6249
+ }
6250
+ },
6251
+ {
6252
+ "abstract": true,
6253
+ "docs": {
6254
+ "stability": "experimental",
6255
+ "summary": "The removal policy of the queue."
6256
+ },
6257
+ "immutable": true,
6258
+ "locationInModule": {
6259
+ "filename": "monitored-queue/index.ts",
6260
+ "line": 50
6261
+ },
6262
+ "name": "removalPolicy",
6263
+ "optional": true,
6264
+ "type": {
6265
+ "fqn": "aws-cdk-lib.RemovalPolicy"
6266
+ }
6267
+ },
6268
+ {
6269
+ "abstract": true,
6270
+ "docs": {
6271
+ "stability": "experimental",
6272
+ "summary": "How long messages stay in the queue."
6273
+ },
6274
+ "immutable": true,
6275
+ "locationInModule": {
6276
+ "filename": "monitored-queue/index.ts",
6277
+ "line": 46
6278
+ },
6279
+ "name": "retentionPeriod",
6280
+ "optional": true,
6281
+ "type": {
6282
+ "fqn": "aws-cdk-lib.Duration"
6283
+ }
6284
+ }
6285
+ ],
6286
+ "symbolId": "monitored-queue/index:QueueProps"
6287
+ },
6005
6288
  "@orcabus/platform-cdk-constructs.namedLambdaRole.NamedLambdaRole": {
6006
6289
  "assembly": "@orcabus/platform-cdk-constructs",
6007
6290
  "base": "aws-cdk-lib.aws_iam.Role",
@@ -6392,8 +6675,57 @@
6392
6675
  "name": "OrcaBusVpc",
6393
6676
  "namespace": "sharedConfig.networking",
6394
6677
  "symbolId": "shared-config/networking:OrcaBusVpc"
6678
+ },
6679
+ "@orcabus/platform-cdk-constructs.sharedConfig.slack.SlackAlerts": {
6680
+ "assembly": "@orcabus/platform-cdk-constructs",
6681
+ "docs": {
6682
+ "stability": "experimental",
6683
+ "summary": "A helper class to construct the arn for the slack SNS topic."
6684
+ },
6685
+ "fqn": "@orcabus/platform-cdk-constructs.sharedConfig.slack.SlackAlerts",
6686
+ "initializer": {
6687
+ "docs": {
6688
+ "stability": "experimental"
6689
+ }
6690
+ },
6691
+ "kind": "class",
6692
+ "locationInModule": {
6693
+ "filename": "shared-config/slack.ts",
6694
+ "line": 11
6695
+ },
6696
+ "methods": [
6697
+ {
6698
+ "docs": {
6699
+ "returns": "Arn",
6700
+ "stability": "experimental",
6701
+ "summary": "Format the ARN for the slack alerts SNS topic for the current stack."
6702
+ },
6703
+ "locationInModule": {
6704
+ "filename": "shared-config/slack.ts",
6705
+ "line": 17
6706
+ },
6707
+ "name": "formatArn",
6708
+ "parameters": [
6709
+ {
6710
+ "name": "stack",
6711
+ "type": {
6712
+ "fqn": "aws-cdk-lib.Stack"
6713
+ }
6714
+ }
6715
+ ],
6716
+ "returns": {
6717
+ "type": {
6718
+ "fqn": "aws-cdk-lib.Arn"
6719
+ }
6720
+ },
6721
+ "static": true
6722
+ }
6723
+ ],
6724
+ "name": "SlackAlerts",
6725
+ "namespace": "sharedConfig.slack",
6726
+ "symbolId": "shared-config/slack:SlackAlerts"
6395
6727
  }
6396
6728
  },
6397
- "version": "0.0.21",
6398
- "fingerprint": "ocycWmN0R4P5pAdGWJpdZGN2fHXJ4zpntMivR0rW1dM="
6729
+ "version": "0.0.23",
6730
+ "fingerprint": "4fn0wk+RzW3pVAC/lPFdr13Rjdu16ovw3uLpa6XVCSM="
6399
6731
  }
@@ -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: "0.0.21" };
18
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "@orcabus/platform-cdk-constructs.apigateway.OrcaBusApiGateway", version: "0.0.23" };
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: "0.0.21" };
16
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "@orcabus/platform-cdk-constructs.deploymentPipeline.CrossDeploymentArtifactBucket", version: "0.0.23" };
17
17
  /**
18
18
  * The S3 bucket used to store artifacts for cross-deployment pipelines.
19
19
  */
@@ -31,7 +31,7 @@ exports.DEFAULT_SYNTH_STEP_PARTIAL_BUILD_SPEC = {
31
31
  * before using this construct.
32
32
  */
33
33
  class DeploymentStackPipeline extends constructs_1.Construct {
34
- static [JSII_RTTI_SYMBOL_1] = { fqn: "@orcabus/platform-cdk-constructs.deploymentPipeline.DeploymentStackPipeline", version: "0.0.21" };
34
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "@orcabus/platform-cdk-constructs.deploymentPipeline.DeploymentStackPipeline", version: "0.0.23" };
35
35
  /**
36
36
  * The code pipeline construct that is created.
37
37
  */
package/dynamodb/index.js CHANGED
@@ -40,7 +40,7 @@ const dynamodb = __importStar(require("aws-cdk-lib/aws-dynamodb"));
40
40
  const aws_cdk_lib_1 = require("aws-cdk-lib");
41
41
  const config_1 = require("./config");
42
42
  class DynamoDbPartitionedConstruct extends constructs_1.Construct {
43
- static [JSII_RTTI_SYMBOL_1] = { fqn: "@orcabus/platform-cdk-constructs.dynamodb.DynamoDbPartitionedConstruct", version: "0.0.21" };
43
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "@orcabus/platform-cdk-constructs.dynamodb.DynamoDbPartitionedConstruct", version: "0.0.23" };
44
44
  table;
45
45
  constructor(scope, id, props) {
46
46
  super(scope, id);
@@ -75,7 +75,7 @@ class DynamoDbPartitionedConstruct extends constructs_1.Construct {
75
75
  }
76
76
  exports.DynamoDbPartitionedConstruct = DynamoDbPartitionedConstruct;
77
77
  class DynamoDbNonPartitionedConstruct extends constructs_1.Construct {
78
- static [JSII_RTTI_SYMBOL_1] = { fqn: "@orcabus/platform-cdk-constructs.dynamodb.DynamoDbNonPartitionedConstruct", version: "0.0.21" };
78
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "@orcabus/platform-cdk-constructs.dynamodb.DynamoDbNonPartitionedConstruct", version: "0.0.23" };
79
79
  table;
80
80
  constructor(scope, id, props) {
81
81
  super(scope, id);
package/ecs/config.d.ts CHANGED
@@ -1,3 +1,6 @@
1
+ /**
2
+ * @deprecated, use VPC_NAME from shared-config instead
3
+ */
1
4
  export declare const DEFAULT_MAIN_VPC_NAME = "main-vpc";
2
5
  export declare const DEFAULT_MEMORY_GB = 1;
3
6
  export declare const DEFAULT_VCPUS = 2;
package/ecs/config.js CHANGED
@@ -1,8 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DEFAULT_ARCHITECTURE = exports.DEFAULT_VCPUS = exports.DEFAULT_MEMORY_GB = exports.DEFAULT_MAIN_VPC_NAME = void 0;
4
+ /**
5
+ * @deprecated, use VPC_NAME from shared-config instead
6
+ */
4
7
  exports.DEFAULT_MAIN_VPC_NAME = 'main-vpc';
5
8
  exports.DEFAULT_MEMORY_GB = 1;
6
9
  exports.DEFAULT_VCPUS = 2;
7
10
  exports.DEFAULT_ARCHITECTURE = 'ARM64';
8
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlnLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiY29uZmlnLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFhLFFBQUEscUJBQXFCLEdBQUcsVUFBVSxDQUFBO0FBRWxDLFFBQUEsaUJBQWlCLEdBQUcsQ0FBQyxDQUFBO0FBQ3JCLFFBQUEsYUFBYSxHQUFHLENBQUMsQ0FBQTtBQUVqQixRQUFBLG9CQUFvQixHQUFHLE9BQU8sQ0FBQSIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBjb25zdCBERUZBVUxUX01BSU5fVlBDX05BTUUgPSAnbWFpbi12cGMnXG5cbmV4cG9ydCBjb25zdCBERUZBVUxUX01FTU9SWV9HQiA9IDFcbmV4cG9ydCBjb25zdCBERUZBVUxUX1ZDUFVTID0gMlxuXG5leHBvcnQgY29uc3QgREVGQVVMVF9BUkNISVRFQ1RVUkUgPSAnQVJNNjQnXG4iXX0=
11
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlnLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiY29uZmlnLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBOztHQUVHO0FBQ1UsUUFBQSxxQkFBcUIsR0FBRyxVQUFVLENBQUE7QUFFbEMsUUFBQSxpQkFBaUIsR0FBRyxDQUFDLENBQUE7QUFDckIsUUFBQSxhQUFhLEdBQUcsQ0FBQyxDQUFBO0FBR2pCLFFBQUEsb0JBQW9CLEdBQUcsT0FBTyxDQUFBIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBAZGVwcmVjYXRlZCwgdXNlIFZQQ19OQU1FIGZyb20gc2hhcmVkLWNvbmZpZyBpbnN0ZWFkXG4gKi9cbmV4cG9ydCBjb25zdCBERUZBVUxUX01BSU5fVlBDX05BTUUgPSAnbWFpbi12cGMnXG5cbmV4cG9ydCBjb25zdCBERUZBVUxUX01FTU9SWV9HQiA9IDFcbmV4cG9ydCBjb25zdCBERUZBVUxUX1ZDUFVTID0gMlxuXG5cbmV4cG9ydCBjb25zdCBERUZBVUxUX0FSQ0hJVEVDVFVSRSA9ICdBUk02NCdcbiJdfQ==
package/ecs/index.d.ts CHANGED
@@ -13,7 +13,7 @@ export interface FargateEcsTaskConstructProps {
13
13
  /**
14
14
  * The runtime CPU architecture, either X86_64 or ARM64. If not provided, the default is @DEFAULT_ARCHITECTURE.
15
15
  */
16
- readonly runtimePlatform: ecs.CpuArchitecture;
16
+ readonly runtimePlatform?: ecs.CpuArchitecture;
17
17
  /**
18
18
  * The number of CPUs to use, between 0.25 and 16. If not provided, the default is @DEFAULT_VCPUS.
19
19
  */
@@ -27,7 +27,7 @@ export interface FargateEcsTaskConstructProps {
27
27
  /**
28
28
  * The architecture of the container. If not provided, the default is @DEFAULT_ARCHITECTURE.
29
29
  */
30
- readonly architecture: Architecture;
30
+ readonly architecture?: Architecture;
31
31
  /**
32
32
  * The name of the container. This is a required property
33
33
  */