command-line validator for Amazon States Language
Project description
statelint
An PyPI package providing a validator for Amazon States Language JSON/YAML files.
This package is based on Amazon Web Services Labs' awslabs/statelint.
Installation
pip install statelint
Usage
statelint fancy-state-machine-spec.json
If you prefer YAML, you need to install PyYaml.
pip install PyYAML
Then, run command with a --yaml
parameter.
statelint --yaml fancy-state-machine-spec.yaml
If you don't like to be complained that BackoffRate
doesn't end with ".0",
pass a --ignore=FLOAT
parameter.
statelint --ignore=FLOAT fancy-state-machine-spec.json
If your Resource
doesn't contain URI string,
pass a --ignore=URI
parameter.
statelint --ignore=URI fancy-state-machine-spec.json
You can pass both parameters at the same time.
statelint --ignore=FLOAT,URI fancy-state-machine-spec.json
TODO
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
statelint-0.1.2.tar.gz
(21.1 kB
view hashes)
Built Distribution
Close
Hashes for statelint-0.1.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2eb2a968ebf358e115ea4e7c3bcaf7f391cdc04e5ade1c83e25a7141e797c1c8 |
|
MD5 | 8cf5931d00676611ab09e512d17e9059 |
|
BLAKE2b-256 | fab4a344c17ac7a05b188a830bd4ccd434ff99ae960068d1695ec77c2ab5e336 |