Interface PDKNagAppProps
-
- All Superinterfaces:
software.amazon.awscdk.AppProps,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
PDKNagAppProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-02-01T23:43:16.109Z") @Stability(Stable) public interface PDKNagAppProps extends software.amazon.jsii.JsiiSerializable, software.amazon.awscdk.AppProps
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPDKNagAppProps.BuilderA builder forPDKNagAppPropsstatic classPDKNagAppProps.Jsii$ProxyAn implementation forPDKNagAppProps
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static PDKNagAppProps.Builderbuilder()default BooleangetFailOnError()Determines whether any errors encountered should trigger a test failure.default BooleangetFailOnWarning()Determines whether any warnings encountered should trigger a test failure.default List<io.github.cdklabs.cdknag.NagPack>getNagPacks()Custom nag packs to execute.
-
-
-
Method Detail
-
getFailOnError
@Stability(Stable) @Nullable default Boolean getFailOnError()
Determines whether any errors encountered should trigger a test failure.Default: false
-
getFailOnWarning
@Stability(Stable) @Nullable default Boolean getFailOnWarning()
Determines whether any warnings encountered should trigger a test failure.Default: false
-
getNagPacks
@Stability(Stable) @Nullable default List<io.github.cdklabs.cdknag.NagPack> getNagPacks()
Custom nag packs to execute.Default: DEFAULT_NAG_PACKS
-
builder
@Stability(Stable) static PDKNagAppProps.Builder builder()
- Returns:
- a
PDKNagAppProps.BuilderofPDKNagAppProps
-
-