Interface INagLogger.Jsii$Default

    • 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:
        onCompliance in interface INagLogger
        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:
        onError in interface INagLogger
        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:
        onNonCompliance in interface INagLogger
        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:
        onNotApplicable in interface INagLogger
        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:
        onSuppressed in interface INagLogger
        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:
        onSuppressedError in interface INagLogger
        Parameters:
        data - This parameter is required.