Package io.github.cdklabs.cdknag
Interface IApplyRule.Jsii$Default
-
- All Superinterfaces:
IApplyRule,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
IApplyRule.Jsii$Proxy
- Enclosing interface:
- IApplyRule
@Internal public static interface IApplyRule.Jsii$Default extends IApplyRule
Internal default implementation forIApplyRule.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.github.cdklabs.cdknag.IApplyRule
IApplyRule.Jsii$Default, IApplyRule.Jsii$Proxy
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default StringgetExplanation()Why the rule exists.default INagSuppressionIgnoregetIgnoreSuppressionCondition()A condition in which a suppression should be ignored.default StringgetInfo()Why the rule was triggered.default NagMessageLevelgetLevel()The annotations message level to apply to the rule if triggered.default software.amazon.awscdk.CfnResourcegetNode()The CfnResource to check.default StringgetRuleSuffixOverride()Override for the suffix of the Rule ID for this rule.default Objectrule(software.amazon.awscdk.CfnResource node)The callback to the rule.default voidsetExplanation(String value)Why the rule exists.default voidsetIgnoreSuppressionCondition(INagSuppressionIgnore value)A condition in which a suppression should be ignored.default voidsetInfo(String value)Why the rule was triggered.default voidsetLevel(NagMessageLevel value)The annotations message level to apply to the rule if triggered.default voidsetNode(software.amazon.awscdk.CfnResource value)The CfnResource to check.default voidsetRuleSuffixOverride(String value)Override for the suffix of the Rule ID for this rule.
-
-
-
Method Detail
-
getExplanation
@Stability(Stable) @NotNull default String getExplanation()
Why the rule exists.- Specified by:
getExplanationin interfaceIApplyRule
-
setExplanation
@Stability(Stable) default void setExplanation(@NotNull String value)Why the rule exists.- Specified by:
setExplanationin interfaceIApplyRule
-
getInfo
@Stability(Stable) @NotNull default String getInfo()
Why the rule was triggered.- Specified by:
getInfoin interfaceIApplyRule
-
setInfo
@Stability(Stable) default void setInfo(@NotNull String value)Why the rule was triggered.- Specified by:
setInfoin interfaceIApplyRule
-
getLevel
@Stability(Stable) @NotNull default NagMessageLevel getLevel()
The annotations message level to apply to the rule if triggered.- Specified by:
getLevelin interfaceIApplyRule
-
setLevel
@Stability(Stable) default void setLevel(@NotNull NagMessageLevel value)The annotations message level to apply to the rule if triggered.- Specified by:
setLevelin interfaceIApplyRule
-
getNode
@Stability(Stable) @NotNull default software.amazon.awscdk.CfnResource getNode()
The CfnResource to check.- Specified by:
getNodein interfaceIApplyRule
-
setNode
@Stability(Stable) default void setNode(@NotNull software.amazon.awscdk.CfnResource value)The CfnResource to check.- Specified by:
setNodein interfaceIApplyRule
-
getIgnoreSuppressionCondition
@Stability(Stable) @Nullable default INagSuppressionIgnore getIgnoreSuppressionCondition()
A condition in which a suppression should be ignored.- Specified by:
getIgnoreSuppressionConditionin interfaceIApplyRule
-
setIgnoreSuppressionCondition
@Stability(Stable) default void setIgnoreSuppressionCondition(@Nullable INagSuppressionIgnore value)A condition in which a suppression should be ignored.- Specified by:
setIgnoreSuppressionConditionin interfaceIApplyRule
-
getRuleSuffixOverride
@Stability(Stable) @Nullable default String getRuleSuffixOverride()
Override for the suffix of the Rule ID for this rule.- Specified by:
getRuleSuffixOverridein interfaceIApplyRule
-
setRuleSuffixOverride
@Stability(Stable) default void setRuleSuffixOverride(@Nullable String value)Override for the suffix of the Rule ID for this rule.- Specified by:
setRuleSuffixOverridein interfaceIApplyRule
-
rule
@Stability(Stable) @NotNull default Object rule(@NotNull software.amazon.awscdk.CfnResource node)
The callback to the rule.- Specified by:
rulein interfaceIApplyRule- Parameters:
node- The CfnResource to check. This parameter is required.
-
-