Skip to content
v2.273.0

Acknowledgment Struct ​

An acknowledgment of a validation rule, used to suppress it from output.

Example ​

ts
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({
  id: 'Construct-Annotations::IAM:Group:MaxPoliciesExceeded',
  reason: 'Account has quota increased to 20',
});

Properties ​

idstringidstridStringIdstringId*stringrequired#
The rule ID to acknowledge.
reasonstringreasonstrreasonStringReasonstringReason*stringrequired#
The reason for acknowledging this rule.