interface Acknowledgment
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Acknowledgment |
Go | github.com/aws/aws-cdk-go/awscdk/v2#Acknowledgment |
Java | software.amazon.awscdk.Acknowledgment |
Python | aws_cdk.Acknowledgment |
TypeScript (source) | aws-cdk-lib » Acknowledgment |
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({
id: 'Construct-Annotations::IAM:Group:MaxPoliciesExceeded',
reason: 'Account has quota increased to 20',
});
Properties
| Name | Type | Description |
|---|---|---|
| id | string | The rule ID to acknowledge. |
| reason | string | The reason for acknowledging this rule. |
id
Type:
string
The rule ID to acknowledge.
reason
Type:
string
The reason for acknowledging this rule.

.NET
Go
Java
Python
TypeScript (