No project description provided
Project description
AWS CloudFormation Resource Provider Java Plugin
The CloudFormation CLI (cfn) allows you to author your own resource providers that can be used by CloudFormation.
This plugin library helps to provide Java runtime bindings for the execution of your providers by CloudFormation.
Usage
If you are using this package to build resource providers for CloudFormation, install the CloudFormation CLI Java Plugin - this will automatically install the the CloudFormation CLI! A Python virtual environment is recommended.
pip3 install cloudformation-cli-java-plugin
Refer to the documentation for the CloudFormation CLI for usage instructions.
Development
For changes to the plugin, a Python virtual environment is recommended. Check out and install the plugin in editable mode:
python3 -m venv env
source env/bin/activate
pip3 install -e /path/to/cloudformation-cli-java-plugin
You may also want to check out the CloudFormation CLI if you wish to make edits to that. In this case, installing them in one operation works well:
pip3 install \
-e /path/to/cloudformation-cli \
-e /path/to/cloudformation-cli-java-plugin
That ensures neither is accidentally installed from PyPI.
Linting and running unit tests is done via pre-commit, and so is performed automatically on commit after being installed (pre-commit install
). The continuous integration also runs these checks. Manual options are available so you don't have to commit:
# run all hooks on all files, mirrors what the CI runs
pre-commit run --all-files
# run unit tests only. can also be used for other hooks, e.g. black, flake8, pylint-local
pre-commit run pytest-local
License
This library is licensed under the Apache 2.0 License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file cloudformation-cli-java-plugin-0.1.3.tar.gz
.
File metadata
- Download URL: cloudformation-cli-java-plugin-0.1.3.tar.gz
- Upload date:
- Size: 17.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6a5c3ed79380590ae56a222c13c2c7e9363fce334d5bf22eba7f6eb30363013 |
|
MD5 | abe340fd3d5c3d9194d4e3e69d50a4db |
|
BLAKE2b-256 | e0de8366f4f40305c9b4ea05aa228821f888cb35327ab8a89aac3cddfebde81a |
File details
Details for the file cloudformation_cli_java_plugin-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: cloudformation_cli_java_plugin-0.1.3-py3-none-any.whl
- Upload date:
- Size: 23.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c08c4debfb1909974bdd91fb9e4c071647447b4f2901f39a4889cb92243b224 |
|
MD5 | 52df30494af29356f0a30bb78a72de6d |
|
BLAKE2b-256 | 485ab92b2d552c9de1972f929a89ad6f6790478994fd3efc7f3c4bae6c2d04f2 |