A helper function that returns a strongly-typed resource remediation function, used to check only resources of the specified resource type.
For example:
remediateResource: remediateResourceOfType(aws.s3.Bucket, (bucket, args) => { bucket.tags = { "foo": "bar" }; return bucket;}), Copy
remediateResource: remediateResourceOfType(aws.s3.Bucket, (bucket, args) => { bucket.tags = { "foo": "bar" }; return bucket;}),
Used to filter this check to only resources of the specified resource class.
Rest
A callback function that optionally remediates a resource if it violates a policy.
Generated using TypeDoc
A helper function that returns a strongly-typed resource remediation function, used to check only resources of the specified resource type.
For example: