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.14.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.14-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.14.tar.gz.

File metadata

File hashes

Hashes for aws_prototyping_sdk.pdk_nag-0.3.14.tar.gz
Algorithm Hash digest
SHA256 6f786ba830f3ced6ea6c78b1b7ba9cfdad127e1d5f6da8e8e46db6f5bd3dc992
MD5 ea4351bbb3d903f63658a1d8c5fb1488
BLAKE2b-256 2adaf67c5583f37c483cfd19bea650da9fbc45a19be5bf6d4f9cc2e4be57dfb3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aws_prototyping_sdk.pdk_nag-0.3.14-py3-none-any.whl
Algorithm Hash digest
SHA256 7b8232b05a250463086242eb2e2d0327196711d45fbb2353745f86e79d17474d
MD5 ac2154d69973ab723447d6485a71e526
BLAKE2b-256 8d198e74d4816cf42a74eb1dc501a89af610de2cd5f0578eb703543c42e31438

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