# Acknowledgment

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

- Source: [`core/lib/validation/validations.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/core/lib/validation/validations.ts#L13)
- Type last changed: v2.252.0 · 30 Apr 2026

## 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

- `id`: string (required) — The rule ID to acknowledge.

- `reason`: string (required) — The reason for acknowledging this rule.
