Package io.github.cdklabs.cdknag
Interface NagPackSuppression
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
NagPackSuppression.Jsii$Proxy
@Generated(value="jsii-pacmak/1.94.0 (build b380f01)", date="2024-02-11T00:12:48.874Z") @Stability(Stable) public interface NagPackSuppression extends software.amazon.jsii.JsiiSerializable
Interface for creating a rule suppression.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classNagPackSuppression.BuilderA builder forNagPackSuppressionstatic classNagPackSuppression.Jsii$ProxyAn implementation forNagPackSuppression
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static NagPackSuppression.Builderbuilder()default List<Object>getAppliesTo()Rule specific granular suppressions.StringgetId()The id of the rule to ignore.StringgetReason()The reason to ignore the rule (minimum 10 characters).
-
-
-
Method Detail
-
getId
@Stability(Stable) @NotNull String getId()
The id of the rule to ignore.
-
getReason
@Stability(Stable) @NotNull String getReason()
The reason to ignore the rule (minimum 10 characters).
-
getAppliesTo
@Stability(Stable) @Nullable default List<Object> getAppliesTo()
Rule specific granular suppressions.
-
builder
@Stability(Stable) static NagPackSuppression.Builder builder()
- Returns:
- a
NagPackSuppression.BuilderofNagPackSuppression
-
-