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

File metadata

File hashes

Hashes for aws_prototyping_sdk.pdk_nag-0.3.11.tar.gz
Algorithm Hash digest
SHA256 30ddc7617f965acf61025ccfee3cb3349666ee5575338499e55f32316a25e4ae
MD5 9efc530b6d291cd9209cc5da9d5f756a
BLAKE2b-256 6ab8cd79e003a144571f71e5bc1eae906d2a88a571a4494c83856340b04aea37

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aws_prototyping_sdk.pdk_nag-0.3.11-py3-none-any.whl
Algorithm Hash digest
SHA256 b8f949df11cb53aff12d749ca0a7d6da9bdea4ac2ce8c51b73b839119b32fb9a
MD5 516a97f79f21d911dfac7b8717075490
BLAKE2b-256 f3a1e325399ad1bf559574a964292c6fcae91c4dedec738b9c08b6fd98b0c9c1

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