Extendable CFN rules
Project description
Additional CloudFormation Rules
Implemented rules:
E9001 Tags Rule:
It checks whether resources have the desired tags. Example:
templates:
- tests/resources/templates/**/*.yaml
append_rules:
- awsjavakit_cfn_rules
configure_rules:
E9001:
expected_tags:
- expectedTag
E9002 SQS Long polling rule:
It checks whether an SQS queue has been configured to perform long polling to avoid invoking targets with empty responses. See https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-short-and-long-polling.html
Suggested Usage:
Create a configuration file .cfnlintrc like the following:
templates:
- template.yaml
append_rules:
- awsjavakit_cfn_rules
configure_rules:
E9001:
expected_tags:
- expectedTag
Place the configuration file in the same folder as your template (template.yaml).
Afterwards, run the following commands
python -m venv .cfn-lint-venv
. .cfn-lint-venv/bin activate
pip install cfn-lint
pip install awsjavakit-cfn-rules
Finally run cfn-lint to run the cfn-lint.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file awsjavakit_cfn_rules-0.0.38.tar.gz.
File metadata
- Download URL: awsjavakit_cfn_rules-0.0.38.tar.gz
- Upload date:
- Size: 6.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a2895073f85edb6872eb23e35f519cf0d3de36fbe131791c4652bc70f7532ec7
|
|
| MD5 |
24c0cb30ec1e343eebfce2ffdbfe28c6
|
|
| BLAKE2b-256 |
a51be36114973b7cf9d586e20650862f3a4739e6876aadb36060d154ee890def
|
Provenance
The following attestation bundles were made for awsjavakit_cfn_rules-0.0.38.tar.gz:
Publisher:
publish.yml on awsjavakit/awsjavakit-cfn-rules
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
awsjavakit_cfn_rules-0.0.38.tar.gz -
Subject digest:
a2895073f85edb6872eb23e35f519cf0d3de36fbe131791c4652bc70f7532ec7 - Sigstore transparency entry: 773600697
- Sigstore integration time:
-
Permalink:
awsjavakit/awsjavakit-cfn-rules@11544745cf7dcf2932e598f5e70f5d97f79c10dc -
Branch / Tag:
refs/heads/main - Owner: https://github.com/awsjavakit
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@11544745cf7dcf2932e598f5e70f5d97f79c10dc -
Trigger Event:
pull_request
-
Statement type:
File details
Details for the file awsjavakit_cfn_rules-0.0.38-py3-none-any.whl.
File metadata
- Download URL: awsjavakit_cfn_rules-0.0.38-py3-none-any.whl
- Upload date:
- Size: 26.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a2f635cc5c79f7c12a5da533231d63bfd2d613a1972da55f4a80e3e94777af3
|
|
| MD5 |
7f371958a1e54a682145a0482381fe18
|
|
| BLAKE2b-256 |
9bec5ba03a3c17fb8b22ceabc561e3ff82372179b6a0cc5d1aa18961ba9f3724
|
Provenance
The following attestation bundles were made for awsjavakit_cfn_rules-0.0.38-py3-none-any.whl:
Publisher:
publish.yml on awsjavakit/awsjavakit-cfn-rules
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
awsjavakit_cfn_rules-0.0.38-py3-none-any.whl -
Subject digest:
5a2f635cc5c79f7c12a5da533231d63bfd2d613a1972da55f4a80e3e94777af3 - Sigstore transparency entry: 773600700
- Sigstore integration time:
-
Permalink:
awsjavakit/awsjavakit-cfn-rules@11544745cf7dcf2932e598f5e70f5d97f79c10dc -
Branch / Tag:
refs/heads/main - Owner: https://github.com/awsjavakit
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@11544745cf7dcf2932e598f5e70f5d97f79c10dc -
Trigger Event:
pull_request
-
Statement type: