Package io.github.cdklabs.cdknag
Interface NagPackProps
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
NagPackProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.101.0 (build b95fe5d)", date="2024-07-09T00:12:56.239Z") @Stability(Stable) public interface NagPackProps extends software.amazon.jsii.JsiiSerializable
Interface for creating a NagPack.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classNagPackProps.BuilderA builder forNagPackPropsstatic classNagPackProps.Jsii$ProxyAn implementation forNagPackProps
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static NagPackProps.Builderbuilder()default List<INagLogger>getAdditionalLoggers()Additional NagLoggers for logging rule validation outputs.default BooleangetLogIgnores()Whether or not to log suppressed rule violations as informational messages (default: false).default List<NagReportFormat>getReportFormats()If reports are enabled, the output formats of compliance reports in the App's output directory (default: only CSV).default BooleangetReports()Whether or not to generate compliance reports for applied Stacks in the App's output directory (default: true).default INagSuppressionIgnoregetSuppressionIgnoreCondition()Conditionally prevent rules from being suppressed (default: no user provided condition).default BooleangetVerbose()Whether or not to enable extended explanatory descriptions on warning, error, and logged ignore messages (default: false).
-
-
-
Method Detail
-
getAdditionalLoggers
@Stability(Stable) @Nullable default List<INagLogger> getAdditionalLoggers()
Additional NagLoggers for logging rule validation outputs.
-
getLogIgnores
@Stability(Stable) @Nullable default Boolean getLogIgnores()
Whether or not to log suppressed rule violations as informational messages (default: false).
-
getReportFormats
@Stability(Stable) @Nullable default List<NagReportFormat> getReportFormats()
If reports are enabled, the output formats of compliance reports in the App's output directory (default: only CSV).
-
getReports
@Stability(Stable) @Nullable default Boolean getReports()
Whether or not to generate compliance reports for applied Stacks in the App's output directory (default: true).
-
getSuppressionIgnoreCondition
@Stability(Stable) @Nullable default INagSuppressionIgnore getSuppressionIgnoreCondition()
Conditionally prevent rules from being suppressed (default: no user provided condition).
-
getVerbose
@Stability(Stable) @Nullable default Boolean getVerbose()
Whether or not to enable extended explanatory descriptions on warning, error, and logged ignore messages (default: false).
-
builder
@Stability(Stable) static NagPackProps.Builder builder()
- Returns:
- a
NagPackProps.BuilderofNagPackProps
-
-