eoapi-cdk 5.0.0 → 5.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +363 -32
- package/CHANGELOG.md +14 -0
- package/README.md +3 -0
- package/lib/bastion-host/index.js +1 -1
- package/lib/bootstrapper/index.js +1 -1
- package/lib/database/index.js +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +2 -1
- package/lib/ingestor-api/index.d.ts +4 -0
- package/lib/ingestor-api/index.js +7 -2
- package/lib/stac-api/index.d.ts +5 -0
- package/lib/stac-api/index.js +5 -2
- package/lib/stac-api/runtime/src/handler.py +8 -1
- package/lib/tipg-api/index.d.ts +58 -0
- package/lib/tipg-api/index.js +53 -0
- package/lib/tipg-api/runtime/requirements.txt +2 -0
- package/lib/tipg-api/runtime/src/__init__.py +3 -0
- package/lib/tipg-api/runtime/src/handler.py +54 -0
- package/lib/tipg-api/runtime/src/utils.py +41 -0
- package/lib/titiler-pgstac-api/index.d.ts +5 -0
- package/lib/titiler-pgstac-api/index.js +5 -2
- package/lib/titiler-pgstac-api/runtime/requirements.txt +2 -2
- package/lib/titiler-pgstac-api/runtime/src/handler.py +17 -2
- package/package.json +1 -1
- package/tox.ini +1 -1
- package/tsconfig.tsbuildinfo +17 -4
package/.jsii
CHANGED
|
@@ -3572,7 +3572,7 @@
|
|
|
3572
3572
|
},
|
|
3573
3573
|
"name": "eoapi-cdk",
|
|
3574
3574
|
"readme": {
|
|
3575
|
-
"markdown": "# eoAPI CDK Constructs\n\neoapi-cdk is a package of [AWS CDK constructs](https://docs.aws.amazon.com/prescriptive-guidance/latest/best-practices-cdk-typescript-iac/constructs-best-practices.html) designed to encapsulate eoAPI services and best practices as simple reusable components.\n\n\nFor more background on the included services see [The Earth Observation API](https://eoapi.dev/)\n\n## Included constructs\nDetailed API docs for the constructs can be found [here](https://developmentseed.org/eoapi-cdk/).\n\n### [pgSTAC Database](https://developmentseed.org/eoapi-cdk/#pgstacdatabase-)\nAn [RDS](https://aws.amazon.com/rds/) instance with [pgSTAC](https://github.com/stac-utils/pgstac) installed and the Postgres parameters optimized for the selected instance type.\n\n### [STAC API](https://developmentseed.org/eoapi-cdk/#pgstacapilambda-)\nA STAC API implementation using [stac-fastapi](https://github.com/stac-utils/stac-fastapi) with a [pgSTAC backend](https://github.com/stac-utils/stac-fastapi-pgstac). Packaged as a complete runtime for deployment with API Gateway and Lambda.\n\n### [pgSTAC Titiler API](https://developmentseed.org/eoapi-cdk/#titilerpgstacapilambda-)\nA complete dynamic tiling API using [titiler-pgstac](https://github.com/stac-utils/titiler-pgstac) to create dynamic mosaics of assets based on [STAC Search queries](https://github.com/radiantearth/stac-api-spec/tree/master/item-search). Packaged as a complete runtime for deployment with API Gateway and Lambda and fully integrated with the pgSTAC Database construct.\n\n### [STAC Ingestor](https://developmentseed.org/eoapi-cdk/#stacingestor-)\nAn API for large scale STAC data ingestion and validation into a pgSTAC instance.\n\n\n\nAuthentication for the STAC Ingestor API can be configured with JWTs authenticated by JWKS. To learn more about securing FastAPI applications with this approach see [Securing FastAPI with JWKS (AWS Cognito, Auth0)](https://alukach.com/posts/fastapi-rs256-jwt/).\n\nA sample Cognito-based authentication system is available at [aws-asdi-auth](https://github.com/developmentseed/aws-asdi-auth).\n\n### [Bastion Host](https://developmentseed.org/eoapi-cdk/#bastionhost-)\nA bastion host is a secure gateway that provides access to resources in a private subnet. In this case it provides the ability to make administrative connections to eoAPI's pgSTAC instance.\n\n\n\nFor more background on bastion hosts in AWS see [this article](https://dev.to/aws-builders/bastion-host-in-aws-vpc-2i63).\n\nAnd for configuration instructions for this construct see [the docs](https://developmentseed.org/eoapi-cdk/#bastionhost-).\n\n\n## Published Packages\n\n- https://pypi.org/project/eoapi-cdk/\n- https://www.npmjs.com/package/eoapi-cdk/\n\n## Release\n\nVersioning is automatically handled via [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) and [Semantic Release](https://semantic-release.gitbook.io/semantic-release/).\n\n_Warning_: If you rebase `main`, you must ensure that the commits referenced by tags point to commits that are within the `main` branch. If a commit references a commit that is no longer on the `main` branch, Semantic Release will fail to detect the correct version of the project. [More information](https://github.com/semantic-release/semantic-release/issues/1121#issuecomment-517945233).\n\n\n"
|
|
3575
|
+
"markdown": "# eoAPI CDK Constructs\n\neoapi-cdk is a package of [AWS CDK constructs](https://docs.aws.amazon.com/prescriptive-guidance/latest/best-practices-cdk-typescript-iac/constructs-best-practices.html) designed to encapsulate eoAPI services and best practices as simple reusable components.\n\n\nFor more background on the included services see [The Earth Observation API](https://eoapi.dev/)\n\n## Included constructs\nDetailed API docs for the constructs can be found [here](https://developmentseed.org/eoapi-cdk/).\n\n### [pgSTAC Database](https://developmentseed.org/eoapi-cdk/#pgstacdatabase-)\nAn [RDS](https://aws.amazon.com/rds/) instance with [pgSTAC](https://github.com/stac-utils/pgstac) installed and the Postgres parameters optimized for the selected instance type.\n\n### [STAC API](https://developmentseed.org/eoapi-cdk/#pgstacapilambda-)\nA STAC API implementation using [stac-fastapi](https://github.com/stac-utils/stac-fastapi) with a [pgSTAC backend](https://github.com/stac-utils/stac-fastapi-pgstac). Packaged as a complete runtime for deployment with API Gateway and Lambda.\n\n### [pgSTAC Titiler API](https://developmentseed.org/eoapi-cdk/#titilerpgstacapilambda-)\nA complete dynamic tiling API using [titiler-pgstac](https://github.com/stac-utils/titiler-pgstac) to create dynamic mosaics of assets based on [STAC Search queries](https://github.com/radiantearth/stac-api-spec/tree/master/item-search). Packaged as a complete runtime for deployment with API Gateway and Lambda and fully integrated with the pgSTAC Database construct.\n\n### [OGC Features/Tiles API](https://developmentseed.org/eoapi-cdk/#titilerpgstacapilambda-)\nA complete OGC Features/Tiles API using [tipg](https://github.com/developmentseed/tipg). Packaged as a complete runtime for deployment with API Gateway and Lambda. By default the API will be connected to the Database's `public` schema.\n\n### [STAC Ingestor](https://developmentseed.org/eoapi-cdk/#stacingestor-)\nAn API for large scale STAC data ingestion and validation into a pgSTAC instance.\n\n\n\nAuthentication for the STAC Ingestor API can be configured with JWTs authenticated by JWKS. To learn more about securing FastAPI applications with this approach see [Securing FastAPI with JWKS (AWS Cognito, Auth0)](https://alukach.com/posts/fastapi-rs256-jwt/).\n\nA sample Cognito-based authentication system is available at [aws-asdi-auth](https://github.com/developmentseed/aws-asdi-auth).\n\n### [Bastion Host](https://developmentseed.org/eoapi-cdk/#bastionhost-)\nA bastion host is a secure gateway that provides access to resources in a private subnet. In this case it provides the ability to make administrative connections to eoAPI's pgSTAC instance.\n\n\n\nFor more background on bastion hosts in AWS see [this article](https://dev.to/aws-builders/bastion-host-in-aws-vpc-2i63).\n\nAnd for configuration instructions for this construct see [the docs](https://developmentseed.org/eoapi-cdk/#bastionhost-).\n\n\n## Published Packages\n\n- https://pypi.org/project/eoapi-cdk/\n- https://www.npmjs.com/package/eoapi-cdk/\n\n## Release\n\nVersioning is automatically handled via [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) and [Semantic Release](https://semantic-release.gitbook.io/semantic-release/).\n\n_Warning_: If you rebase `main`, you must ensure that the commits referenced by tags point to commits that are within the `main` branch. If a commit references a commit that is no longer on the `main` branch, Semantic Release will fail to detect the correct version of the project. [More information](https://github.com/semantic-release/semantic-release/issues/1121#issuecomment-517945233).\n\n\n"
|
|
3576
3576
|
},
|
|
3577
3577
|
"repository": {
|
|
3578
3578
|
"type": "git",
|
|
@@ -3599,7 +3599,7 @@
|
|
|
3599
3599
|
"kind": "interface",
|
|
3600
3600
|
"locationInModule": {
|
|
3601
3601
|
"filename": "lib/stac-api/index.ts",
|
|
3602
|
-
"line":
|
|
3602
|
+
"line": 115
|
|
3603
3603
|
},
|
|
3604
3604
|
"name": "ApiEntrypoint",
|
|
3605
3605
|
"properties": [
|
|
@@ -3612,7 +3612,7 @@
|
|
|
3612
3612
|
"immutable": true,
|
|
3613
3613
|
"locationInModule": {
|
|
3614
3614
|
"filename": "lib/stac-api/index.ts",
|
|
3615
|
-
"line":
|
|
3615
|
+
"line": 119
|
|
3616
3616
|
},
|
|
3617
3617
|
"name": "entry",
|
|
3618
3618
|
"type": {
|
|
@@ -3628,7 +3628,7 @@
|
|
|
3628
3628
|
"immutable": true,
|
|
3629
3629
|
"locationInModule": {
|
|
3630
3630
|
"filename": "lib/stac-api/index.ts",
|
|
3631
|
-
"line":
|
|
3631
|
+
"line": 127
|
|
3632
3632
|
},
|
|
3633
3633
|
"name": "handler",
|
|
3634
3634
|
"optional": true,
|
|
@@ -3645,7 +3645,7 @@
|
|
|
3645
3645
|
"immutable": true,
|
|
3646
3646
|
"locationInModule": {
|
|
3647
3647
|
"filename": "lib/stac-api/index.ts",
|
|
3648
|
-
"line":
|
|
3648
|
+
"line": 123
|
|
3649
3649
|
},
|
|
3650
3650
|
"name": "index",
|
|
3651
3651
|
"optional": true,
|
|
@@ -4291,7 +4291,7 @@
|
|
|
4291
4291
|
"kind": "interface",
|
|
4292
4292
|
"locationInModule": {
|
|
4293
4293
|
"filename": "lib/stac-api/index.ts",
|
|
4294
|
-
"line":
|
|
4294
|
+
"line": 76
|
|
4295
4295
|
},
|
|
4296
4296
|
"name": "PgStacApiLambdaProps",
|
|
4297
4297
|
"properties": [
|
|
@@ -4304,7 +4304,7 @@
|
|
|
4304
4304
|
"immutable": true,
|
|
4305
4305
|
"locationInModule": {
|
|
4306
4306
|
"filename": "lib/stac-api/index.ts",
|
|
4307
|
-
"line":
|
|
4307
|
+
"line": 85
|
|
4308
4308
|
},
|
|
4309
4309
|
"name": "db",
|
|
4310
4310
|
"type": {
|
|
@@ -4320,7 +4320,7 @@
|
|
|
4320
4320
|
"immutable": true,
|
|
4321
4321
|
"locationInModule": {
|
|
4322
4322
|
"filename": "lib/stac-api/index.ts",
|
|
4323
|
-
"line":
|
|
4323
|
+
"line": 95
|
|
4324
4324
|
},
|
|
4325
4325
|
"name": "dbSecret",
|
|
4326
4326
|
"type": {
|
|
@@ -4336,7 +4336,7 @@
|
|
|
4336
4336
|
"immutable": true,
|
|
4337
4337
|
"locationInModule": {
|
|
4338
4338
|
"filename": "lib/stac-api/index.ts",
|
|
4339
|
-
"line":
|
|
4339
|
+
"line": 90
|
|
4340
4340
|
},
|
|
4341
4341
|
"name": "subnetSelection",
|
|
4342
4342
|
"type": {
|
|
@@ -4352,7 +4352,7 @@
|
|
|
4352
4352
|
"immutable": true,
|
|
4353
4353
|
"locationInModule": {
|
|
4354
4354
|
"filename": "lib/stac-api/index.ts",
|
|
4355
|
-
"line":
|
|
4355
|
+
"line": 80
|
|
4356
4356
|
},
|
|
4357
4357
|
"name": "vpc",
|
|
4358
4358
|
"type": {
|
|
@@ -4369,7 +4369,7 @@
|
|
|
4369
4369
|
"immutable": true,
|
|
4370
4370
|
"locationInModule": {
|
|
4371
4371
|
"filename": "lib/stac-api/index.ts",
|
|
4372
|
-
"line":
|
|
4372
|
+
"line": 102
|
|
4373
4373
|
},
|
|
4374
4374
|
"name": "apiCode",
|
|
4375
4375
|
"optional": true,
|
|
@@ -4386,7 +4386,7 @@
|
|
|
4386
4386
|
"immutable": true,
|
|
4387
4387
|
"locationInModule": {
|
|
4388
4388
|
"filename": "lib/stac-api/index.ts",
|
|
4389
|
-
"line":
|
|
4389
|
+
"line": 107
|
|
4390
4390
|
},
|
|
4391
4391
|
"name": "apiEnv",
|
|
4392
4392
|
"optional": true,
|
|
@@ -4398,6 +4398,23 @@
|
|
|
4398
4398
|
"kind": "map"
|
|
4399
4399
|
}
|
|
4400
4400
|
}
|
|
4401
|
+
},
|
|
4402
|
+
{
|
|
4403
|
+
"abstract": true,
|
|
4404
|
+
"docs": {
|
|
4405
|
+
"stability": "experimental",
|
|
4406
|
+
"summary": "Custom Domain Name Options for STAC API,."
|
|
4407
|
+
},
|
|
4408
|
+
"immutable": true,
|
|
4409
|
+
"locationInModule": {
|
|
4410
|
+
"filename": "lib/stac-api/index.ts",
|
|
4411
|
+
"line": 112
|
|
4412
|
+
},
|
|
4413
|
+
"name": "stacApiDomainName",
|
|
4414
|
+
"optional": true,
|
|
4415
|
+
"type": {
|
|
4416
|
+
"fqn": "@aws-cdk/aws-apigatewayv2-alpha.IDomainName"
|
|
4417
|
+
}
|
|
4401
4418
|
}
|
|
4402
4419
|
],
|
|
4403
4420
|
"symbolId": "lib/stac-api/index:PgStacApiLambdaProps"
|
|
@@ -4679,7 +4696,7 @@
|
|
|
4679
4696
|
"kind": "interface",
|
|
4680
4697
|
"locationInModule": {
|
|
4681
4698
|
"filename": "lib/ingestor-api/index.ts",
|
|
4682
|
-
"line":
|
|
4699
|
+
"line": 238
|
|
4683
4700
|
},
|
|
4684
4701
|
"name": "StacIngestorProps",
|
|
4685
4702
|
"properties": [
|
|
@@ -4692,7 +4709,7 @@
|
|
|
4692
4709
|
"immutable": true,
|
|
4693
4710
|
"locationInModule": {
|
|
4694
4711
|
"filename": "lib/ingestor-api/index.ts",
|
|
4695
|
-
"line":
|
|
4712
|
+
"line": 242
|
|
4696
4713
|
},
|
|
4697
4714
|
"name": "dataAccessRole",
|
|
4698
4715
|
"type": {
|
|
@@ -4708,7 +4725,7 @@
|
|
|
4708
4725
|
"immutable": true,
|
|
4709
4726
|
"locationInModule": {
|
|
4710
4727
|
"filename": "lib/ingestor-api/index.ts",
|
|
4711
|
-
"line":
|
|
4728
|
+
"line": 257
|
|
4712
4729
|
},
|
|
4713
4730
|
"name": "stacDbSecret",
|
|
4714
4731
|
"type": {
|
|
@@ -4724,7 +4741,7 @@
|
|
|
4724
4741
|
"immutable": true,
|
|
4725
4742
|
"locationInModule": {
|
|
4726
4743
|
"filename": "lib/ingestor-api/index.ts",
|
|
4727
|
-
"line":
|
|
4744
|
+
"line": 267
|
|
4728
4745
|
},
|
|
4729
4746
|
"name": "stacDbSecurityGroup",
|
|
4730
4747
|
"type": {
|
|
@@ -4740,7 +4757,7 @@
|
|
|
4740
4757
|
"immutable": true,
|
|
4741
4758
|
"locationInModule": {
|
|
4742
4759
|
"filename": "lib/ingestor-api/index.ts",
|
|
4743
|
-
"line":
|
|
4760
|
+
"line": 247
|
|
4744
4761
|
},
|
|
4745
4762
|
"name": "stacUrl",
|
|
4746
4763
|
"type": {
|
|
@@ -4756,7 +4773,7 @@
|
|
|
4756
4773
|
"immutable": true,
|
|
4757
4774
|
"locationInModule": {
|
|
4758
4775
|
"filename": "lib/ingestor-api/index.ts",
|
|
4759
|
-
"line":
|
|
4776
|
+
"line": 252
|
|
4760
4777
|
},
|
|
4761
4778
|
"name": "stage",
|
|
4762
4779
|
"type": {
|
|
@@ -4772,7 +4789,7 @@
|
|
|
4772
4789
|
"immutable": true,
|
|
4773
4790
|
"locationInModule": {
|
|
4774
4791
|
"filename": "lib/ingestor-api/index.ts",
|
|
4775
|
-
"line":
|
|
4792
|
+
"line": 272
|
|
4776
4793
|
},
|
|
4777
4794
|
"name": "subnetSelection",
|
|
4778
4795
|
"type": {
|
|
@@ -4788,7 +4805,7 @@
|
|
|
4788
4805
|
"immutable": true,
|
|
4789
4806
|
"locationInModule": {
|
|
4790
4807
|
"filename": "lib/ingestor-api/index.ts",
|
|
4791
|
-
"line":
|
|
4808
|
+
"line": 262
|
|
4792
4809
|
},
|
|
4793
4810
|
"name": "vpc",
|
|
4794
4811
|
"type": {
|
|
@@ -4804,7 +4821,7 @@
|
|
|
4804
4821
|
"immutable": true,
|
|
4805
4822
|
"locationInModule": {
|
|
4806
4823
|
"filename": "lib/ingestor-api/index.ts",
|
|
4807
|
-
"line":
|
|
4824
|
+
"line": 282
|
|
4808
4825
|
},
|
|
4809
4826
|
"name": "apiEndpointConfiguration",
|
|
4810
4827
|
"optional": true,
|
|
@@ -4821,7 +4838,7 @@
|
|
|
4821
4838
|
"immutable": true,
|
|
4822
4839
|
"locationInModule": {
|
|
4823
4840
|
"filename": "lib/ingestor-api/index.ts",
|
|
4824
|
-
"line":
|
|
4841
|
+
"line": 277
|
|
4825
4842
|
},
|
|
4826
4843
|
"name": "apiEnv",
|
|
4827
4844
|
"optional": true,
|
|
@@ -4843,17 +4860,314 @@
|
|
|
4843
4860
|
"immutable": true,
|
|
4844
4861
|
"locationInModule": {
|
|
4845
4862
|
"filename": "lib/ingestor-api/index.ts",
|
|
4846
|
-
"line":
|
|
4863
|
+
"line": 287
|
|
4847
4864
|
},
|
|
4848
4865
|
"name": "apiPolicy",
|
|
4849
4866
|
"optional": true,
|
|
4850
4867
|
"type": {
|
|
4851
4868
|
"fqn": "aws-cdk-lib.aws_iam.PolicyDocument"
|
|
4852
4869
|
}
|
|
4870
|
+
},
|
|
4871
|
+
{
|
|
4872
|
+
"abstract": true,
|
|
4873
|
+
"docs": {
|
|
4874
|
+
"stability": "experimental",
|
|
4875
|
+
"summary": "Custom Domain Name Options for Ingestor API."
|
|
4876
|
+
},
|
|
4877
|
+
"immutable": true,
|
|
4878
|
+
"locationInModule": {
|
|
4879
|
+
"filename": "lib/ingestor-api/index.ts",
|
|
4880
|
+
"line": 292
|
|
4881
|
+
},
|
|
4882
|
+
"name": "ingestorDomainNameOptions",
|
|
4883
|
+
"optional": true,
|
|
4884
|
+
"type": {
|
|
4885
|
+
"fqn": "aws-cdk-lib.aws_apigateway.DomainNameOptions"
|
|
4886
|
+
}
|
|
4853
4887
|
}
|
|
4854
4888
|
],
|
|
4855
4889
|
"symbolId": "lib/ingestor-api/index:StacIngestorProps"
|
|
4856
4890
|
},
|
|
4891
|
+
"eoapi-cdk.TiPgApiEntrypoint": {
|
|
4892
|
+
"assembly": "eoapi-cdk",
|
|
4893
|
+
"datatype": true,
|
|
4894
|
+
"docs": {
|
|
4895
|
+
"stability": "experimental"
|
|
4896
|
+
},
|
|
4897
|
+
"fqn": "eoapi-cdk.TiPgApiEntrypoint",
|
|
4898
|
+
"kind": "interface",
|
|
4899
|
+
"locationInModule": {
|
|
4900
|
+
"filename": "lib/tipg-api/index.ts",
|
|
4901
|
+
"line": 110
|
|
4902
|
+
},
|
|
4903
|
+
"name": "TiPgApiEntrypoint",
|
|
4904
|
+
"properties": [
|
|
4905
|
+
{
|
|
4906
|
+
"abstract": true,
|
|
4907
|
+
"docs": {
|
|
4908
|
+
"stability": "experimental",
|
|
4909
|
+
"summary": "Path to the source of the function or the location for dependencies."
|
|
4910
|
+
},
|
|
4911
|
+
"immutable": true,
|
|
4912
|
+
"locationInModule": {
|
|
4913
|
+
"filename": "lib/tipg-api/index.ts",
|
|
4914
|
+
"line": 114
|
|
4915
|
+
},
|
|
4916
|
+
"name": "entry",
|
|
4917
|
+
"type": {
|
|
4918
|
+
"primitive": "string"
|
|
4919
|
+
}
|
|
4920
|
+
},
|
|
4921
|
+
{
|
|
4922
|
+
"abstract": true,
|
|
4923
|
+
"docs": {
|
|
4924
|
+
"stability": "experimental",
|
|
4925
|
+
"summary": "The name of the exported handler in the index file."
|
|
4926
|
+
},
|
|
4927
|
+
"immutable": true,
|
|
4928
|
+
"locationInModule": {
|
|
4929
|
+
"filename": "lib/tipg-api/index.ts",
|
|
4930
|
+
"line": 122
|
|
4931
|
+
},
|
|
4932
|
+
"name": "handler",
|
|
4933
|
+
"optional": true,
|
|
4934
|
+
"type": {
|
|
4935
|
+
"primitive": "string"
|
|
4936
|
+
}
|
|
4937
|
+
},
|
|
4938
|
+
{
|
|
4939
|
+
"abstract": true,
|
|
4940
|
+
"docs": {
|
|
4941
|
+
"stability": "experimental",
|
|
4942
|
+
"summary": "The path (relative to entry) to the index file containing the exported handler."
|
|
4943
|
+
},
|
|
4944
|
+
"immutable": true,
|
|
4945
|
+
"locationInModule": {
|
|
4946
|
+
"filename": "lib/tipg-api/index.ts",
|
|
4947
|
+
"line": 118
|
|
4948
|
+
},
|
|
4949
|
+
"name": "index",
|
|
4950
|
+
"optional": true,
|
|
4951
|
+
"type": {
|
|
4952
|
+
"primitive": "string"
|
|
4953
|
+
}
|
|
4954
|
+
}
|
|
4955
|
+
],
|
|
4956
|
+
"symbolId": "lib/tipg-api/index:TiPgApiEntrypoint"
|
|
4957
|
+
},
|
|
4958
|
+
"eoapi-cdk.TiPgApiLambda": {
|
|
4959
|
+
"assembly": "eoapi-cdk",
|
|
4960
|
+
"base": "constructs.Construct",
|
|
4961
|
+
"docs": {
|
|
4962
|
+
"stability": "experimental"
|
|
4963
|
+
},
|
|
4964
|
+
"fqn": "eoapi-cdk.TiPgApiLambda",
|
|
4965
|
+
"initializer": {
|
|
4966
|
+
"docs": {
|
|
4967
|
+
"stability": "experimental"
|
|
4968
|
+
},
|
|
4969
|
+
"locationInModule": {
|
|
4970
|
+
"filename": "lib/tipg-api/index.ts",
|
|
4971
|
+
"line": 22
|
|
4972
|
+
},
|
|
4973
|
+
"parameters": [
|
|
4974
|
+
{
|
|
4975
|
+
"name": "scope",
|
|
4976
|
+
"type": {
|
|
4977
|
+
"fqn": "constructs.Construct"
|
|
4978
|
+
}
|
|
4979
|
+
},
|
|
4980
|
+
{
|
|
4981
|
+
"name": "id",
|
|
4982
|
+
"type": {
|
|
4983
|
+
"primitive": "string"
|
|
4984
|
+
}
|
|
4985
|
+
},
|
|
4986
|
+
{
|
|
4987
|
+
"name": "props",
|
|
4988
|
+
"type": {
|
|
4989
|
+
"fqn": "eoapi-cdk.TiPgApiLambdaProps"
|
|
4990
|
+
}
|
|
4991
|
+
}
|
|
4992
|
+
]
|
|
4993
|
+
},
|
|
4994
|
+
"kind": "class",
|
|
4995
|
+
"locationInModule": {
|
|
4996
|
+
"filename": "lib/tipg-api/index.ts",
|
|
4997
|
+
"line": 18
|
|
4998
|
+
},
|
|
4999
|
+
"name": "TiPgApiLambda",
|
|
5000
|
+
"properties": [
|
|
5001
|
+
{
|
|
5002
|
+
"docs": {
|
|
5003
|
+
"stability": "experimental"
|
|
5004
|
+
},
|
|
5005
|
+
"immutable": true,
|
|
5006
|
+
"locationInModule": {
|
|
5007
|
+
"filename": "lib/tipg-api/index.ts",
|
|
5008
|
+
"line": 19
|
|
5009
|
+
},
|
|
5010
|
+
"name": "url",
|
|
5011
|
+
"type": {
|
|
5012
|
+
"primitive": "string"
|
|
5013
|
+
}
|
|
5014
|
+
},
|
|
5015
|
+
{
|
|
5016
|
+
"docs": {
|
|
5017
|
+
"stability": "experimental"
|
|
5018
|
+
},
|
|
5019
|
+
"locationInModule": {
|
|
5020
|
+
"filename": "lib/tipg-api/index.ts",
|
|
5021
|
+
"line": 20
|
|
5022
|
+
},
|
|
5023
|
+
"name": "tiPgLambdaFunction",
|
|
5024
|
+
"type": {
|
|
5025
|
+
"fqn": "@aws-cdk/aws-lambda-python-alpha.PythonFunction"
|
|
5026
|
+
}
|
|
5027
|
+
}
|
|
5028
|
+
],
|
|
5029
|
+
"symbolId": "lib/tipg-api/index:TiPgApiLambda"
|
|
5030
|
+
},
|
|
5031
|
+
"eoapi-cdk.TiPgApiLambdaProps": {
|
|
5032
|
+
"assembly": "eoapi-cdk",
|
|
5033
|
+
"datatype": true,
|
|
5034
|
+
"docs": {
|
|
5035
|
+
"stability": "experimental"
|
|
5036
|
+
},
|
|
5037
|
+
"fqn": "eoapi-cdk.TiPgApiLambdaProps",
|
|
5038
|
+
"kind": "interface",
|
|
5039
|
+
"locationInModule": {
|
|
5040
|
+
"filename": "lib/tipg-api/index.ts",
|
|
5041
|
+
"line": 67
|
|
5042
|
+
},
|
|
5043
|
+
"name": "TiPgApiLambdaProps",
|
|
5044
|
+
"properties": [
|
|
5045
|
+
{
|
|
5046
|
+
"abstract": true,
|
|
5047
|
+
"docs": {
|
|
5048
|
+
"stability": "experimental",
|
|
5049
|
+
"summary": "RDS Instance with installed pgSTAC."
|
|
5050
|
+
},
|
|
5051
|
+
"immutable": true,
|
|
5052
|
+
"locationInModule": {
|
|
5053
|
+
"filename": "lib/tipg-api/index.ts",
|
|
5054
|
+
"line": 77
|
|
5055
|
+
},
|
|
5056
|
+
"name": "db",
|
|
5057
|
+
"type": {
|
|
5058
|
+
"fqn": "aws-cdk-lib.aws_rds.IDatabaseInstance"
|
|
5059
|
+
}
|
|
5060
|
+
},
|
|
5061
|
+
{
|
|
5062
|
+
"abstract": true,
|
|
5063
|
+
"docs": {
|
|
5064
|
+
"stability": "experimental",
|
|
5065
|
+
"summary": "Secret containing connection information for pgSTAC database."
|
|
5066
|
+
},
|
|
5067
|
+
"immutable": true,
|
|
5068
|
+
"locationInModule": {
|
|
5069
|
+
"filename": "lib/tipg-api/index.ts",
|
|
5070
|
+
"line": 87
|
|
5071
|
+
},
|
|
5072
|
+
"name": "dbSecret",
|
|
5073
|
+
"type": {
|
|
5074
|
+
"fqn": "aws-cdk-lib.aws_secretsmanager.ISecret"
|
|
5075
|
+
}
|
|
5076
|
+
},
|
|
5077
|
+
{
|
|
5078
|
+
"abstract": true,
|
|
5079
|
+
"docs": {
|
|
5080
|
+
"stability": "experimental",
|
|
5081
|
+
"summary": "Subnet into which the lambda should be deployed."
|
|
5082
|
+
},
|
|
5083
|
+
"immutable": true,
|
|
5084
|
+
"locationInModule": {
|
|
5085
|
+
"filename": "lib/tipg-api/index.ts",
|
|
5086
|
+
"line": 82
|
|
5087
|
+
},
|
|
5088
|
+
"name": "subnetSelection",
|
|
5089
|
+
"type": {
|
|
5090
|
+
"fqn": "aws-cdk-lib.aws_ec2.SubnetSelection"
|
|
5091
|
+
}
|
|
5092
|
+
},
|
|
5093
|
+
{
|
|
5094
|
+
"abstract": true,
|
|
5095
|
+
"docs": {
|
|
5096
|
+
"stability": "experimental",
|
|
5097
|
+
"summary": "VPC into which the lambda should be deployed."
|
|
5098
|
+
},
|
|
5099
|
+
"immutable": true,
|
|
5100
|
+
"locationInModule": {
|
|
5101
|
+
"filename": "lib/tipg-api/index.ts",
|
|
5102
|
+
"line": 72
|
|
5103
|
+
},
|
|
5104
|
+
"name": "vpc",
|
|
5105
|
+
"type": {
|
|
5106
|
+
"fqn": "aws-cdk-lib.aws_ec2.IVpc"
|
|
5107
|
+
}
|
|
5108
|
+
},
|
|
5109
|
+
{
|
|
5110
|
+
"abstract": true,
|
|
5111
|
+
"docs": {
|
|
5112
|
+
"default": "- simplified version of fastapi-pgstac",
|
|
5113
|
+
"stability": "experimental",
|
|
5114
|
+
"summary": "Custom code to run for fastapi-pgstac."
|
|
5115
|
+
},
|
|
5116
|
+
"immutable": true,
|
|
5117
|
+
"locationInModule": {
|
|
5118
|
+
"filename": "lib/tipg-api/index.ts",
|
|
5119
|
+
"line": 94
|
|
5120
|
+
},
|
|
5121
|
+
"name": "apiCode",
|
|
5122
|
+
"optional": true,
|
|
5123
|
+
"type": {
|
|
5124
|
+
"fqn": "eoapi-cdk.TiPgApiEntrypoint"
|
|
5125
|
+
}
|
|
5126
|
+
},
|
|
5127
|
+
{
|
|
5128
|
+
"abstract": true,
|
|
5129
|
+
"docs": {
|
|
5130
|
+
"stability": "experimental",
|
|
5131
|
+
"summary": "Customized environment variables to send to titiler-pgstac runtime."
|
|
5132
|
+
},
|
|
5133
|
+
"immutable": true,
|
|
5134
|
+
"locationInModule": {
|
|
5135
|
+
"filename": "lib/tipg-api/index.ts",
|
|
5136
|
+
"line": 99
|
|
5137
|
+
},
|
|
5138
|
+
"name": "apiEnv",
|
|
5139
|
+
"optional": true,
|
|
5140
|
+
"type": {
|
|
5141
|
+
"collection": {
|
|
5142
|
+
"elementtype": {
|
|
5143
|
+
"primitive": "string"
|
|
5144
|
+
},
|
|
5145
|
+
"kind": "map"
|
|
5146
|
+
}
|
|
5147
|
+
}
|
|
5148
|
+
},
|
|
5149
|
+
{
|
|
5150
|
+
"abstract": true,
|
|
5151
|
+
"docs": {
|
|
5152
|
+
"default": "- undefined",
|
|
5153
|
+
"remarks": "If defined, will create the \ndomain name and integrate it with the tipg API.",
|
|
5154
|
+
"stability": "experimental",
|
|
5155
|
+
"summary": "Custom Domain Name for tipg API."
|
|
5156
|
+
},
|
|
5157
|
+
"immutable": true,
|
|
5158
|
+
"locationInModule": {
|
|
5159
|
+
"filename": "lib/tipg-api/index.ts",
|
|
5160
|
+
"line": 107
|
|
5161
|
+
},
|
|
5162
|
+
"name": "tipgApiDomainName",
|
|
5163
|
+
"optional": true,
|
|
5164
|
+
"type": {
|
|
5165
|
+
"fqn": "@aws-cdk/aws-apigatewayv2-alpha.IDomainName"
|
|
5166
|
+
}
|
|
5167
|
+
}
|
|
5168
|
+
],
|
|
5169
|
+
"symbolId": "lib/tipg-api/index:TiPgApiLambdaProps"
|
|
5170
|
+
},
|
|
4857
5171
|
"eoapi-cdk.TitilerPgStacApiLambdaProps": {
|
|
4858
5172
|
"assembly": "eoapi-cdk",
|
|
4859
5173
|
"datatype": true,
|
|
@@ -4864,7 +5178,7 @@
|
|
|
4864
5178
|
"kind": "interface",
|
|
4865
5179
|
"locationInModule": {
|
|
4866
5180
|
"filename": "lib/titiler-pgstac-api/index.ts",
|
|
4867
|
-
"line":
|
|
5181
|
+
"line": 85
|
|
4868
5182
|
},
|
|
4869
5183
|
"name": "TitilerPgStacApiLambdaProps",
|
|
4870
5184
|
"properties": [
|
|
@@ -4877,7 +5191,7 @@
|
|
|
4877
5191
|
"immutable": true,
|
|
4878
5192
|
"locationInModule": {
|
|
4879
5193
|
"filename": "lib/titiler-pgstac-api/index.ts",
|
|
4880
|
-
"line":
|
|
5194
|
+
"line": 95
|
|
4881
5195
|
},
|
|
4882
5196
|
"name": "db",
|
|
4883
5197
|
"type": {
|
|
@@ -4893,7 +5207,7 @@
|
|
|
4893
5207
|
"immutable": true,
|
|
4894
5208
|
"locationInModule": {
|
|
4895
5209
|
"filename": "lib/titiler-pgstac-api/index.ts",
|
|
4896
|
-
"line":
|
|
5210
|
+
"line": 105
|
|
4897
5211
|
},
|
|
4898
5212
|
"name": "dbSecret",
|
|
4899
5213
|
"type": {
|
|
@@ -4909,7 +5223,7 @@
|
|
|
4909
5223
|
"immutable": true,
|
|
4910
5224
|
"locationInModule": {
|
|
4911
5225
|
"filename": "lib/titiler-pgstac-api/index.ts",
|
|
4912
|
-
"line":
|
|
5226
|
+
"line": 100
|
|
4913
5227
|
},
|
|
4914
5228
|
"name": "subnetSelection",
|
|
4915
5229
|
"type": {
|
|
@@ -4925,7 +5239,7 @@
|
|
|
4925
5239
|
"immutable": true,
|
|
4926
5240
|
"locationInModule": {
|
|
4927
5241
|
"filename": "lib/titiler-pgstac-api/index.ts",
|
|
4928
|
-
"line":
|
|
5242
|
+
"line": 90
|
|
4929
5243
|
},
|
|
4930
5244
|
"name": "vpc",
|
|
4931
5245
|
"type": {
|
|
@@ -4941,7 +5255,7 @@
|
|
|
4941
5255
|
"immutable": true,
|
|
4942
5256
|
"locationInModule": {
|
|
4943
5257
|
"filename": "lib/titiler-pgstac-api/index.ts",
|
|
4944
|
-
"line":
|
|
5258
|
+
"line": 110
|
|
4945
5259
|
},
|
|
4946
5260
|
"name": "apiEnv",
|
|
4947
5261
|
"optional": true,
|
|
@@ -4963,7 +5277,7 @@
|
|
|
4963
5277
|
"immutable": true,
|
|
4964
5278
|
"locationInModule": {
|
|
4965
5279
|
"filename": "lib/titiler-pgstac-api/index.ts",
|
|
4966
|
-
"line":
|
|
5280
|
+
"line": 115
|
|
4967
5281
|
},
|
|
4968
5282
|
"name": "buckets",
|
|
4969
5283
|
"optional": true,
|
|
@@ -4975,6 +5289,23 @@
|
|
|
4975
5289
|
"kind": "array"
|
|
4976
5290
|
}
|
|
4977
5291
|
}
|
|
5292
|
+
},
|
|
5293
|
+
{
|
|
5294
|
+
"abstract": true,
|
|
5295
|
+
"docs": {
|
|
5296
|
+
"stability": "experimental",
|
|
5297
|
+
"summary": "Custom Domain Name Options for Titiler Pgstac API,."
|
|
5298
|
+
},
|
|
5299
|
+
"immutable": true,
|
|
5300
|
+
"locationInModule": {
|
|
5301
|
+
"filename": "lib/titiler-pgstac-api/index.ts",
|
|
5302
|
+
"line": 120
|
|
5303
|
+
},
|
|
5304
|
+
"name": "titilerPgstacApiDomainName",
|
|
5305
|
+
"optional": true,
|
|
5306
|
+
"type": {
|
|
5307
|
+
"fqn": "@aws-cdk/aws-apigatewayv2-alpha.IDomainName"
|
|
5308
|
+
}
|
|
4978
5309
|
}
|
|
4979
5310
|
],
|
|
4980
5311
|
"symbolId": "lib/titiler-pgstac-api/index:TitilerPgStacApiLambdaProps"
|
|
@@ -5053,6 +5384,6 @@
|
|
|
5053
5384
|
"symbolId": "lib/titiler-pgstac-api/index:TitilerPgstacApiLambda"
|
|
5054
5385
|
}
|
|
5055
5386
|
},
|
|
5056
|
-
"version": "5.
|
|
5057
|
-
"fingerprint": "
|
|
5387
|
+
"version": "5.2.0",
|
|
5388
|
+
"fingerprint": "fQrWqEgx+pvdtt0hwmEg3eVfkpcxTVeCWxpar60uzd0="
|
|
5058
5389
|
}
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# [5.2.0](https://github.com/developmentseed/eoapi-cdk/compare/v5.1.0...v5.2.0) (2023-08-30)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* tipg-api ([#62](https://github.com/developmentseed/eoapi-cdk/issues/62)) ([24faa85](https://github.com/developmentseed/eoapi-cdk/commit/24faa85fc4f1ccb6406768b9f43a4cb095dac0cf))
|
|
7
|
+
|
|
8
|
+
# [5.1.0](https://github.com/developmentseed/eoapi-cdk/compare/v5.0.0...v5.1.0) (2023-08-21)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* custom domain names for apis ([#63](https://github.com/developmentseed/eoapi-cdk/issues/63)) ([c9eeb00](https://github.com/developmentseed/eoapi-cdk/commit/c9eeb00c2d66bf923f3029743e1c9746f7752c5e)), closes [#61](https://github.com/developmentseed/eoapi-cdk/issues/61)
|
|
14
|
+
|
|
1
15
|
# [5.0.0](https://github.com/developmentseed/eoapi-cdk/compare/v4.2.3...v5.0.0) (2023-07-12)
|
|
2
16
|
|
|
3
17
|
|
package/README.md
CHANGED
|
@@ -17,6 +17,9 @@ A STAC API implementation using [stac-fastapi](https://github.com/stac-utils/sta
|
|
|
17
17
|
### [pgSTAC Titiler API](https://developmentseed.org/eoapi-cdk/#titilerpgstacapilambda-)
|
|
18
18
|
A complete dynamic tiling API using [titiler-pgstac](https://github.com/stac-utils/titiler-pgstac) to create dynamic mosaics of assets based on [STAC Search queries](https://github.com/radiantearth/stac-api-spec/tree/master/item-search). Packaged as a complete runtime for deployment with API Gateway and Lambda and fully integrated with the pgSTAC Database construct.
|
|
19
19
|
|
|
20
|
+
### [OGC Features/Tiles API](https://developmentseed.org/eoapi-cdk/#titilerpgstacapilambda-)
|
|
21
|
+
A complete OGC Features/Tiles API using [tipg](https://github.com/developmentseed/tipg). Packaged as a complete runtime for deployment with API Gateway and Lambda. By default the API will be connected to the Database's `public` schema.
|
|
22
|
+
|
|
20
23
|
### [STAC Ingestor](https://developmentseed.org/eoapi-cdk/#stacingestor-)
|
|
21
24
|
An API for large scale STAC data ingestion and validation into a pgSTAC instance.
|
|
22
25
|
|