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.4.1.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.4.1-py3-none-any.whl (32.7 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for aws_prototyping_sdk.pdk_nag-0.4.1.tar.gz
Algorithm Hash digest
SHA256 81a582ed1a2e8785fa5330130d18789b8b2f41ad58fb295ef492a86fffe7c6a0
MD5 20519f65a58f4ddbd09953e117dbb4dd
BLAKE2b-256 db5273ca7d06e8ae8c1e3a154bbd8e13682cb97f7faef24b8f1020f328fe4763

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aws_prototyping_sdk.pdk_nag-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a1d884f59dab42a4e65b34f7732b3fde06800305653830c21e632dfe638334c9
MD5 e6ef433194c5c5335ad37b4beab161f9
BLAKE2b-256 cad8a1b82c361765b092dee1eafed1b66cfa328eb9af212f1b19147cb20aba56

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