cdk-apisix
CDK construct library to generate serverless Apache APISIX workload on AWS Fargate
sample
# Example automatically generated from non-compiling source. May contain errors.
from cdk_apisix import Apisix
# create a standard apisix service
apisix = Apisix(stack, "apisix-demo")
# create a sample webservice with apisix in the same Amazon ECS cluster
apisix.create_web_service("flask",
environment={
"PLATFORM": "Apache APISIX on AWS Fargate"
},
image=ContainerImage.from_registry("public.ecr.aws/pahudnet/flask-docker-sample")
)
deploy with required context variables
cdk deploy \
-c ADMIN_KEY_ADMIN=*********** \
-c ADMIN_KEY_VIEWER=*********** \
-c DASHBOARD_ADMIN_PASSWORD=*********** \
-c DASHBOARD_USER_PASSWORD=***********
custom container image from local assets
# Example automatically generated from non-compiling source. May contain errors.
Apisix(stack, "apisix-demo",
apisix_container=ContainerImage.from_asset(path.join(__dirname, "../apisix_container")),
dashboard_container=ContainerImage.from_asset(path.join(__dirname, "../apisix_dashboard"))
)
Metadata
Release files for cdk-apisix 0.0.303
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cdk-apisix-0.0.303.tar.gz | 381.5 kB | Without provenance | Details for cdk-apisix-0.0.303.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cdk_apisix-0.0.303-py3-none-any.whl | Python 3 | none | any | Details for cdk_apisix-0.0.303-py3-none-any.whl |
Total release size: 761.7 kB
Release files / cdk-apisix-0.0.303.tar.gz
| Download URL | cdk-apisix-0.0.303.tar.gz |
|---|---|
| Size | 381.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a860d2be1028e24deedb5e715acbc21916f58797eddbb4a8bc572ded33e253ee
|
|
BLAKE2b-256 checksum How to use checksums |
3c55dd7273314dadc375a9f293f8a2063567d61b3049aaee5f9396d3a7da7b35
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.3
|
Release files / cdk_apisix-0.0.303-py3-none-any.whl
| Download URL | cdk_apisix-0.0.303-py3-none-any.whl |
|---|---|
| Size | 380.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
37afa3488689206b81052d6bd787c60b376a0f8f43b4be640e73682e3a3d8ed9
|
|
BLAKE2b-256 checksum How to use checksums |
09d3050134a7abe197aa89a6890199b612a1be917e12203c25e9b964fa5c9fda
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.3
|
Security for cdk-apisix 0.0.303
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.