monocdk


Namemonocdk JSON
Version 1.204.0 PyPI version JSON
download
home_pagehttps://github.com/aws/aws-cdk
SummaryAn experiment to bundle the entire CDK into a single module
upload_time2023-06-19 21:08:38
maintainer
docs_urlNone
authorAmazon Web Services
requires_python~=3.7
licenseApache-2.0
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # monocdk Experiment

[![experimental](http://badges.github.io/stability-badges/dist/experimental.svg)](http://github.com/badges/stability-badges)

An **experiment** to bundle all of the CDK into a single module.

> :warning: Please don't use this module unless you are interested in providing
> feedback about this experience.

## Usage

### Installation

To try out `monocdk` replace all references to CDK Construct
Libraries (most `@aws-cdk/*` packages) in your `package.json` file with a single
entrey referring to `monocdk`.

You also need to add a reference to the `constructs` library, according to the
kind of project you are developing:

* For libraries, model the dependency under `devDependencies` **and** `peerDependencies`
* For apps, model the dependency under `dependencies` only

### Use in your code

#### Classic import

You can use a classic import to get access to each service namespaces:

```python
# Example automatically generated from non-compiling source. May contain errors.
from monocdk import core, aws_s3 as s3


app = core.App()
stack = core.Stack(app, "MonoCDK-Stack")

s3.Bucket(stack, "TestBucket")
```

#### Barrel import

Alternatively, you can use "barrel" imports:

```python
# Example automatically generated from non-compiling source. May contain errors.
from monocdk import App, Stack
from monocdk.aws_s3 import Bucket


app = App()
stack = Stack(app, "MonoCDK-Stack")

Bucket(stack, "TestBucket")
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/aws/aws-cdk",
    "name": "monocdk",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "~=3.7",
    "maintainer_email": "",
    "keywords": "",
    "author": "Amazon Web Services",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/e9/1b/b1fd59fad32cd16e1018beb7af869ab1bd701184acfbd0f79821326acc60/monocdk-1.204.0.tar.gz",
    "platform": null,
    "description": "# monocdk Experiment\n\n[![experimental](http://badges.github.io/stability-badges/dist/experimental.svg)](http://github.com/badges/stability-badges)\n\nAn **experiment** to bundle all of the CDK into a single module.\n\n> :warning: Please don't use this module unless you are interested in providing\n> feedback about this experience.\n\n## Usage\n\n### Installation\n\nTo try out `monocdk` replace all references to CDK Construct\nLibraries (most `@aws-cdk/*` packages) in your `package.json` file with a single\nentrey referring to `monocdk`.\n\nYou also need to add a reference to the `constructs` library, according to the\nkind of project you are developing:\n\n* For libraries, model the dependency under `devDependencies` **and** `peerDependencies`\n* For apps, model the dependency under `dependencies` only\n\n### Use in your code\n\n#### Classic import\n\nYou can use a classic import to get access to each service namespaces:\n\n```python\n# Example automatically generated from non-compiling source. May contain errors.\nfrom monocdk import core, aws_s3 as s3\n\n\napp = core.App()\nstack = core.Stack(app, \"MonoCDK-Stack\")\n\ns3.Bucket(stack, \"TestBucket\")\n```\n\n#### Barrel import\n\nAlternatively, you can use \"barrel\" imports:\n\n```python\n# Example automatically generated from non-compiling source. May contain errors.\nfrom monocdk import App, Stack\nfrom monocdk.aws_s3 import Bucket\n\n\napp = App()\nstack = Stack(app, \"MonoCDK-Stack\")\n\nBucket(stack, \"TestBucket\")\n```\n",
    "bugtrack_url": null,
    "license": "Apache-2.0",
    "summary": "An experiment to bundle the entire CDK into a single module",
    "version": "1.204.0",
    "project_urls": {
        "Homepage": "https://github.com/aws/aws-cdk",
        "Source": "https://github.com/aws/aws-cdk.git"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d984761fffda2fd08082285319a8c74d9612d825de5d9f9972d080284f3738bc",
                "md5": "35931d7a481a7ff5ffbce5b576e8811e",
                "sha256": "f72b584c8f73bc408cc6dc7de421c0a66c9040e4b597f71026ca679b62dd86d9"
            },
            "downloads": -1,
            "filename": "monocdk-1.204.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "35931d7a481a7ff5ffbce5b576e8811e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "~=3.7",
            "size": 100390922,
            "upload_time": "2023-06-19T21:02:39",
            "upload_time_iso_8601": "2023-06-19T21:02:39.342979Z",
            "url": "https://files.pythonhosted.org/packages/d9/84/761fffda2fd08082285319a8c74d9612d825de5d9f9972d080284f3738bc/monocdk-1.204.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e91bb1fd59fad32cd16e1018beb7af869ab1bd701184acfbd0f79821326acc60",
                "md5": "c2cec998e8e4fd2360be23a7c1471aa0",
                "sha256": "1686735b18a6923003d65c0bb73199a68e4a295b18a0c415fb97783dddb02574"
            },
            "downloads": -1,
            "filename": "monocdk-1.204.0.tar.gz",
            "has_sig": false,
            "md5_digest": "c2cec998e8e4fd2360be23a7c1471aa0",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "~=3.7",
            "size": 99912222,
            "upload_time": "2023-06-19T21:08:38",
            "upload_time_iso_8601": "2023-06-19T21:08:38.607548Z",
            "url": "https://files.pythonhosted.org/packages/e9/1b/b1fd59fad32cd16e1018beb7af869ab1bd701184acfbd0f79821326acc60/monocdk-1.204.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-06-19 21:08:38",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "aws",
    "github_project": "aws-cdk",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "monocdk"
}
        
Elapsed time: 0.22060s