A helper function that returns a strongly-typed resource validation function, used to check only resources of the specified resource class.
For example:
validateResource: validateResourceOfType(aws.s3.Bucket, (bucket, args, reportViolation) => { for (const bucket of buckets) { // ... }}), Copy
validateResource: validateResourceOfType(aws.s3.Bucket, (bucket, args, reportViolation) => { for (const bucket of buckets) { // ... }}),
Used to filter this check to only resources of the specified resource class.
Rest
A callback function that validates if the resource definition violates a policy.
Generated using TypeDoc
A helper function that returns a strongly-typed resource validation function, used to check only resources of the specified resource class.
For example: