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

File metadata

File hashes

Hashes for aws_prototyping_sdk.pdk_nag-0.3.12.tar.gz
Algorithm Hash digest
SHA256 17519f31131c165d5f4707212b87ae717fd7c5efbcc2a99ae28a354f25ba6653
MD5 02963b38854aca5c4486e121a1648ce0
BLAKE2b-256 f8b7a55340776459d8d599c7bf125d27ac72e1ec24dc61c8812bd127b7c83e0f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aws_prototyping_sdk.pdk_nag-0.3.12-py3-none-any.whl
Algorithm Hash digest
SHA256 389796885ca6ca4132564065b8cd9aa03bc24aeb0d36c1689043f257d0884b65
MD5 aa55721896187ec321d6d4f3a958bc36
BLAKE2b-256 90a4b59f33b787ff3e8973c6ed9d8a8c8bc9f3d212f94bc9016bba3aad74b0a1

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