Package io.github.cdklabs.cdknag
Interface INagLogger.Jsii$Default
-
- All Superinterfaces:
INagLogger,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
INagLogger.Jsii$Proxy
- Enclosing interface:
- INagLogger
@Internal public static interface INagLogger.Jsii$Default extends INagLogger
Internal default implementation forINagLogger.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.github.cdklabs.cdknag.INagLogger
INagLogger.Jsii$Default, INagLogger.Jsii$Proxy
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default voidonCompliance(NagLoggerComplianceData data)Called when a CfnResource passes the compliance check for a given rule.default voidonError(NagLoggerErrorData data)Called when a rule throws an error during while validating a CfnResource for compliance.default voidonNonCompliance(NagLoggerNonComplianceData data)Called when a CfnResource does not pass the compliance check for a given rule and the the rule violation is not suppressed by the user.default voidonNotApplicable(NagLoggerNotApplicableData data)Called when a rule does not apply to the given CfnResource.default voidonSuppressed(NagLoggerSuppressedData data)Called when a CfnResource does not pass the compliance check for a given rule and the rule violation is suppressed by the user.default voidonSuppressedError(NagLoggerSuppressedErrorData data)Called when a rule throws an error during while validating a CfnResource for compliance and the error is suppressed.
-
-
-
Method Detail
-
onCompliance
@Stability(Stable) default void onCompliance(@NotNull NagLoggerComplianceData data)Called when a CfnResource passes the compliance check for a given rule.- Specified by:
onCompliancein interfaceINagLogger- Parameters:
data- This parameter is required.
-
onError
@Stability(Stable) default void onError(@NotNull NagLoggerErrorData data)Called when a rule throws an error during while validating a CfnResource for compliance.- Specified by:
onErrorin interfaceINagLogger- Parameters:
data- This parameter is required.
-
onNonCompliance
@Stability(Stable) default void onNonCompliance(@NotNull NagLoggerNonComplianceData data)Called when a CfnResource does not pass the compliance check for a given rule and the the rule violation is not suppressed by the user.- Specified by:
onNonCompliancein interfaceINagLogger- Parameters:
data- This parameter is required.
-
onNotApplicable
@Stability(Stable) default void onNotApplicable(@NotNull NagLoggerNotApplicableData data)Called when a rule does not apply to the given CfnResource.- Specified by:
onNotApplicablein interfaceINagLogger- Parameters:
data- This parameter is required.
-
onSuppressed
@Stability(Stable) default void onSuppressed(@NotNull NagLoggerSuppressedData data)Called when a CfnResource does not pass the compliance check for a given rule and the rule violation is suppressed by the user.- Specified by:
onSuppressedin interfaceINagLogger- Parameters:
data- This parameter is required.
-
onSuppressedError
@Stability(Stable) default void onSuppressedError(@NotNull NagLoggerSuppressedErrorData data)Called when a rule throws an error during while validating a CfnResource for compliance and the error is suppressed.- Specified by:
onSuppressedErrorin interfaceINagLogger- Parameters:
data- This parameter is required.
-
-