Interface IApplyRule.Jsii$Default

    • Method Detail

      • getExplanation

        @Stability(Stable)
        @NotNull
        default String getExplanation()
        Why the rule exists.
        Specified by:
        getExplanation in interface IApplyRule
      • setExplanation

        @Stability(Stable)
        default void setExplanation​(@NotNull
                                    String value)
        Why the rule exists.
        Specified by:
        setExplanation in interface IApplyRule
      • getInfo

        @Stability(Stable)
        @NotNull
        default String getInfo()
        Why the rule was triggered.
        Specified by:
        getInfo in interface IApplyRule
      • setInfo

        @Stability(Stable)
        default void setInfo​(@NotNull
                             String value)
        Why the rule was triggered.
        Specified by:
        setInfo in interface IApplyRule
      • getLevel

        @Stability(Stable)
        @NotNull
        default NagMessageLevel getLevel()
        The annotations message level to apply to the rule if triggered.
        Specified by:
        getLevel in interface IApplyRule
      • setLevel

        @Stability(Stable)
        default void setLevel​(@NotNull
                              NagMessageLevel value)
        The annotations message level to apply to the rule if triggered.
        Specified by:
        setLevel in interface IApplyRule
      • getNode

        @Stability(Stable)
        @NotNull
        default software.amazon.awscdk.CfnResource getNode()
        The CfnResource to check.
        Specified by:
        getNode in interface IApplyRule
      • setNode

        @Stability(Stable)
        default void setNode​(@NotNull
                             software.amazon.awscdk.CfnResource value)
        The CfnResource to check.
        Specified by:
        setNode in interface IApplyRule
      • getRuleSuffixOverride

        @Stability(Stable)
        @Nullable
        default String getRuleSuffixOverride()
        Override for the suffix of the Rule ID for this rule.
        Specified by:
        getRuleSuffixOverride in interface IApplyRule
      • setRuleSuffixOverride

        @Stability(Stable)
        default void setRuleSuffixOverride​(@Nullable
                                           String value)
        Override for the suffix of the Rule ID for this rule.
        Specified by:
        setRuleSuffixOverride in interface IApplyRule
      • rule

        @Stability(Stable)
        @NotNull
        default Object rule​(@NotNull
                            software.amazon.awscdk.CfnResource node)
        The callback to the rule.

        Specified by:
        rule in interface IApplyRule
        Parameters:
        node - The CfnResource to check. This parameter is required.