Enabler
Source:
src/AWS/Inspector2/Enabler.ts
Amazon Inspector account enablement — an account/region singleton that turns on continuous vulnerability scanning for the selected resource types (EC2, ECR, Lambda). Inspector exposes no tagging, so ownership is tracked by the set of scan types this resource enabled; destroy only disables those types and leaves any the account had enabled out-of-band untouched.
Enabling Inspector
Section titled “Enabling Inspector”const inspector = yield* Inspector2.Enabler("Inspector", { resourceTypes: ["EC2", "ECR", "LAMBDA"],});