Package io.github.cdklabs.cdknag
Class IApplyRule.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- io.github.cdklabs.cdknag.IApplyRule.Jsii$Proxy
-
- All Implemented Interfaces:
IApplyRule,IApplyRule.Jsii$Default,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- IApplyRule
@Internal public static final class IApplyRule.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements IApplyRule.Jsii$Default
A proxy class which represents a concrete javascript instance of this type.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface io.github.cdklabs.cdknag.IApplyRule
IApplyRule.Jsii$Default, IApplyRule.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetExplanation()Why the rule exists.INagSuppressionIgnoregetIgnoreSuppressionCondition()A condition in which a suppression should be ignored.StringgetInfo()Why the rule was triggered.NagMessageLevelgetLevel()The annotations message level to apply to the rule if triggered.software.amazon.awscdk.CfnResourcegetNode()The CfnResource to check.StringgetRuleSuffixOverride()Override for the suffix of the Rule ID for this rule.Objectrule(software.amazon.awscdk.CfnResource node)The callback to the rule.voidsetExplanation(String value)Why the rule exists.voidsetIgnoreSuppressionCondition(INagSuppressionIgnore value)A condition in which a suppression should be ignored.voidsetInfo(String value)Why the rule was triggered.voidsetLevel(NagMessageLevel value)The annotations message level to apply to the rule if triggered.voidsetNode(software.amazon.awscdk.CfnResource value)The CfnResource to check.voidsetRuleSuffixOverride(String value)Override for the suffix of the Rule ID for this rule.-
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
-
-
-
Method Detail
-
getExplanation
@Stability(Stable) @NotNull public final String getExplanation()
Why the rule exists.- Specified by:
getExplanationin interfaceIApplyRule- Specified by:
getExplanationin interfaceIApplyRule.Jsii$Default
-
setExplanation
@Stability(Stable) public final void setExplanation(@NotNull String value)Why the rule exists.- Specified by:
setExplanationin interfaceIApplyRule- Specified by:
setExplanationin interfaceIApplyRule.Jsii$Default
-
getInfo
@Stability(Stable) @NotNull public final String getInfo()
Why the rule was triggered.- Specified by:
getInfoin interfaceIApplyRule- Specified by:
getInfoin interfaceIApplyRule.Jsii$Default
-
setInfo
@Stability(Stable) public final void setInfo(@NotNull String value)Why the rule was triggered.- Specified by:
setInfoin interfaceIApplyRule- Specified by:
setInfoin interfaceIApplyRule.Jsii$Default
-
getLevel
@Stability(Stable) @NotNull public final NagMessageLevel getLevel()
The annotations message level to apply to the rule if triggered.- Specified by:
getLevelin interfaceIApplyRule- Specified by:
getLevelin interfaceIApplyRule.Jsii$Default
-
setLevel
@Stability(Stable) public final void setLevel(@NotNull NagMessageLevel value)The annotations message level to apply to the rule if triggered.- Specified by:
setLevelin interfaceIApplyRule- Specified by:
setLevelin interfaceIApplyRule.Jsii$Default
-
getNode
@Stability(Stable) @NotNull public final software.amazon.awscdk.CfnResource getNode()
The CfnResource to check.- Specified by:
getNodein interfaceIApplyRule- Specified by:
getNodein interfaceIApplyRule.Jsii$Default
-
setNode
@Stability(Stable) public final void setNode(@NotNull software.amazon.awscdk.CfnResource value)The CfnResource to check.- Specified by:
setNodein interfaceIApplyRule- Specified by:
setNodein interfaceIApplyRule.Jsii$Default
-
getIgnoreSuppressionCondition
@Stability(Stable) @Nullable public final INagSuppressionIgnore getIgnoreSuppressionCondition()
A condition in which a suppression should be ignored.- Specified by:
getIgnoreSuppressionConditionin interfaceIApplyRule- Specified by:
getIgnoreSuppressionConditionin interfaceIApplyRule.Jsii$Default
-
setIgnoreSuppressionCondition
@Stability(Stable) public final void setIgnoreSuppressionCondition(@Nullable INagSuppressionIgnore value)A condition in which a suppression should be ignored.- Specified by:
setIgnoreSuppressionConditionin interfaceIApplyRule- Specified by:
setIgnoreSuppressionConditionin interfaceIApplyRule.Jsii$Default
-
getRuleSuffixOverride
@Stability(Stable) @Nullable public final String getRuleSuffixOverride()
Override for the suffix of the Rule ID for this rule.- Specified by:
getRuleSuffixOverridein interfaceIApplyRule- Specified by:
getRuleSuffixOverridein interfaceIApplyRule.Jsii$Default
-
setRuleSuffixOverride
@Stability(Stable) public final void setRuleSuffixOverride(@Nullable String value)Override for the suffix of the Rule ID for this rule.- Specified by:
setRuleSuffixOverridein interfaceIApplyRule- Specified by:
setRuleSuffixOverridein interfaceIApplyRule.Jsii$Default
-
rule
@Stability(Stable) @NotNull public final Object rule(@NotNull software.amazon.awscdk.CfnResource node)
The callback to the rule.- Specified by:
rulein interfaceIApplyRule- Specified by:
rulein interfaceIApplyRule.Jsii$Default- Parameters:
node- The CfnResource to check. This parameter is required.
-
-