@aws-prototyping-sdk/pdk-nag
Project description
PDK Nag
PDKNag ships with a helper utility that automatically configures CDKNag within your application.
const app = PDKNag.app();
const stack = new Stack(app, 'MyStack');
...
As shown above, this will configure your application to have CDKNag run on synthesis and by default will cause the build to fail if errors are encountered.
Additional configuration can be passed in to relax these errors if needed as follows:
const app = PDKNag.app({ failOnError: false });
const stack = new Stack(app, 'MyStack');
const nagResults: NagResult[] = app.nagResults(); // Do something with the results if needed
...
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 aws_prototyping_sdk.pdk_nag-0.3.9.tar.gz.
File metadata
- Download URL: aws_prototyping_sdk.pdk_nag-0.3.9.tar.gz
- Upload date:
- Size: 34.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e58eed928dab820acc83537e11f05bccee90a3595e4c651ba2b84894733b8d7f
|
|
| MD5 |
c3b996d9b54b583de2b72720b0526d96
|
|
| BLAKE2b-256 |
5aecdb7b8d8fdc349776026ef57c232837635c231a3d96e72596e952a0c9039f
|
File details
Details for the file aws_prototyping_sdk.pdk_nag-0.3.9-py3-none-any.whl.
File metadata
- Download URL: aws_prototyping_sdk.pdk_nag-0.3.9-py3-none-any.whl
- Upload date:
- Size: 32.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5ddfb3f626bcb14ad2fdf35d14175a19d427390812b8fc27f021d4ff24bf393b
|
|
| MD5 |
07e2fe928d340ad37d504179489ae923
|
|
| BLAKE2b-256 |
d6d8a84e827975d604ffddcb3b0fedb62ae93867ee9f21fd5c9e888d3d052b3c
|