Skip to main content

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 and the CloudFormation CLI Java Plugin

pip3 install cloudformation-cli
pip3 install cloudformation-cli-java-plugin

Refer to the documentation for the CloudFormation CLI for usage instructions.

Development

First, you will need to install the CloudFormation CLI, as it is a required dependency:

pip3 install cloudformation-cli

For changes to the plugin, a Python virtual environment is recommended.

python3 -m venv env
source env/bin/activate
# assuming cloudformation-cli has already been cloned/downloaded
pip3 install -e .
pre-commit install

Linting and running unit tests is done via pre-commit, and so is performed automatically on commit. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cloudformation-cli-java-plugin-0.1.1.tar.gz (17.1 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page