Skip to main content

@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

aws_prototyping_sdk.pdk_nag-0.3.13.tar.gz (34.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aws_prototyping_sdk.pdk_nag-0.3.13-py3-none-any.whl (32.7 kB view details)

Uploaded Python 3

File details

Details for the file aws_prototyping_sdk.pdk_nag-0.3.13.tar.gz.

File metadata

File hashes

Hashes for aws_prototyping_sdk.pdk_nag-0.3.13.tar.gz
Algorithm Hash digest
SHA256 44090d2f18f993b1d9bfaa4dbd7dffb3cdb5c19d1342a5ad22d84dbde1304c25
MD5 8411894c13d62e7c213e3421d412485b
BLAKE2b-256 a296726af69bc17d891fe7d950d4bb6a5e49caf4de5b6151cbf860ae40b2f99f

See more details on using hashes here.

File details

Details for the file aws_prototyping_sdk.pdk_nag-0.3.13-py3-none-any.whl.

File metadata

File hashes

Hashes for aws_prototyping_sdk.pdk_nag-0.3.13-py3-none-any.whl
Algorithm Hash digest
SHA256 39b5b8a357bdd22f01c00c775ff970776ee6b6cba77b914c697a3f684c634941
MD5 0aff3cd5d735fb5b9f37e2b3bbd89d69
BLAKE2b-256 3f55cce4b369797e63fda412685af1cf7a97b3d953d5828745431d9dcec46478

See more details on using hashes here.

Supported by

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