CmdID / aws / aws cloudtrail
aws cloudtrail put-resource-policy
Attaches a resource-based permission policy to a CloudTrail event data store, dashboard, or channel. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--resource-arnThe Amazon Resource Name (ARN) of the CloudTrail event data store, dashboard, or channel attached to the resource-based policy.--resource-policyA JSON-formatted string for an Amazon Web Services resource-based policy.