Package software.amazon.awscdk
Interface Acknowledgment
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
Acknowledgment.Jsii$Proxy
@Generated(value="jsii-pacmak/1.138.0 (build 0ca7ee8)",
date="2026-07-22T17:37:18.324Z")
@Stability(Stable)
public interface Acknowledgment
extends software.amazon.jsii.JsiiSerializable
An acknowledgment of a validation rule, used to suppress it from output.
Example:
Annotations.of(this).acknowledgeWarning("IAM:Group:MaxPoliciesExceeded", "Account has quota increased to 20");
// Because Annotations ultimately become Validations, you can also acknowledge the Validation
Validations.of(this).acknowledge(Acknowledgment.builder()
.id("Construct-Annotations::IAM:Group:MaxPoliciesExceeded")
.reason("Account has quota increased to 20")
.build());
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forAcknowledgmentstatic final classAn implementation forAcknowledgment -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getId
The rule ID to acknowledge. -
getReason
The reason for acknowledging this rule. -
builder
- Returns:
- a
Acknowledgment.BuilderofAcknowledgment
-