Skip to main content

command-line validator for Amazon States Language

Project description

statelint

Actions Status Coverage Status License: Apache License 2.0 PyPI Downloads

A 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

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-1.0.0.tar.gz (30.0 kB view details)

Uploaded Source

Built Distribution

statelint-1.0.0-py2.py3-none-any.whl (34.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file statelint-1.0.0.tar.gz.

File metadata

  • Download URL: statelint-1.0.0.tar.gz
  • Upload date:
  • Size: 30.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for statelint-1.0.0.tar.gz
Algorithm Hash digest
SHA256 fee771b928baaaa4de6c27a339a94fe492de9407f938af35fefa4e4745837d2a
MD5 2804344960a42cbed938759aee1eaa70
BLAKE2b-256 66720177bad3df74c4a191e96327d8cc0455e48241a1501c9b24f2d0f4f8e71e

See more details on using hashes here.

File details

Details for the file statelint-1.0.0-py2.py3-none-any.whl.

File metadata

  • Download URL: statelint-1.0.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 34.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for statelint-1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 093561660e516280f69c9cee6cc9bb62f352efebf935b5687bcc850e178537b1
MD5 139bb342360f96c47ba22b15919533d0
BLAKE2b-256 f26c6241b1eb2264ff7003c51813a078893c34b9331b6e2d8d8027568ed092f0

See more details on using hashes here.

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