The AWS service that can generate a policy template from a principal's activity recorded in CloudTrail during a selecte…