CmdID / aws / aws cloudtrail
aws cloudtrail put-insight-selectors
Lets you enable Insights event logging on specific event categories by specifying the Insights selectors that you want to enable on an existing trail or event data store. AWS CLI reference
4 options Its page in the AWS CLI reference
Options
--event-data-storeThe ARN (or ID suffix of the ARN) of the source event data store for which you want to change or add Insights selectors.--insight-selectorsContains the Insights types you want to log on a specific category of events on a trail or event data store.--insights-destinationThe ARN (or ID suffix of the ARN) of the destination event data store that logs Insights events.--trail-nameThe name of the CloudTrail trail for which you want to change or add Insights selectors.