@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
Built Distribution
Close
Hashes for aws_prototyping_sdk.pdk_nag-0.3.10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3369dbec5e0a063752d6c6950605a5327d505c04d3882db3ff6bf7127164dabb |
|
MD5 | 3c70d1b7b0536b6f3078f5663929d4b6 |
|
BLAKE2b-256 | edfb465cdb50b5697df3f813e8056d460a48f266f500e232d9a2ec1d5a1427c7 |
Close
Hashes for aws_prototyping_sdk.pdk_nag-0.3.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd4073276e5211974bc8a66ed61893117447beb908f0dc3754656b70ef2a80d0 |
|
MD5 | d3607deba7d4dc40d7e15caa2937bb1d |
|
BLAKE2b-256 | fcb0510896cdec2e6295dccd736067f97117bdc349ff82088c33ec5778278408 |