A helper function that returns a strongly-typed stack validation function, used to check only resources of the specified resource class.
For example:
validateStack: validateStackResourcesOfType(aws.s3.Bucket, (buckets, args, reportViolation) => { for (const bucket of buckets) { // ... }}), Copy
validateStack: validateStackResourcesOfType(aws.s3.Bucket, (buckets, 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 a stack violates a policy.
Generated using TypeDoc
A helper function that returns a strongly-typed stack validation function, used to check only resources of the specified resource class.
For example: