eoapi-cdk 6.0.2__tar.gz → 7.0.0__tar.gz
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.
- {eoapi-cdk-6.0.2/src/eoapi_cdk.egg-info → eoapi-cdk-7.0.0}/PKG-INFO +5 -1
- {eoapi-cdk-6.0.2 → eoapi-cdk-7.0.0}/README.md +4 -0
- {eoapi-cdk-6.0.2 → eoapi-cdk-7.0.0}/setup.py +2 -2
- {eoapi-cdk-6.0.2 → eoapi-cdk-7.0.0}/src/eoapi_cdk/__init__.py +47 -32
- {eoapi-cdk-6.0.2 → eoapi-cdk-7.0.0}/src/eoapi_cdk/_jsii/__init__.py +1 -1
- eoapi-cdk-7.0.0/src/eoapi_cdk/_jsii/eoapi-cdk@7.0.0.jsii.tgz +0 -0
- {eoapi-cdk-6.0.2 → eoapi-cdk-7.0.0/src/eoapi_cdk.egg-info}/PKG-INFO +5 -1
- {eoapi-cdk-6.0.2 → eoapi-cdk-7.0.0}/src/eoapi_cdk.egg-info/SOURCES.txt +1 -1
- eoapi-cdk-6.0.2/src/eoapi_cdk/_jsii/eoapi-cdk@6.0.2.jsii.tgz +0 -0
- {eoapi-cdk-6.0.2 → eoapi-cdk-7.0.0}/LICENSE +0 -0
- {eoapi-cdk-6.0.2 → eoapi-cdk-7.0.0}/MANIFEST.in +0 -0
- {eoapi-cdk-6.0.2 → eoapi-cdk-7.0.0}/pyproject.toml +0 -0
- {eoapi-cdk-6.0.2 → eoapi-cdk-7.0.0}/setup.cfg +0 -0
- {eoapi-cdk-6.0.2 → eoapi-cdk-7.0.0}/src/eoapi_cdk/py.typed +0 -0
- {eoapi-cdk-6.0.2 → eoapi-cdk-7.0.0}/src/eoapi_cdk.egg-info/dependency_links.txt +0 -0
- {eoapi-cdk-6.0.2 → eoapi-cdk-7.0.0}/src/eoapi_cdk.egg-info/requires.txt +0 -0
- {eoapi-cdk-6.0.2 → eoapi-cdk-7.0.0}/src/eoapi_cdk.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: eoapi-cdk
|
|
3
|
-
Version:
|
|
3
|
+
Version: 7.0.0
|
|
4
4
|
Summary: A set of constructs deploying pgSTAC with CDK
|
|
5
5
|
Home-page: https://github.com/developmentseed/eoapi-cdk.git
|
|
6
6
|
Author: Anthony Lukach<anthony@developmentseed.org>
|
|
@@ -83,4 +83,8 @@ Versioning is automatically handled via [Conventional Commits](https://www.conve
|
|
|
83
83
|
|
|
84
84
|
*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).
|
|
85
85
|
|
|
86
|
+
## Tests
|
|
87
|
+
|
|
88
|
+
Each pull request to `main` is added to a [merge queue](https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-a-merge-queue#triggering-merge-group-checks-with-github-actions) so that a "deployment test" workflow can run before the merge actually happens. If the deployment fails, the merge is cancelled. Here is [the definition of this workflow](https://github.com/developmentseed/eoapi-cdk/blob/main/.github/workflows/deploy.yaml) and the [tests definition](https://github.com/developmentseed/eoapi-cdk/blob/main/tests).
|
|
89
|
+
|
|
86
90
|
|
|
@@ -58,3 +58,7 @@ And for configuration instructions for this construct see [the docs](https://dev
|
|
|
58
58
|
Versioning is automatically handled via [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) and [Semantic Release](https://semantic-release.gitbook.io/semantic-release/).
|
|
59
59
|
|
|
60
60
|
*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).
|
|
61
|
+
|
|
62
|
+
## Tests
|
|
63
|
+
|
|
64
|
+
Each pull request to `main` is added to a [merge queue](https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-a-merge-queue#triggering-merge-group-checks-with-github-actions) so that a "deployment test" workflow can run before the merge actually happens. If the deployment fails, the merge is cancelled. Here is [the definition of this workflow](https://github.com/developmentseed/eoapi-cdk/blob/main/.github/workflows/deploy.yaml) and the [tests definition](https://github.com/developmentseed/eoapi-cdk/blob/main/tests).
|
|
@@ -5,7 +5,7 @@ kwargs = json.loads(
|
|
|
5
5
|
"""
|
|
6
6
|
{
|
|
7
7
|
"name": "eoapi-cdk",
|
|
8
|
-
"version": "
|
|
8
|
+
"version": "7.0.0",
|
|
9
9
|
"description": "A set of constructs deploying pgSTAC with CDK",
|
|
10
10
|
"license": "ISC",
|
|
11
11
|
"url": "https://github.com/developmentseed/eoapi-cdk.git",
|
|
@@ -26,7 +26,7 @@ kwargs = json.loads(
|
|
|
26
26
|
],
|
|
27
27
|
"package_data": {
|
|
28
28
|
"eoapi_cdk._jsii": [
|
|
29
|
-
"eoapi-cdk@
|
|
29
|
+
"eoapi-cdk@7.0.0.jsii.tgz"
|
|
30
30
|
],
|
|
31
31
|
"eoapi_cdk": [
|
|
32
32
|
"py.typed"
|
|
@@ -59,6 +59,10 @@ And for configuration instructions for this construct see [the docs](https://dev
|
|
|
59
59
|
Versioning is automatically handled via [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) and [Semantic Release](https://semantic-release.gitbook.io/semantic-release/).
|
|
60
60
|
|
|
61
61
|
*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).
|
|
62
|
+
|
|
63
|
+
## Tests
|
|
64
|
+
|
|
65
|
+
Each pull request to `main` is added to a [merge queue](https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-a-merge-queue#triggering-merge-group-checks-with-github-actions) so that a "deployment test" workflow can run before the merge actually happens. If the deployment fails, the merge is cancelled. Here is [the definition of this workflow](https://github.com/developmentseed/eoapi-cdk/blob/main/.github/workflows/deploy.yaml) and the [tests definition](https://github.com/developmentseed/eoapi-cdk/blob/main/tests).
|
|
62
66
|
'''
|
|
63
67
|
import abc
|
|
64
68
|
import builtins
|
|
@@ -565,7 +569,7 @@ class PgStacApiLambda(
|
|
|
565
569
|
:param db: (experimental) RDS Instance with installed pgSTAC.
|
|
566
570
|
:param db_secret: (experimental) Secret containing connection information for pgSTAC database.
|
|
567
571
|
:param api_env: (experimental) Customized environment variables to send to fastapi-pgstac runtime.
|
|
568
|
-
:param lambda_function_options: (experimental)
|
|
572
|
+
:param lambda_function_options: (experimental) Can be used to override the default lambda function properties. Default: - defined in the construct.
|
|
569
573
|
:param stac_api_domain_name: (experimental) Custom Domain Name Options for STAC API,.
|
|
570
574
|
:param subnet_selection: (experimental) Subnet into which the lambda should be deployed.
|
|
571
575
|
:param vpc: (experimental) VPC into which the lambda should be deployed.
|
|
@@ -641,7 +645,7 @@ class PgStacApiLambdaProps:
|
|
|
641
645
|
:param db: (experimental) RDS Instance with installed pgSTAC.
|
|
642
646
|
:param db_secret: (experimental) Secret containing connection information for pgSTAC database.
|
|
643
647
|
:param api_env: (experimental) Customized environment variables to send to fastapi-pgstac runtime.
|
|
644
|
-
:param lambda_function_options: (experimental)
|
|
648
|
+
:param lambda_function_options: (experimental) Can be used to override the default lambda function properties. Default: - defined in the construct.
|
|
645
649
|
:param stac_api_domain_name: (experimental) Custom Domain Name Options for STAC API,.
|
|
646
650
|
:param subnet_selection: (experimental) Subnet into which the lambda should be deployed.
|
|
647
651
|
:param vpc: (experimental) VPC into which the lambda should be deployed.
|
|
@@ -705,9 +709,7 @@ class PgStacApiLambdaProps:
|
|
|
705
709
|
|
|
706
710
|
@builtins.property
|
|
707
711
|
def lambda_function_options(self) -> typing.Any:
|
|
708
|
-
'''(experimental)
|
|
709
|
-
|
|
710
|
-
Can be anything that can be configured on the lambda function, but some will be overwritten by values defined here.
|
|
712
|
+
'''(experimental) Can be used to override the default lambda function properties.
|
|
711
713
|
|
|
712
714
|
:default: - defined in the construct.
|
|
713
715
|
|
|
@@ -838,7 +840,7 @@ class PgStacDatabase(
|
|
|
838
840
|
'''
|
|
839
841
|
:param scope: -
|
|
840
842
|
:param id: -
|
|
841
|
-
:param bootstrapper_lambda_function_options: (experimental)
|
|
843
|
+
:param bootstrapper_lambda_function_options: (experimental) Can be used to override the default lambda function properties. Default: - defined in the construct.
|
|
842
844
|
:param custom_resource_properties: (experimental) Lambda function Custom Resource properties. A custom resource property is going to be created to trigger the boostrapping lambda function. This parameter allows the user to specify additional properties on top of the defaults ones.
|
|
843
845
|
:param pgstac_db_name: (experimental) Name of database that is to be created and onto which pgSTAC will be installed. Default: pgstac
|
|
844
846
|
:param pgstac_username: (experimental) Name of user that will be generated for connecting to the pgSTAC database. Default: pgstac_user
|
|
@@ -1196,7 +1198,7 @@ class PgStacDatabaseProps(aws_cdk.aws_rds.DatabaseInstanceProps):
|
|
|
1196
1198
|
:param credentials: Credentials for the administrative user. Default: - A username of 'admin' (or 'postgres' for PostgreSQL) and SecretsManager-generated password
|
|
1197
1199
|
:param storage_encrypted: Indicates whether the DB instance is encrypted. Default: - true if storageEncryptionKey has been provided, false otherwise
|
|
1198
1200
|
:param storage_encryption_key: The KMS key that's used to encrypt the DB instance. Default: - default master key if storageEncrypted is true, no key otherwise
|
|
1199
|
-
:param bootstrapper_lambda_function_options: (experimental)
|
|
1201
|
+
:param bootstrapper_lambda_function_options: (experimental) Can be used to override the default lambda function properties. Default: - defined in the construct.
|
|
1200
1202
|
:param custom_resource_properties: (experimental) Lambda function Custom Resource properties. A custom resource property is going to be created to trigger the boostrapping lambda function. This parameter allows the user to specify additional properties on top of the defaults ones.
|
|
1201
1203
|
:param pgstac_db_name: (experimental) Name of database that is to be created and onto which pgSTAC will be installed. Default: pgstac
|
|
1202
1204
|
:param pgstac_username: (experimental) Name of user that will be generated for connecting to the pgSTAC database. Default: pgstac_user
|
|
@@ -1965,9 +1967,7 @@ class PgStacDatabaseProps(aws_cdk.aws_rds.DatabaseInstanceProps):
|
|
|
1965
1967
|
|
|
1966
1968
|
@builtins.property
|
|
1967
1969
|
def bootstrapper_lambda_function_options(self) -> typing.Any:
|
|
1968
|
-
'''(experimental)
|
|
1969
|
-
|
|
1970
|
-
Can be anything that can be configured on the lambda function, but some will be overwritten by values defined here.
|
|
1970
|
+
'''(experimental) Can be used to override the default lambda function properties.
|
|
1971
1971
|
|
|
1972
1972
|
:default: - defined in the construct.
|
|
1973
1973
|
|
|
@@ -2055,16 +2055,18 @@ class StacBrowser(
|
|
|
2055
2055
|
bucket_arn: typing.Optional[builtins.str] = None,
|
|
2056
2056
|
clone_directory: typing.Optional[builtins.str] = None,
|
|
2057
2057
|
cloud_front_distribution_arn: typing.Optional[builtins.str] = None,
|
|
2058
|
+
config_file_path: typing.Optional[builtins.str] = None,
|
|
2058
2059
|
website_index_document: typing.Optional[builtins.str] = None,
|
|
2059
2060
|
) -> None:
|
|
2060
2061
|
'''
|
|
2061
2062
|
:param scope: -
|
|
2062
2063
|
:param id: -
|
|
2063
2064
|
:param github_repo_tag: (experimental) Tag of the radiant earth stac-browser repo to use to build the app.
|
|
2064
|
-
:param stac_catalog_url: (experimental) STAC catalog URL.
|
|
2065
|
+
:param stac_catalog_url: (experimental) STAC catalog URL. Overrides the catalog URL in the stac-browser configuration.
|
|
2065
2066
|
:param bucket_arn: (experimental) Bucket ARN. If specified, the identity used to deploy the stack must have the appropriate permissions to create a deployment for this bucket. In addition, if specified, ``cloudFrontDistributionArn`` is ignored since the policy of an imported resource can't be modified. Default: - No bucket ARN. A new bucket will be created.
|
|
2066
2067
|
:param clone_directory: (experimental) Location in the filesystem where to compile the browser code. Default: - DEFAULT_CLONE_DIRECTORY
|
|
2067
2068
|
:param cloud_front_distribution_arn: (experimental) The ARN of the cloudfront distribution that will be added to the bucket policy with read access. If ``bucketArn`` is specified, this parameter is ignored since the policy of an imported bucket can't be modified. Default: - No cloudfront distribution ARN. The bucket policy will not be modified.
|
|
2069
|
+
:param config_file_path: (experimental) Path to config file for the STAC browser. If not provided, default configuration in the STAC browser repository is used.
|
|
2068
2070
|
:param website_index_document: (experimental) The name of the index document (e.g. "index.html") for the website. Enables static website hosting for this bucket. Default: - No index document.
|
|
2069
2071
|
|
|
2070
2072
|
:stability: experimental
|
|
@@ -2079,6 +2081,7 @@ class StacBrowser(
|
|
|
2079
2081
|
bucket_arn=bucket_arn,
|
|
2080
2082
|
clone_directory=clone_directory,
|
|
2081
2083
|
cloud_front_distribution_arn=cloud_front_distribution_arn,
|
|
2084
|
+
config_file_path=config_file_path,
|
|
2082
2085
|
website_index_document=website_index_document,
|
|
2083
2086
|
)
|
|
2084
2087
|
|
|
@@ -2127,6 +2130,7 @@ class StacBrowser(
|
|
|
2127
2130
|
"bucket_arn": "bucketArn",
|
|
2128
2131
|
"clone_directory": "cloneDirectory",
|
|
2129
2132
|
"cloud_front_distribution_arn": "cloudFrontDistributionArn",
|
|
2133
|
+
"config_file_path": "configFilePath",
|
|
2130
2134
|
"website_index_document": "websiteIndexDocument",
|
|
2131
2135
|
},
|
|
2132
2136
|
)
|
|
@@ -2139,14 +2143,16 @@ class StacBrowserProps:
|
|
|
2139
2143
|
bucket_arn: typing.Optional[builtins.str] = None,
|
|
2140
2144
|
clone_directory: typing.Optional[builtins.str] = None,
|
|
2141
2145
|
cloud_front_distribution_arn: typing.Optional[builtins.str] = None,
|
|
2146
|
+
config_file_path: typing.Optional[builtins.str] = None,
|
|
2142
2147
|
website_index_document: typing.Optional[builtins.str] = None,
|
|
2143
2148
|
) -> None:
|
|
2144
2149
|
'''
|
|
2145
2150
|
:param github_repo_tag: (experimental) Tag of the radiant earth stac-browser repo to use to build the app.
|
|
2146
|
-
:param stac_catalog_url: (experimental) STAC catalog URL.
|
|
2151
|
+
:param stac_catalog_url: (experimental) STAC catalog URL. Overrides the catalog URL in the stac-browser configuration.
|
|
2147
2152
|
:param bucket_arn: (experimental) Bucket ARN. If specified, the identity used to deploy the stack must have the appropriate permissions to create a deployment for this bucket. In addition, if specified, ``cloudFrontDistributionArn`` is ignored since the policy of an imported resource can't be modified. Default: - No bucket ARN. A new bucket will be created.
|
|
2148
2153
|
:param clone_directory: (experimental) Location in the filesystem where to compile the browser code. Default: - DEFAULT_CLONE_DIRECTORY
|
|
2149
2154
|
:param cloud_front_distribution_arn: (experimental) The ARN of the cloudfront distribution that will be added to the bucket policy with read access. If ``bucketArn`` is specified, this parameter is ignored since the policy of an imported bucket can't be modified. Default: - No cloudfront distribution ARN. The bucket policy will not be modified.
|
|
2155
|
+
:param config_file_path: (experimental) Path to config file for the STAC browser. If not provided, default configuration in the STAC browser repository is used.
|
|
2150
2156
|
:param website_index_document: (experimental) The name of the index document (e.g. "index.html") for the website. Enables static website hosting for this bucket. Default: - No index document.
|
|
2151
2157
|
|
|
2152
2158
|
:stability: experimental
|
|
@@ -2158,6 +2164,7 @@ class StacBrowserProps:
|
|
|
2158
2164
|
check_type(argname="argument bucket_arn", value=bucket_arn, expected_type=type_hints["bucket_arn"])
|
|
2159
2165
|
check_type(argname="argument clone_directory", value=clone_directory, expected_type=type_hints["clone_directory"])
|
|
2160
2166
|
check_type(argname="argument cloud_front_distribution_arn", value=cloud_front_distribution_arn, expected_type=type_hints["cloud_front_distribution_arn"])
|
|
2167
|
+
check_type(argname="argument config_file_path", value=config_file_path, expected_type=type_hints["config_file_path"])
|
|
2161
2168
|
check_type(argname="argument website_index_document", value=website_index_document, expected_type=type_hints["website_index_document"])
|
|
2162
2169
|
self._values: typing.Dict[str, typing.Any] = {
|
|
2163
2170
|
"github_repo_tag": github_repo_tag,
|
|
@@ -2169,6 +2176,8 @@ class StacBrowserProps:
|
|
|
2169
2176
|
self._values["clone_directory"] = clone_directory
|
|
2170
2177
|
if cloud_front_distribution_arn is not None:
|
|
2171
2178
|
self._values["cloud_front_distribution_arn"] = cloud_front_distribution_arn
|
|
2179
|
+
if config_file_path is not None:
|
|
2180
|
+
self._values["config_file_path"] = config_file_path
|
|
2172
2181
|
if website_index_document is not None:
|
|
2173
2182
|
self._values["website_index_document"] = website_index_document
|
|
2174
2183
|
|
|
@@ -2186,6 +2195,8 @@ class StacBrowserProps:
|
|
|
2186
2195
|
def stac_catalog_url(self) -> builtins.str:
|
|
2187
2196
|
'''(experimental) STAC catalog URL.
|
|
2188
2197
|
|
|
2198
|
+
Overrides the catalog URL in the stac-browser configuration.
|
|
2199
|
+
|
|
2189
2200
|
:stability: experimental
|
|
2190
2201
|
'''
|
|
2191
2202
|
result = self._values.get("stac_catalog_url")
|
|
@@ -2230,6 +2241,18 @@ class StacBrowserProps:
|
|
|
2230
2241
|
result = self._values.get("cloud_front_distribution_arn")
|
|
2231
2242
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
2232
2243
|
|
|
2244
|
+
@builtins.property
|
|
2245
|
+
def config_file_path(self) -> typing.Optional[builtins.str]:
|
|
2246
|
+
'''(experimental) Path to config file for the STAC browser.
|
|
2247
|
+
|
|
2248
|
+
If not provided, default configuration in the STAC browser
|
|
2249
|
+
repository is used.
|
|
2250
|
+
|
|
2251
|
+
:stability: experimental
|
|
2252
|
+
'''
|
|
2253
|
+
result = self._values.get("config_file_path")
|
|
2254
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2255
|
+
|
|
2233
2256
|
@builtins.property
|
|
2234
2257
|
def website_index_document(self) -> typing.Optional[builtins.str]:
|
|
2235
2258
|
'''(experimental) The name of the index document (e.g. "index.html") for the website. Enables static website hosting for this bucket.
|
|
@@ -2291,10 +2314,10 @@ class StacIngestor(
|
|
|
2291
2314
|
:param stage: (experimental) Stage of deployment (e.g. ``dev``, ``prod``).
|
|
2292
2315
|
:param api_endpoint_configuration: (experimental) API Endpoint Configuration, useful for creating private APIs.
|
|
2293
2316
|
:param api_env: (experimental) Environment variables to be sent to Lambda.
|
|
2294
|
-
:param api_lambda_function_options: (experimental)
|
|
2317
|
+
:param api_lambda_function_options: (experimental) Can be used to override the default lambda function properties. Default: - default settings are defined in the construct.
|
|
2295
2318
|
:param api_policy: (experimental) API Policy Document, useful for creating private APIs.
|
|
2296
2319
|
:param ingestor_domain_name_options: (experimental) Custom Domain Name Options for Ingestor API.
|
|
2297
|
-
:param ingestor_lambda_function_options: (experimental)
|
|
2320
|
+
:param ingestor_lambda_function_options: (experimental) Can be used to override the default lambda function properties. Default: - default settings are defined in the construct.
|
|
2298
2321
|
:param subnet_selection: (experimental) Subnet into which the lambda should be deployed if using a VPC.
|
|
2299
2322
|
:param vpc: (experimental) VPC running pgSTAC DB.
|
|
2300
2323
|
|
|
@@ -2398,10 +2421,10 @@ class StacIngestorProps:
|
|
|
2398
2421
|
:param stage: (experimental) Stage of deployment (e.g. ``dev``, ``prod``).
|
|
2399
2422
|
:param api_endpoint_configuration: (experimental) API Endpoint Configuration, useful for creating private APIs.
|
|
2400
2423
|
:param api_env: (experimental) Environment variables to be sent to Lambda.
|
|
2401
|
-
:param api_lambda_function_options: (experimental)
|
|
2424
|
+
:param api_lambda_function_options: (experimental) Can be used to override the default lambda function properties. Default: - default settings are defined in the construct.
|
|
2402
2425
|
:param api_policy: (experimental) API Policy Document, useful for creating private APIs.
|
|
2403
2426
|
:param ingestor_domain_name_options: (experimental) Custom Domain Name Options for Ingestor API.
|
|
2404
|
-
:param ingestor_lambda_function_options: (experimental)
|
|
2427
|
+
:param ingestor_lambda_function_options: (experimental) Can be used to override the default lambda function properties. Default: - default settings are defined in the construct.
|
|
2405
2428
|
:param subnet_selection: (experimental) Subnet into which the lambda should be deployed if using a VPC.
|
|
2406
2429
|
:param vpc: (experimental) VPC running pgSTAC DB.
|
|
2407
2430
|
|
|
@@ -2524,9 +2547,7 @@ class StacIngestorProps:
|
|
|
2524
2547
|
|
|
2525
2548
|
@builtins.property
|
|
2526
2549
|
def api_lambda_function_options(self) -> typing.Any:
|
|
2527
|
-
'''(experimental)
|
|
2528
|
-
|
|
2529
|
-
Can be anything that can be configured on the lambda function, but some will be overwritten by values defined here.
|
|
2550
|
+
'''(experimental) Can be used to override the default lambda function properties.
|
|
2530
2551
|
|
|
2531
2552
|
:default: - default settings are defined in the construct.
|
|
2532
2553
|
|
|
@@ -2557,9 +2578,7 @@ class StacIngestorProps:
|
|
|
2557
2578
|
|
|
2558
2579
|
@builtins.property
|
|
2559
2580
|
def ingestor_lambda_function_options(self) -> typing.Any:
|
|
2560
|
-
'''(experimental)
|
|
2561
|
-
|
|
2562
|
-
Can be anything that can be configured on the lambda function, but some will be overwritten by values defined here.
|
|
2581
|
+
'''(experimental) Can be used to override the default lambda function properties.
|
|
2563
2582
|
|
|
2564
2583
|
:default: - default settings are defined in the construct.
|
|
2565
2584
|
|
|
@@ -2626,7 +2645,7 @@ class TiPgApiLambda(
|
|
|
2626
2645
|
:param db: (experimental) RDS Instance with installed pgSTAC.
|
|
2627
2646
|
:param db_secret: (experimental) Secret containing connection information for pgSTAC database.
|
|
2628
2647
|
:param api_env: (experimental) Customized environment variables to send to titiler-pgstac runtime.
|
|
2629
|
-
:param lambda_function_options: (experimental)
|
|
2648
|
+
:param lambda_function_options: (experimental) Can be used to override the default lambda function properties. Default: - defined in the construct.
|
|
2630
2649
|
:param subnet_selection: (experimental) Subnet into which the lambda should be deployed.
|
|
2631
2650
|
:param tipg_api_domain_name: (experimental) Custom Domain Name for tipg API. If defined, will create the domain name and integrate it with the tipg API. Default: - undefined
|
|
2632
2651
|
:param vpc: (experimental) VPC into which the lambda should be deployed.
|
|
@@ -2702,7 +2721,7 @@ class TiPgApiLambdaProps:
|
|
|
2702
2721
|
:param db: (experimental) RDS Instance with installed pgSTAC.
|
|
2703
2722
|
:param db_secret: (experimental) Secret containing connection information for pgSTAC database.
|
|
2704
2723
|
:param api_env: (experimental) Customized environment variables to send to titiler-pgstac runtime.
|
|
2705
|
-
:param lambda_function_options: (experimental)
|
|
2724
|
+
:param lambda_function_options: (experimental) Can be used to override the default lambda function properties. Default: - defined in the construct.
|
|
2706
2725
|
:param subnet_selection: (experimental) Subnet into which the lambda should be deployed.
|
|
2707
2726
|
:param tipg_api_domain_name: (experimental) Custom Domain Name for tipg API. If defined, will create the domain name and integrate it with the tipg API. Default: - undefined
|
|
2708
2727
|
:param vpc: (experimental) VPC into which the lambda should be deployed.
|
|
@@ -2766,9 +2785,7 @@ class TiPgApiLambdaProps:
|
|
|
2766
2785
|
|
|
2767
2786
|
@builtins.property
|
|
2768
2787
|
def lambda_function_options(self) -> typing.Any:
|
|
2769
|
-
'''(experimental)
|
|
2770
|
-
|
|
2771
|
-
Can be anything that can be configured on the lambda function, but some will be overwritten by values defined here.
|
|
2788
|
+
'''(experimental) Can be used to override the default lambda function properties.
|
|
2772
2789
|
|
|
2773
2790
|
:default: - defined in the construct.
|
|
2774
2791
|
|
|
@@ -2855,7 +2872,7 @@ class TitilerPgStacApiLambdaProps:
|
|
|
2855
2872
|
:param db_secret: (experimental) Secret containing connection information for pgSTAC database.
|
|
2856
2873
|
:param api_env: (experimental) Customized environment variables to send to titiler-pgstac runtime. These will be merged with ``defaultTitilerPgstacEnv``. The database secret arn is automatically added to the environment variables at deployment. /
|
|
2857
2874
|
:param buckets: (experimental) list of buckets the lambda will be granted access to.
|
|
2858
|
-
:param lambda_function_options: (experimental)
|
|
2875
|
+
:param lambda_function_options: (experimental) Can be used to override the default lambda function properties. Default: - defined in the construct.
|
|
2859
2876
|
:param subnet_selection: (experimental) Subnet into which the lambda should be deployed.
|
|
2860
2877
|
:param titiler_pgstac_api_domain_name: (experimental) Custom Domain Name Options for Titiler Pgstac API,. Default: - undefined.
|
|
2861
2878
|
:param vpc: (experimental) VPC into which the lambda should be deployed.
|
|
@@ -2935,9 +2952,7 @@ class TitilerPgStacApiLambdaProps:
|
|
|
2935
2952
|
|
|
2936
2953
|
@builtins.property
|
|
2937
2954
|
def lambda_function_options(self) -> typing.Any:
|
|
2938
|
-
'''(experimental)
|
|
2939
|
-
|
|
2940
|
-
Can be anything that can be configured on the lambda function, but some will be overwritten by values defined here.
|
|
2955
|
+
'''(experimental) Can be used to override the default lambda function properties.
|
|
2941
2956
|
|
|
2942
2957
|
:default: - defined in the construct.
|
|
2943
2958
|
|
|
@@ -3019,7 +3034,7 @@ class TitilerPgstacApiLambda(
|
|
|
3019
3034
|
:param db_secret: (experimental) Secret containing connection information for pgSTAC database.
|
|
3020
3035
|
:param api_env: (experimental) Customized environment variables to send to titiler-pgstac runtime. These will be merged with ``defaultTitilerPgstacEnv``. The database secret arn is automatically added to the environment variables at deployment. /
|
|
3021
3036
|
:param buckets: (experimental) list of buckets the lambda will be granted access to.
|
|
3022
|
-
:param lambda_function_options: (experimental)
|
|
3037
|
+
:param lambda_function_options: (experimental) Can be used to override the default lambda function properties. Default: - defined in the construct.
|
|
3023
3038
|
:param subnet_selection: (experimental) Subnet into which the lambda should be deployed.
|
|
3024
3039
|
:param titiler_pgstac_api_domain_name: (experimental) Custom Domain Name Options for Titiler Pgstac API,. Default: - undefined.
|
|
3025
3040
|
:param vpc: (experimental) VPC into which the lambda should be deployed.
|
|
@@ -16,7 +16,7 @@ import aws_cdk.aws_lambda_python_alpha._jsii
|
|
|
16
16
|
import constructs._jsii
|
|
17
17
|
|
|
18
18
|
__jsii_assembly__ = jsii.JSIIAssembly.load(
|
|
19
|
-
"eoapi-cdk", "
|
|
19
|
+
"eoapi-cdk", "7.0.0", __name__[0:-6], "eoapi-cdk@7.0.0.jsii.tgz"
|
|
20
20
|
)
|
|
21
21
|
|
|
22
22
|
__all__ = [
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: eoapi-cdk
|
|
3
|
-
Version:
|
|
3
|
+
Version: 7.0.0
|
|
4
4
|
Summary: A set of constructs deploying pgSTAC with CDK
|
|
5
5
|
Home-page: https://github.com/developmentseed/eoapi-cdk.git
|
|
6
6
|
Author: Anthony Lukach<anthony@developmentseed.org>
|
|
@@ -83,4 +83,8 @@ Versioning is automatically handled via [Conventional Commits](https://www.conve
|
|
|
83
83
|
|
|
84
84
|
*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).
|
|
85
85
|
|
|
86
|
+
## Tests
|
|
87
|
+
|
|
88
|
+
Each pull request to `main` is added to a [merge queue](https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-a-merge-queue#triggering-merge-group-checks-with-github-actions) so that a "deployment test" workflow can run before the merge actually happens. If the deployment fails, the merge is cancelled. Here is [the definition of this workflow](https://github.com/developmentseed/eoapi-cdk/blob/main/.github/workflows/deploy.yaml) and the [tests definition](https://github.com/developmentseed/eoapi-cdk/blob/main/tests).
|
|
89
|
+
|
|
86
90
|
|
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|