@orcabus/platform-cdk-constructs 0.0.5 → 0.0.7-alpha.3

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 (83) hide show
  1. package/.jsii +859 -10
  2. package/api-gateway/api-gateway.js +22 -4
  3. package/deployment-stack-pipeline/pipeline.js +8 -5
  4. package/dynamodb/config.d.ts +3 -0
  5. package/dynamodb/config.js +7 -0
  6. package/dynamodb/index.d.ts +27 -0
  7. package/dynamodb/index.js +106 -0
  8. package/ecs/config.d.ts +4 -0
  9. package/ecs/config.js +8 -0
  10. package/ecs/index.d.ts +46 -0
  11. package/ecs/index.js +103 -0
  12. package/index.d.ts +5 -2
  13. package/index.js +47 -5
  14. package/index.ts +16 -2
  15. package/lambda/build_python/Dockerfile +60 -0
  16. package/lambda/config.d.ts +11 -0
  17. package/lambda/config.js +19 -0
  18. package/lambda/index.d.ts +59 -0
  19. package/lambda/index.js +242 -0
  20. package/lambda/layers/mart_tools/poetry.lock +303 -0
  21. package/lambda/layers/mart_tools/pyproject.toml +27 -0
  22. package/lambda/layers/mart_tools/src/mart_tools/__init__.py +0 -0
  23. package/lambda/layers/mart_tools/src/mart_tools/mart/__init__.py +8 -0
  24. package/lambda/layers/mart_tools/src/mart_tools/mart/aws_helpers.py +79 -0
  25. package/lambda/layers/mart_tools/src/mart_tools/mart/dataframe_helpers.py +29 -0
  26. package/lambda/layers/mart_tools/src/mart_tools/mart/globals.py +5 -0
  27. package/lambda/layers/mart_tools/src/mart_tools/mart/models.py +71 -0
  28. package/lambda/layers/orcabus_api_tools/poetry.lock +273 -0
  29. package/lambda/layers/orcabus_api_tools/pyproject.toml +27 -0
  30. package/lambda/layers/orcabus_api_tools/src/orcabus_api_tools/__init__.py +0 -0
  31. package/lambda/layers/orcabus_api_tools/src/orcabus_api_tools/fastq/__init__.py +172 -0
  32. package/lambda/layers/orcabus_api_tools/src/orcabus_api_tools/fastq/create_helpers.py +47 -0
  33. package/lambda/layers/orcabus_api_tools/src/orcabus_api_tools/fastq/globals.py +13 -0
  34. package/lambda/layers/orcabus_api_tools/src/orcabus_api_tools/fastq/job_helpers.py +53 -0
  35. package/lambda/layers/orcabus_api_tools/src/orcabus_api_tools/fastq/models.py +253 -0
  36. package/lambda/layers/orcabus_api_tools/src/orcabus_api_tools/fastq/query_helpers.py +248 -0
  37. package/lambda/layers/orcabus_api_tools/src/orcabus_api_tools/fastq/update_helpers.py +221 -0
  38. package/lambda/layers/orcabus_api_tools/src/orcabus_api_tools/fastq/workflow_helpers.py +25 -0
  39. package/lambda/layers/orcabus_api_tools/src/orcabus_api_tools/fastq_unarchiving/__init__.py +92 -0
  40. package/lambda/layers/orcabus_api_tools/src/orcabus_api_tools/fastq_unarchiving/create_helpers.py +27 -0
  41. package/lambda/layers/orcabus_api_tools/src/orcabus_api_tools/fastq_unarchiving/globals.py +21 -0
  42. package/lambda/layers/orcabus_api_tools/src/orcabus_api_tools/fastq_unarchiving/models.py +51 -0
  43. package/lambda/layers/orcabus_api_tools/src/orcabus_api_tools/fastq_unarchiving/query_helpers.py +52 -0
  44. package/lambda/layers/orcabus_api_tools/src/orcabus_api_tools/fastq_unarchiving/update_helpers.py +45 -0
  45. package/lambda/layers/orcabus_api_tools/src/orcabus_api_tools/filemanager/__init__.py +98 -0
  46. package/lambda/layers/orcabus_api_tools/src/orcabus_api_tools/filemanager/errors.py +45 -0
  47. package/lambda/layers/orcabus_api_tools/src/orcabus_api_tools/filemanager/file_helpers.py +341 -0
  48. package/lambda/layers/orcabus_api_tools/src/orcabus_api_tools/filemanager/globals.py +70 -0
  49. package/lambda/layers/orcabus_api_tools/src/orcabus_api_tools/filemanager/models.py +59 -0
  50. package/lambda/layers/orcabus_api_tools/src/orcabus_api_tools/mart/__init__.py +8 -0
  51. package/lambda/layers/orcabus_api_tools/src/orcabus_api_tools/mart/aws_helpers.py +79 -0
  52. package/lambda/layers/orcabus_api_tools/src/orcabus_api_tools/mart/dataframe_helpers.py +29 -0
  53. package/lambda/layers/orcabus_api_tools/src/orcabus_api_tools/mart/globals.py +5 -0
  54. package/lambda/layers/orcabus_api_tools/src/orcabus_api_tools/mart/models.py +71 -0
  55. package/lambda/layers/orcabus_api_tools/src/orcabus_api_tools/metadata/__init__.py +250 -0
  56. package/lambda/layers/orcabus_api_tools/src/orcabus_api_tools/metadata/contact_helpers.py +109 -0
  57. package/lambda/layers/orcabus_api_tools/src/orcabus_api_tools/metadata/errors.py +104 -0
  58. package/lambda/layers/orcabus_api_tools/src/orcabus_api_tools/metadata/globals.py +16 -0
  59. package/lambda/layers/orcabus_api_tools/src/orcabus_api_tools/metadata/individual_helpers.py +139 -0
  60. package/lambda/layers/orcabus_api_tools/src/orcabus_api_tools/metadata/library_helpers.py +196 -0
  61. package/lambda/layers/orcabus_api_tools/src/orcabus_api_tools/metadata/lims_helpers.py +36 -0
  62. package/lambda/layers/orcabus_api_tools/src/orcabus_api_tools/metadata/models.py +112 -0
  63. package/lambda/layers/orcabus_api_tools/src/orcabus_api_tools/metadata/project_helpers.py +129 -0
  64. package/lambda/layers/orcabus_api_tools/src/orcabus_api_tools/metadata/sample_helpers.py +132 -0
  65. package/lambda/layers/orcabus_api_tools/src/orcabus_api_tools/metadata/subject_helpers.py +151 -0
  66. package/lambda/layers/orcabus_api_tools/src/orcabus_api_tools/sequence/__init__.py +15 -0
  67. package/lambda/layers/orcabus_api_tools/src/orcabus_api_tools/sequence/globals.py +2 -0
  68. package/lambda/layers/orcabus_api_tools/src/orcabus_api_tools/sequence/models.py +44 -0
  69. package/lambda/layers/orcabus_api_tools/src/orcabus_api_tools/sequence/sequence_helpers.py +62 -0
  70. package/lambda/layers/orcabus_api_tools/src/orcabus_api_tools/utils/__init__.py +0 -0
  71. package/lambda/layers/orcabus_api_tools/src/orcabus_api_tools/utils/aws_helpers.py +123 -0
  72. package/lambda/layers/orcabus_api_tools/src/orcabus_api_tools/utils/miscell.py +17 -0
  73. package/lambda/layers/orcabus_api_tools/src/orcabus_api_tools/utils/requests_helpers.py +163 -0
  74. package/lambda/layers/orcabus_api_tools/src/orcabus_api_tools/workflow/__init__.py +0 -0
  75. package/lambda/layers/orcabus_api_tools/src/orcabus_api_tools/workflow/errors.py +37 -0
  76. package/lambda/layers/orcabus_api_tools/src/orcabus_api_tools/workflow/metadata_helpers.py +28 -0
  77. package/lambda/layers/orcabus_api_tools/src/orcabus_api_tools/workflow/models.py +85 -0
  78. package/lambda/layers/orcabus_api_tools/src/orcabus_api_tools/workflow/payload_helpers.py +64 -0
  79. package/lambda/layers/orcabus_api_tools/src/orcabus_api_tools/workflow/workflow_run_helpers.py +80 -0
  80. package/package.json +14 -11
  81. package/typedoc.json +3 -0
  82. package/utils/index.d.ts +3 -0
  83. package/utils/index.js +50 -1
package/.jsii CHANGED
@@ -7,7 +7,8 @@
7
7
  ]
8
8
  },
9
9
  "dependencies": {
10
- "aws-cdk-lib": "^2.183.0",
10
+ "@aws-cdk/aws-lambda-python-alpha": "^2.195.0-alpha.0",
11
+ "aws-cdk-lib": "^2.195.0",
11
12
  "constructs": "^10.4.2"
12
13
  },
13
14
  "dependencyClosure": {
@@ -63,6 +64,37 @@
63
64
  }
64
65
  }
65
66
  },
67
+ "@aws-cdk/aws-lambda-python-alpha": {
68
+ "targets": {
69
+ "dotnet": {
70
+ "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/main/logo/default-256-dark.png",
71
+ "namespace": "Amazon.CDK.AWS.Lambda.Python.Alpha",
72
+ "packageId": "Amazon.CDK.AWS.Lambda.Python.Alpha"
73
+ },
74
+ "go": {
75
+ "moduleName": "github.com/aws/aws-cdk-go",
76
+ "packageName": "awscdklambdapythonalpha"
77
+ },
78
+ "java": {
79
+ "maven": {
80
+ "artifactId": "lambda-python-alpha",
81
+ "groupId": "software.amazon.awscdk"
82
+ },
83
+ "package": "software.amazon.awscdk.services.lambda.python.alpha"
84
+ },
85
+ "js": {
86
+ "npm": "@aws-cdk/aws-lambda-python-alpha"
87
+ },
88
+ "python": {
89
+ "classifiers": [
90
+ "Framework :: AWS CDK",
91
+ "Framework :: AWS CDK :: 2"
92
+ ],
93
+ "distName": "aws-cdk.aws-lambda-python-alpha",
94
+ "module": "aws_cdk.aws_lambda_python_alpha"
95
+ }
96
+ }
97
+ },
66
98
  "@aws-cdk/cloud-assembly-schema": {
67
99
  "targets": {
68
100
  "dotnet": {
@@ -941,6 +973,19 @@
941
973
  }
942
974
  }
943
975
  },
976
+ "aws-cdk-lib.aws_cognito_identitypool": {
977
+ "targets": {
978
+ "dotnet": {
979
+ "namespace": "Amazon.CDK.AWS.Cognito.Identitypool"
980
+ },
981
+ "java": {
982
+ "package": "software.amazon.awscdk.services.cognito.identitypool"
983
+ },
984
+ "python": {
985
+ "module": "aws_cdk.aws_cognito_identitypool"
986
+ }
987
+ }
988
+ },
944
989
  "aws-cdk-lib.aws_comprehend": {
945
990
  "targets": {
946
991
  "dotnet": {
@@ -1227,6 +1272,19 @@
1227
1272
  }
1228
1273
  }
1229
1274
  },
1275
+ "aws-cdk-lib.aws_dsql": {
1276
+ "targets": {
1277
+ "dotnet": {
1278
+ "package": "Amazon.CDK.AWS.DSQL"
1279
+ },
1280
+ "java": {
1281
+ "package": "software.amazon.awscdk.services.dsql"
1282
+ },
1283
+ "python": {
1284
+ "module": "aws_cdk.aws_dsql"
1285
+ }
1286
+ }
1287
+ },
1230
1288
  "aws-cdk-lib.aws_dynamodb": {
1231
1289
  "targets": {
1232
1290
  "dotnet": {
@@ -3255,6 +3313,19 @@
3255
3313
  }
3256
3314
  }
3257
3315
  },
3316
+ "aws-cdk-lib.aws_scheduler_targets": {
3317
+ "targets": {
3318
+ "dotnet": {
3319
+ "namespace": "Amazon.CDK.AWS.Scheduler.Targets"
3320
+ },
3321
+ "java": {
3322
+ "package": "software.amazon.awscdk.services.scheduler.targets"
3323
+ },
3324
+ "python": {
3325
+ "module": "aws_cdk.aws_scheduler_targets"
3326
+ }
3327
+ }
3328
+ },
3258
3329
  "aws-cdk-lib.aws_sdb": {
3259
3330
  "targets": {
3260
3331
  "dotnet": {
@@ -3476,6 +3547,19 @@
3476
3547
  }
3477
3548
  }
3478
3549
  },
3550
+ "aws-cdk-lib.aws_ssmguiconnect": {
3551
+ "targets": {
3552
+ "dotnet": {
3553
+ "package": "Amazon.CDK.AWS.SSMGuiConnect"
3554
+ },
3555
+ "java": {
3556
+ "package": "software.amazon.awscdk.services.ssmguiconnect"
3557
+ },
3558
+ "python": {
3559
+ "module": "aws_cdk.aws_ssmguiconnect"
3560
+ }
3561
+ }
3562
+ },
3479
3563
  "aws-cdk-lib.aws_ssmincidents": {
3480
3564
  "targets": {
3481
3565
  "dotnet": {
@@ -3913,10 +3997,7 @@
3913
3997
  },
3914
3998
  "homepage": "https://github.com/OrcaBus/platform-cdk-construct.git",
3915
3999
  "jsiiVersion": "5.8.3",
3916
- "keywords": [
3917
- "aws",
3918
- "cdk"
3919
- ],
4000
+ "keywords": [],
3920
4001
  "license": "MIT",
3921
4002
  "metadata": {
3922
4003
  "jsii": {
@@ -3939,7 +4020,7 @@
3939
4020
  "@orcabus/platform-cdk-constructs.apigateway": {
3940
4021
  "locationInModule": {
3941
4022
  "filename": "index.ts",
3942
- "line": 1
4023
+ "line": 8
3943
4024
  },
3944
4025
  "readme": {
3945
4026
  "markdown": "# ApiGatewayConstruct\n\nUsage example:\n\n```ts\nconst apiGateway = new ApiGatewayConstruct(this, 'ApiGateway', props.apiGatewayCognitoProps);\nconst httpApi = apiGateway.httpApi;\n\nconst apiIntegration = new HttpLambdaIntegration('ApiIntegration', apiFn);\n\nnew HttpRoute(this, 'GetHttpRoute', {\n httpApi: httpApi,\n integration: apiIntegration,\n routeKey: HttpRouteKey.with('/{proxy+}', HttpMethod.GET),\n});\n\n// To protect the path/method with an admin role within the User Pool Cognito\n// More details on ./.../stateful/authorization-stack\n\nnew HttpRoute(this, 'PostHttpRoute', {\n httpApi: httpApi,\n integration: apiIntegration,\n authorizer: apiGateway.authStackHttpLambdaAuthorizer,\n routeKey: HttpRouteKey.with('/{proxy+}', HttpMethod.POST),\n});\n```\n"
@@ -3949,17 +4030,38 @@
3949
4030
  "@orcabus/platform-cdk-constructs.deploymentPipeline": {
3950
4031
  "locationInModule": {
3951
4032
  "filename": "index.ts",
3952
- "line": 2
4033
+ "line": 5
3953
4034
  },
3954
4035
  "readme": {
3955
4036
  "markdown": "# DeploymentStackPipeline\n\nThis construct will deploy stack defined as props across 3 stages in our Beta, Gamma, and Prod environment.\n\nUsage example\n\n```ts\nnew DeploymentStackPipeline(this, \"DeploymentPipeline\", {\n githubBranch: \"main\",\n githubRepo: \"platform-cdk-constructs\",\n stack: DeploymentStack,\n stackName: \"TestStack\",\n stackConfig: {\n beta: { bucketName: \"my-simple-bucket-dev\" },\n gamma: { bucketName: \"my-simple-bucket-stg\" },\n prod: { bucketName: \"my-simple-bucket-prod\" },\n },\n pipelineName: \"TestDeploymentPipeline\",\n cdkSynthCmd: [\n \"pnpm install --frozen-lockfile --ignore-scripts\",\n \"cd dev\",\n \"pnpm cdk synth\",\n ],\n cdkOut: \"dev/cdk.out\",\n});\n\n```\n"
3956
4037
  },
3957
4038
  "symbolId": "deployment-stack-pipeline/index:"
3958
4039
  },
4040
+ "@orcabus/platform-cdk-constructs.dynamodb": {
4041
+ "locationInModule": {
4042
+ "filename": "index.ts",
4043
+ "line": 11
4044
+ },
4045
+ "symbolId": "dynamodb/index:"
4046
+ },
4047
+ "@orcabus/platform-cdk-constructs.ecs": {
4048
+ "locationInModule": {
4049
+ "filename": "index.ts",
4050
+ "line": 14
4051
+ },
4052
+ "symbolId": "ecs/index:"
4053
+ },
4054
+ "@orcabus/platform-cdk-constructs.lambda": {
4055
+ "locationInModule": {
4056
+ "filename": "index.ts",
4057
+ "line": 17
4058
+ },
4059
+ "symbolId": "lambda/index:"
4060
+ },
3959
4061
  "@orcabus/platform-cdk-constructs.utils": {
3960
4062
  "locationInModule": {
3961
4063
  "filename": "index.ts",
3962
- "line": 3
4064
+ "line": 2
3963
4065
  },
3964
4066
  "symbolId": "utils/index:"
3965
4067
  }
@@ -4685,8 +4787,755 @@
4685
4787
  }
4686
4788
  ],
4687
4789
  "symbolId": "deployment-stack-pipeline/pipeline:StageEnvProps"
4790
+ },
4791
+ "@orcabus/platform-cdk-constructs.dynamodb.DynamoDbNonPartitionedConstruct": {
4792
+ "assembly": "@orcabus/platform-cdk-constructs",
4793
+ "base": "constructs.Construct",
4794
+ "docs": {
4795
+ "stability": "experimental"
4796
+ },
4797
+ "fqn": "@orcabus/platform-cdk-constructs.dynamodb.DynamoDbNonPartitionedConstruct",
4798
+ "initializer": {
4799
+ "docs": {
4800
+ "stability": "experimental"
4801
+ },
4802
+ "locationInModule": {
4803
+ "filename": "dynamodb/index.ts",
4804
+ "line": 66
4805
+ },
4806
+ "parameters": [
4807
+ {
4808
+ "name": "scope",
4809
+ "type": {
4810
+ "fqn": "constructs.Construct"
4811
+ }
4812
+ },
4813
+ {
4814
+ "name": "id",
4815
+ "type": {
4816
+ "primitive": "string"
4817
+ }
4818
+ },
4819
+ {
4820
+ "name": "props",
4821
+ "type": {
4822
+ "fqn": "@orcabus/platform-cdk-constructs.dynamodb.DynamoDbNonPartitionedConstructProps"
4823
+ }
4824
+ }
4825
+ ]
4826
+ },
4827
+ "kind": "class",
4828
+ "locationInModule": {
4829
+ "filename": "dynamodb/index.ts",
4830
+ "line": 64
4831
+ },
4832
+ "name": "DynamoDbNonPartitionedConstruct",
4833
+ "namespace": "dynamodb",
4834
+ "properties": [
4835
+ {
4836
+ "docs": {
4837
+ "stability": "experimental"
4838
+ },
4839
+ "immutable": true,
4840
+ "locationInModule": {
4841
+ "filename": "dynamodb/index.ts",
4842
+ "line": 65
4843
+ },
4844
+ "name": "table",
4845
+ "type": {
4846
+ "fqn": "aws-cdk-lib.aws_dynamodb.TableV2"
4847
+ }
4848
+ }
4849
+ ],
4850
+ "symbolId": "dynamodb/index:DynamoDbNonPartitionedConstruct"
4851
+ },
4852
+ "@orcabus/platform-cdk-constructs.dynamodb.DynamoDbNonPartitionedConstructProps": {
4853
+ "assembly": "@orcabus/platform-cdk-constructs",
4854
+ "datatype": true,
4855
+ "docs": {
4856
+ "stability": "experimental"
4857
+ },
4858
+ "fqn": "@orcabus/platform-cdk-constructs.dynamodb.DynamoDbNonPartitionedConstructProps",
4859
+ "interfaces": [
4860
+ "aws-cdk-lib.aws_dynamodb.TablePropsV2"
4861
+ ],
4862
+ "kind": "interface",
4863
+ "locationInModule": {
4864
+ "filename": "dynamodb/index.ts",
4865
+ "line": 20
4866
+ },
4867
+ "name": "DynamoDbNonPartitionedConstructProps",
4868
+ "namespace": "dynamodb",
4869
+ "properties": [
4870
+ {
4871
+ "abstract": true,
4872
+ "docs": {
4873
+ "stability": "experimental",
4874
+ "summary": "Optional, name of the partition key, but by default set to 'id'."
4875
+ },
4876
+ "immutable": true,
4877
+ "locationInModule": {
4878
+ "filename": "dynamodb/index.ts",
4879
+ "line": 24
4880
+ },
4881
+ "name": "partitionKeyName",
4882
+ "optional": true,
4883
+ "type": {
4884
+ "primitive": "string"
4885
+ }
4886
+ }
4887
+ ],
4888
+ "symbolId": "dynamodb/index:DynamoDbNonPartitionedConstructProps"
4889
+ },
4890
+ "@orcabus/platform-cdk-constructs.dynamodb.DynamoDbPartitionedConstruct": {
4891
+ "assembly": "@orcabus/platform-cdk-constructs",
4892
+ "base": "constructs.Construct",
4893
+ "docs": {
4894
+ "stability": "experimental"
4895
+ },
4896
+ "fqn": "@orcabus/platform-cdk-constructs.dynamodb.DynamoDbPartitionedConstruct",
4897
+ "initializer": {
4898
+ "docs": {
4899
+ "stability": "experimental"
4900
+ },
4901
+ "locationInModule": {
4902
+ "filename": "dynamodb/index.ts",
4903
+ "line": 30
4904
+ },
4905
+ "parameters": [
4906
+ {
4907
+ "name": "scope",
4908
+ "type": {
4909
+ "fqn": "constructs.Construct"
4910
+ }
4911
+ },
4912
+ {
4913
+ "name": "id",
4914
+ "type": {
4915
+ "primitive": "string"
4916
+ }
4917
+ },
4918
+ {
4919
+ "name": "props",
4920
+ "type": {
4921
+ "fqn": "@orcabus/platform-cdk-constructs.dynamodb.DynamoDbPartitionedConstructProps"
4922
+ }
4923
+ }
4924
+ ]
4925
+ },
4926
+ "kind": "class",
4927
+ "locationInModule": {
4928
+ "filename": "dynamodb/index.ts",
4929
+ "line": 28
4930
+ },
4931
+ "name": "DynamoDbPartitionedConstruct",
4932
+ "namespace": "dynamodb",
4933
+ "properties": [
4934
+ {
4935
+ "docs": {
4936
+ "stability": "experimental"
4937
+ },
4938
+ "immutable": true,
4939
+ "locationInModule": {
4940
+ "filename": "dynamodb/index.ts",
4941
+ "line": 29
4942
+ },
4943
+ "name": "table",
4944
+ "type": {
4945
+ "fqn": "aws-cdk-lib.aws_dynamodb.TableV2"
4946
+ }
4947
+ }
4948
+ ],
4949
+ "symbolId": "dynamodb/index:DynamoDbPartitionedConstruct"
4950
+ },
4951
+ "@orcabus/platform-cdk-constructs.dynamodb.DynamoDbPartitionedConstructProps": {
4952
+ "assembly": "@orcabus/platform-cdk-constructs",
4953
+ "datatype": true,
4954
+ "docs": {
4955
+ "stability": "experimental"
4956
+ },
4957
+ "fqn": "@orcabus/platform-cdk-constructs.dynamodb.DynamoDbPartitionedConstructProps",
4958
+ "interfaces": [
4959
+ "aws-cdk-lib.aws_dynamodb.TablePropsV2"
4960
+ ],
4961
+ "kind": "interface",
4962
+ "locationInModule": {
4963
+ "filename": "dynamodb/index.ts",
4964
+ "line": 7
4965
+ },
4966
+ "name": "DynamoDbPartitionedConstructProps",
4967
+ "namespace": "dynamodb",
4968
+ "properties": [
4969
+ {
4970
+ "abstract": true,
4971
+ "docs": {
4972
+ "stability": "experimental",
4973
+ "summary": "Optional, name of the partition key, but by default set to 'id'."
4974
+ },
4975
+ "immutable": true,
4976
+ "locationInModule": {
4977
+ "filename": "dynamodb/index.ts",
4978
+ "line": 11
4979
+ },
4980
+ "name": "partitionKeyName",
4981
+ "optional": true,
4982
+ "type": {
4983
+ "primitive": "string"
4984
+ }
4985
+ },
4986
+ {
4987
+ "abstract": true,
4988
+ "docs": {
4989
+ "stability": "experimental",
4990
+ "summary": "Optional, name of the sort key, but by default set to 'id_type'."
4991
+ },
4992
+ "immutable": true,
4993
+ "locationInModule": {
4994
+ "filename": "dynamodb/index.ts",
4995
+ "line": 16
4996
+ },
4997
+ "name": "sortKeyName",
4998
+ "optional": true,
4999
+ "type": {
5000
+ "primitive": "string"
5001
+ }
5002
+ }
5003
+ ],
5004
+ "symbolId": "dynamodb/index:DynamoDbPartitionedConstructProps"
5005
+ },
5006
+ "@orcabus/platform-cdk-constructs.ecs.EcsFargateTaskConstruct": {
5007
+ "assembly": "@orcabus/platform-cdk-constructs",
5008
+ "base": "constructs.Construct",
5009
+ "docs": {
5010
+ "stability": "experimental"
5011
+ },
5012
+ "fqn": "@orcabus/platform-cdk-constructs.ecs.EcsFargateTaskConstruct",
5013
+ "initializer": {
5014
+ "docs": {
5015
+ "stability": "experimental"
5016
+ },
5017
+ "locationInModule": {
5018
+ "filename": "ecs/index.ts",
5019
+ "line": 85
5020
+ },
5021
+ "parameters": [
5022
+ {
5023
+ "name": "scope",
5024
+ "type": {
5025
+ "fqn": "constructs.Construct"
5026
+ }
5027
+ },
5028
+ {
5029
+ "name": "id",
5030
+ "type": {
5031
+ "primitive": "string"
5032
+ }
5033
+ },
5034
+ {
5035
+ "name": "props",
5036
+ "type": {
5037
+ "fqn": "@orcabus/platform-cdk-constructs.ecs.FargateEcsTaskConstructProps"
5038
+ }
5039
+ }
5040
+ ]
5041
+ },
5042
+ "kind": "class",
5043
+ "locationInModule": {
5044
+ "filename": "ecs/index.ts",
5045
+ "line": 79
5046
+ },
5047
+ "name": "EcsFargateTaskConstruct",
5048
+ "namespace": "ecs",
5049
+ "properties": [
5050
+ {
5051
+ "docs": {
5052
+ "stability": "experimental"
5053
+ },
5054
+ "immutable": true,
5055
+ "locationInModule": {
5056
+ "filename": "ecs/index.ts",
5057
+ "line": 80
5058
+ },
5059
+ "name": "cluster",
5060
+ "type": {
5061
+ "fqn": "aws-cdk-lib.aws_ecs.ICluster"
5062
+ }
5063
+ },
5064
+ {
5065
+ "docs": {
5066
+ "stability": "experimental"
5067
+ },
5068
+ "immutable": true,
5069
+ "locationInModule": {
5070
+ "filename": "ecs/index.ts",
5071
+ "line": 83
5072
+ },
5073
+ "name": "containerDefinition",
5074
+ "type": {
5075
+ "fqn": "aws-cdk-lib.aws_ecs.ContainerDefinition"
5076
+ }
5077
+ },
5078
+ {
5079
+ "docs": {
5080
+ "stability": "experimental"
5081
+ },
5082
+ "immutable": true,
5083
+ "locationInModule": {
5084
+ "filename": "ecs/index.ts",
5085
+ "line": 82
5086
+ },
5087
+ "name": "securityGroup",
5088
+ "type": {
5089
+ "fqn": "aws-cdk-lib.aws_ec2.ISecurityGroup"
5090
+ }
5091
+ },
5092
+ {
5093
+ "docs": {
5094
+ "stability": "experimental"
5095
+ },
5096
+ "immutable": true,
5097
+ "locationInModule": {
5098
+ "filename": "ecs/index.ts",
5099
+ "line": 81
5100
+ },
5101
+ "name": "taskDefinition",
5102
+ "type": {
5103
+ "fqn": "aws-cdk-lib.aws_ecs.FargateTaskDefinition"
5104
+ }
5105
+ }
5106
+ ],
5107
+ "symbolId": "ecs/index:EcsFargateTaskConstruct"
5108
+ },
5109
+ "@orcabus/platform-cdk-constructs.ecs.FargateEcsTaskConstructProps": {
5110
+ "assembly": "@orcabus/platform-cdk-constructs",
5111
+ "datatype": true,
5112
+ "docs": {
5113
+ "stability": "experimental"
5114
+ },
5115
+ "fqn": "@orcabus/platform-cdk-constructs.ecs.FargateEcsTaskConstructProps",
5116
+ "kind": "interface",
5117
+ "locationInModule": {
5118
+ "filename": "ecs/index.ts",
5119
+ "line": 39
5120
+ },
5121
+ "name": "FargateEcsTaskConstructProps",
5122
+ "namespace": "ecs",
5123
+ "properties": [
5124
+ {
5125
+ "abstract": true,
5126
+ "docs": {
5127
+ "custom": {
5128
+ "DEFAULT_ARCHITECTURE": "."
5129
+ },
5130
+ "remarks": "If not provided, the default is",
5131
+ "stability": "experimental",
5132
+ "summary": "The architecture of the container."
5133
+ },
5134
+ "immutable": true,
5135
+ "locationInModule": {
5136
+ "filename": "ecs/index.ts",
5137
+ "line": 65
5138
+ },
5139
+ "name": "architecture",
5140
+ "type": {
5141
+ "primitive": "string"
5142
+ }
5143
+ },
5144
+ {
5145
+ "abstract": true,
5146
+ "docs": {
5147
+ "remarks": "This is a required property",
5148
+ "stability": "experimental",
5149
+ "summary": "The name of the container."
5150
+ },
5151
+ "immutable": true,
5152
+ "locationInModule": {
5153
+ "filename": "ecs/index.ts",
5154
+ "line": 71
5155
+ },
5156
+ "name": "containerName",
5157
+ "type": {
5158
+ "primitive": "string"
5159
+ }
5160
+ },
5161
+ {
5162
+ "abstract": true,
5163
+ "docs": {
5164
+ "remarks": "This is a required property",
5165
+ "stability": "experimental",
5166
+ "summary": "The path to the Dockerfile."
5167
+ },
5168
+ "immutable": true,
5169
+ "locationInModule": {
5170
+ "filename": "ecs/index.ts",
5171
+ "line": 76
5172
+ },
5173
+ "name": "dockerPath",
5174
+ "type": {
5175
+ "primitive": "string"
5176
+ }
5177
+ },
5178
+ {
5179
+ "abstract": true,
5180
+ "docs": {
5181
+ "custom": {
5182
+ "DEFAULT_MEMORY_GB": ".\nThe memory limit must be between 0.5 and 120 GiB.\nBut please note that the memory limit varies depending on the number of CPUs, please refer to the table above."
5183
+ },
5184
+ "remarks": "If not provided, the default is",
5185
+ "stability": "experimental",
5186
+ "summary": "The memory limit in GiB."
5187
+ },
5188
+ "immutable": true,
5189
+ "locationInModule": {
5190
+ "filename": "ecs/index.ts",
5191
+ "line": 60
5192
+ },
5193
+ "name": "memoryLimitGiB",
5194
+ "type": {
5195
+ "primitive": "number"
5196
+ }
5197
+ },
5198
+ {
5199
+ "abstract": true,
5200
+ "docs": {
5201
+ "custom": {
5202
+ "DEFAULT_VCPUS": "."
5203
+ },
5204
+ "stability": "experimental",
5205
+ "summary": "The number of CPUs to use, between 0.25 and 16. If not provided, the default is."
5206
+ },
5207
+ "immutable": true,
5208
+ "locationInModule": {
5209
+ "filename": "ecs/index.ts",
5210
+ "line": 53
5211
+ },
5212
+ "name": "nCpus",
5213
+ "type": {
5214
+ "primitive": "number"
5215
+ }
5216
+ },
5217
+ {
5218
+ "abstract": true,
5219
+ "docs": {
5220
+ "custom": {
5221
+ "DEFAULT_ARCHITECTURE": "."
5222
+ },
5223
+ "remarks": "If not provided, the default is",
5224
+ "stability": "experimental",
5225
+ "summary": "The runtime CPU architecture, either X86_64 or ARM64."
5226
+ },
5227
+ "immutable": true,
5228
+ "locationInModule": {
5229
+ "filename": "ecs/index.ts",
5230
+ "line": 48
5231
+ },
5232
+ "name": "runtimePlatform",
5233
+ "type": {
5234
+ "fqn": "aws-cdk-lib.aws_ecs.CpuArchitecture"
5235
+ }
5236
+ },
5237
+ {
5238
+ "abstract": true,
5239
+ "docs": {
5240
+ "custom": {
5241
+ "DEFAULT_MAIN_VPC_NAME": "will be used."
5242
+ },
5243
+ "remarks": "If not provided, the",
5244
+ "stability": "experimental",
5245
+ "summary": "The name of the VPC to use."
5246
+ },
5247
+ "immutable": true,
5248
+ "locationInModule": {
5249
+ "filename": "ecs/index.ts",
5250
+ "line": 43
5251
+ },
5252
+ "name": "vpcName",
5253
+ "optional": true,
5254
+ "type": {
5255
+ "primitive": "string"
5256
+ }
5257
+ }
5258
+ ],
5259
+ "symbolId": "ecs/index:FargateEcsTaskConstructProps"
5260
+ },
5261
+ "@orcabus/platform-cdk-constructs.lambda.MartEnvironmentVariables": {
5262
+ "assembly": "@orcabus/platform-cdk-constructs",
5263
+ "datatype": true,
5264
+ "docs": {
5265
+ "stability": "experimental"
5266
+ },
5267
+ "fqn": "@orcabus/platform-cdk-constructs.lambda.MartEnvironmentVariables",
5268
+ "kind": "interface",
5269
+ "locationInModule": {
5270
+ "filename": "lambda/index.ts",
5271
+ "line": 43
5272
+ },
5273
+ "name": "MartEnvironmentVariables",
5274
+ "namespace": "lambda",
5275
+ "properties": [
5276
+ {
5277
+ "abstract": true,
5278
+ "docs": {
5279
+ "custom": {
5280
+ "MART_ENV_VARS": ".ATHENA_DATABASE_NAME"
5281
+ },
5282
+ "stability": "experimental",
5283
+ "summary": "Provide the athenaDatabaseName, otherwise it will default to."
5284
+ },
5285
+ "immutable": true,
5286
+ "locationInModule": {
5287
+ "filename": "lambda/index.ts",
5288
+ "line": 57
5289
+ },
5290
+ "name": "athenaDatabaseName",
5291
+ "optional": true,
5292
+ "type": {
5293
+ "primitive": "string"
5294
+ }
5295
+ },
5296
+ {
5297
+ "abstract": true,
5298
+ "docs": {
5299
+ "custom": {
5300
+ "MART_ENV_VARS": ".athenaDatasourceName"
5301
+ },
5302
+ "stability": "experimental",
5303
+ "summary": "Provide the athenaDatasourceName, otherwise it will default to."
5304
+ },
5305
+ "immutable": true,
5306
+ "locationInModule": {
5307
+ "filename": "lambda/index.ts",
5308
+ "line": 52
5309
+ },
5310
+ "name": "athenaDatasourceName",
5311
+ "optional": true,
5312
+ "type": {
5313
+ "primitive": "string"
5314
+ }
5315
+ },
5316
+ {
5317
+ "abstract": true,
5318
+ "docs": {
5319
+ "custom": {
5320
+ "MART_ENV_VARS": ".ATHENA_WORKGROUP_NAME"
5321
+ },
5322
+ "stability": "experimental",
5323
+ "summary": "Provide the athenaWorkgroupName, otherwise it will default to."
5324
+ },
5325
+ "immutable": true,
5326
+ "locationInModule": {
5327
+ "filename": "lambda/index.ts",
5328
+ "line": 47
5329
+ },
5330
+ "name": "athenaWorkgroupName",
5331
+ "optional": true,
5332
+ "type": {
5333
+ "primitive": "string"
5334
+ }
5335
+ }
5336
+ ],
5337
+ "symbolId": "lambda/index:MartEnvironmentVariables"
5338
+ },
5339
+ "@orcabus/platform-cdk-constructs.lambda.OrcabusResourcesProps": {
5340
+ "assembly": "@orcabus/platform-cdk-constructs",
5341
+ "datatype": true,
5342
+ "docs": {
5343
+ "stability": "experimental"
5344
+ },
5345
+ "fqn": "@orcabus/platform-cdk-constructs.lambda.OrcabusResourcesProps",
5346
+ "kind": "interface",
5347
+ "locationInModule": {
5348
+ "filename": "lambda/index.ts",
5349
+ "line": 31
5350
+ },
5351
+ "name": "OrcabusResourcesProps",
5352
+ "namespace": "lambda",
5353
+ "properties": [
5354
+ {
5355
+ "abstract": true,
5356
+ "docs": {
5357
+ "custom": {
5358
+ "DEFAULT_HOSTNAME_SSM_PARAMETER": "true"
5359
+ },
5360
+ "stability": "experimental",
5361
+ "summary": "Provide the hostnameSsmParameterName, otherwise it will default to."
5362
+ },
5363
+ "immutable": true,
5364
+ "locationInModule": {
5365
+ "filename": "lambda/index.ts",
5366
+ "line": 40
5367
+ },
5368
+ "name": "hostnameSsmParameterName",
5369
+ "optional": true,
5370
+ "type": {
5371
+ "primitive": "string"
5372
+ }
5373
+ },
5374
+ {
5375
+ "abstract": true,
5376
+ "docs": {
5377
+ "custom": {
5378
+ "DEFAULT_ORCABUS_TOKEN_SECRET_ID": "true"
5379
+ },
5380
+ "stability": "experimental",
5381
+ "summary": "Provide the orcabusTokenSecretId, otherwise it will default to."
5382
+ },
5383
+ "immutable": true,
5384
+ "locationInModule": {
5385
+ "filename": "lambda/index.ts",
5386
+ "line": 35
5387
+ },
5388
+ "name": "orcabusTokenSecretId",
5389
+ "optional": true,
5390
+ "type": {
5391
+ "primitive": "string"
5392
+ }
5393
+ }
5394
+ ],
5395
+ "symbolId": "lambda/index:OrcabusResourcesProps"
5396
+ },
5397
+ "@orcabus/platform-cdk-constructs.lambda.PythonUvFunction": {
5398
+ "assembly": "@orcabus/platform-cdk-constructs",
5399
+ "base": "@aws-cdk/aws-lambda-python-alpha.PythonFunction",
5400
+ "docs": {
5401
+ "stability": "experimental"
5402
+ },
5403
+ "fqn": "@orcabus/platform-cdk-constructs.lambda.PythonUvFunction",
5404
+ "initializer": {
5405
+ "docs": {
5406
+ "stability": "experimental"
5407
+ },
5408
+ "locationInModule": {
5409
+ "filename": "lambda/index.ts",
5410
+ "line": 96
5411
+ },
5412
+ "parameters": [
5413
+ {
5414
+ "name": "scope",
5415
+ "type": {
5416
+ "fqn": "constructs.Construct"
5417
+ }
5418
+ },
5419
+ {
5420
+ "name": "id",
5421
+ "type": {
5422
+ "primitive": "string"
5423
+ }
5424
+ },
5425
+ {
5426
+ "name": "props",
5427
+ "type": {
5428
+ "fqn": "@orcabus/platform-cdk-constructs.lambda.PythonUvFunctionProps"
5429
+ }
5430
+ }
5431
+ ]
5432
+ },
5433
+ "kind": "class",
5434
+ "locationInModule": {
5435
+ "filename": "lambda/index.ts",
5436
+ "line": 89
5437
+ },
5438
+ "name": "PythonUvFunction",
5439
+ "namespace": "lambda",
5440
+ "symbolId": "lambda/index:PythonUvFunction"
5441
+ },
5442
+ "@orcabus/platform-cdk-constructs.lambda.PythonUvFunctionProps": {
5443
+ "assembly": "@orcabus/platform-cdk-constructs",
5444
+ "datatype": true,
5445
+ "docs": {
5446
+ "stability": "experimental"
5447
+ },
5448
+ "fqn": "@orcabus/platform-cdk-constructs.lambda.PythonUvFunctionProps",
5449
+ "interfaces": [
5450
+ "@aws-cdk/aws-lambda-python-alpha.PythonFunctionProps"
5451
+ ],
5452
+ "kind": "interface",
5453
+ "locationInModule": {
5454
+ "filename": "lambda/index.ts",
5455
+ "line": 60
5456
+ },
5457
+ "name": "PythonUvFunctionProps",
5458
+ "namespace": "lambda",
5459
+ "properties": [
5460
+ {
5461
+ "abstract": true,
5462
+ "docs": {
5463
+ "stability": "experimental",
5464
+ "summary": "Whether or not to include the mart layer in the lambda function build Note that the mart layer is a little heavier than the orcabus api tools layer Since we require pandas to be installed."
5465
+ },
5466
+ "immutable": true,
5467
+ "locationInModule": {
5468
+ "filename": "lambda/index.ts",
5469
+ "line": 71
5470
+ },
5471
+ "name": "includeMartLayer",
5472
+ "optional": true,
5473
+ "type": {
5474
+ "primitive": "boolean"
5475
+ }
5476
+ },
5477
+ {
5478
+ "abstract": true,
5479
+ "docs": {
5480
+ "stability": "experimental",
5481
+ "summary": "Whether or not to include the orcabus api tools layer in the lambda function build."
5482
+ },
5483
+ "immutable": true,
5484
+ "locationInModule": {
5485
+ "filename": "lambda/index.ts",
5486
+ "line": 64
5487
+ },
5488
+ "name": "includeOrcabusApiToolsLayer",
5489
+ "optional": true,
5490
+ "type": {
5491
+ "primitive": "boolean"
5492
+ }
5493
+ },
5494
+ {
5495
+ "abstract": true,
5496
+ "docs": {
5497
+ "custom": {
5498
+ "MART_ENV_VARS": ".ATHENA_DATABASE_NAME for the athena workgroup, datasource and database respectively"
5499
+ },
5500
+ "stability": "experimental",
5501
+ "summary": "Provide the martEnvironmentVariables, optional, otherwise it will default to."
5502
+ },
5503
+ "immutable": true,
5504
+ "locationInModule": {
5505
+ "filename": "lambda/index.ts",
5506
+ "line": 85
5507
+ },
5508
+ "name": "martEnvironmentVariables",
5509
+ "optional": true,
5510
+ "type": {
5511
+ "fqn": "@orcabus/platform-cdk-constructs.lambda.MartEnvironmentVariables"
5512
+ }
5513
+ },
5514
+ {
5515
+ "abstract": true,
5516
+ "docs": {
5517
+ "custom": {
5518
+ "DEFAULT_HOSTNAME_SSM_PARAMETER": "for the secret and SSM parameter respectively",
5519
+ "DEFAULT_ORCABUS_TOKEN_SECRET_ID": "and"
5520
+ },
5521
+ "stability": "experimental",
5522
+ "summary": "Provide the orcabusTokenResources, optional, otherwise it will default to."
5523
+ },
5524
+ "immutable": true,
5525
+ "locationInModule": {
5526
+ "filename": "lambda/index.ts",
5527
+ "line": 78
5528
+ },
5529
+ "name": "orcabusTokenResources",
5530
+ "optional": true,
5531
+ "type": {
5532
+ "fqn": "@orcabus/platform-cdk-constructs.lambda.OrcabusResourcesProps"
5533
+ }
5534
+ }
5535
+ ],
5536
+ "symbolId": "lambda/index:PythonUvFunctionProps"
4688
5537
  }
4689
5538
  },
4690
- "version": "0.0.5",
4691
- "fingerprint": "RXIyFt0h7+vbrbKCH/r5snJ94sDjU/rnXHZU9A37LH0="
5539
+ "version": "0.0.7-alpha.3",
5540
+ "fingerprint": "14JATliHjjCEp1F9JjTXrex03BGgVNH0froTzRM4a3k="
4692
5541
  }