cdk-apisix


Namecdk-apisix JSON
Version 0.0.26 PyPI version JSON
download
home_pagehttps://github.com/pahud/cdk-apisix.git
Summarycdk-apisix
upload_time2021-01-16 02:06:34
maintainer
docs_urlNone
authorPahud<pahudnet@gmail.com>
requires_python>=3.6
licenseApache-2.0
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            [![NPM version](https://badge.fury.io/js/cdk-apisix.svg)](https://badge.fury.io/js/cdk-apisix)
[![PyPI version](https://badge.fury.io/py/cdk-apisix.svg)](https://badge.fury.io/py/cdk-apisix)
![Release](https://github.com/pahud/cdk-apisix/workflows/Release/badge.svg)

# cdk-apisix

CDK construct library to generate serverless [Apache APISIX](https://github.com/apache/apisix) workload on AWS Fargate.

![](images/apisix-fargate-cdk.png)

# sample

```python
# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
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/d7p2r8s3/flask-docker-sample")
)
```

## custom container image from local assets

```python
# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
Apisix(stack, "apisix-demo",
    apisix_container=ContainerImage.from_asset(path.join(__dirname, "../apisix_container")),
    dashboard_container=ContainerImage.from_asset(path.join(__dirname, "../apisix_dashboard"))
)
```



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/pahud/cdk-apisix.git",
    "name": "cdk-apisix",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "",
    "author": "Pahud<pahudnet@gmail.com>",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/2c/3e/32ae33e2f58ea6a290a2903db9d2641a2515c5df9083bf6a5ccaf6621bba/cdk-apisix-0.0.26.tar.gz",
    "platform": "",
    "description": "[![NPM version](https://badge.fury.io/js/cdk-apisix.svg)](https://badge.fury.io/js/cdk-apisix)\n[![PyPI version](https://badge.fury.io/py/cdk-apisix.svg)](https://badge.fury.io/py/cdk-apisix)\n![Release](https://github.com/pahud/cdk-apisix/workflows/Release/badge.svg)\n\n# cdk-apisix\n\nCDK construct library to generate serverless [Apache APISIX](https://github.com/apache/apisix) workload on AWS Fargate.\n\n![](images/apisix-fargate-cdk.png)\n\n# sample\n\n```python\n# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826\nfrom cdk_apisix import Apisix\n\n# create a standard apisix service\napisix = Apisix(stack, \"apisix-demo\")\n\n# create a sample webservice with apisix in the same Amazon ECS cluster\napisix.create_web_service(\"flask\",\n    environment={\n        \"PLATFORM\": \"Apache APISIX on AWS Fargate\"\n    },\n    image=ContainerImage.from_registry(\"public.ecr.aws/d7p2r8s3/flask-docker-sample\")\n)\n```\n\n## custom container image from local assets\n\n```python\n# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826\nApisix(stack, \"apisix-demo\",\n    apisix_container=ContainerImage.from_asset(path.join(__dirname, \"../apisix_container\")),\n    dashboard_container=ContainerImage.from_asset(path.join(__dirname, \"../apisix_dashboard\"))\n)\n```\n\n\n",
    "bugtrack_url": null,
    "license": "Apache-2.0",
    "summary": "cdk-apisix",
    "version": "0.0.26",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "2c2f7f01b6c43b03c9fcdef136462d3e",
                "sha256": "f2041bc127258db16323fc30e953780a818ebc4c3eeb05f20c1ef24409aec72c"
            },
            "downloads": -1,
            "filename": "cdk_apisix-0.0.26-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "2c2f7f01b6c43b03c9fcdef136462d3e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 373377,
            "upload_time": "2021-01-16T02:06:33",
            "upload_time_iso_8601": "2021-01-16T02:06:33.660435Z",
            "url": "https://files.pythonhosted.org/packages/a9/54/4362921da595e439670b100c6556097194f431efae7362ab346a3c3af1df/cdk_apisix-0.0.26-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "4668bb5a79e5ce5b237a32ba17d6a790",
                "sha256": "bf783f5385d461b0ee0d6f1f05b6066b48d7aae1218347aaa661fb1697547b2b"
            },
            "downloads": -1,
            "filename": "cdk-apisix-0.0.26.tar.gz",
            "has_sig": false,
            "md5_digest": "4668bb5a79e5ce5b237a32ba17d6a790",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 374545,
            "upload_time": "2021-01-16T02:06:34",
            "upload_time_iso_8601": "2021-01-16T02:06:34.740443Z",
            "url": "https://files.pythonhosted.org/packages/2c/3e/32ae33e2f58ea6a290a2903db9d2641a2515c5df9083bf6a5ccaf6621bba/cdk-apisix-0.0.26.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2021-01-16 02:06:34",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": null,
    "github_project": "pahud",
    "error": "Could not fetch GitHub repository",
    "lcname": "cdk-apisix"
}
        
Elapsed time: 0.24479s