Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cdk-apisix

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cdk-apisix

CDK construct library to generate serverless Apache APISIX workload on AWS Fargate.

  • 0.0.303
  • Source
  • PyPI
  • Socket score

Maintainers
1

NPM version PyPI version Release

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"))
)

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc