@finnairoyj/cdk-constructs-lib - v1.0.2
    Preparing search index...

    Function applyNagRules

    • Apply set of cdk-nag rules to the stack under test.

      In cdk-nag v3 a NagPack is a validation plugin (executed via validateScope) rather than an Aspect, so the pack is registered here and executed on demand by the assertion helpers. The default AwsSolutions pack is always run in addition to any packs registered here.

      Parameters

      • stack: Stack

        Stack under test

      • nagRules: NagPack

        cdk-nag NagPack to apply to the stack

      Returns void