aws rum put-resource-policy
Use this operation to assign a resource-based policy to a CloudWatch RUM app monitor to control access to it. AWS CLI reference
3 options Its page in the AWS CLI reference
Options
--nameThe name of the app monitor that you want to apply this resource-based policy to.--policy-documentThe JSON to use as the resource policy.--policy-revision-idA string value that you can use to conditionally update your policy.