aws amp put-resource-policy
Creates or updates a resource-based policy for an Amazon Managed Service for Prometheus workspace. AWS CLI reference
4 options Its page in the AWS CLI reference
Options
--client-tokenA unique, case-sensitive identifier that you provide to ensure the request is safe to retry (idempotent).--policy-documentThe JSON policy document to use as the resource-based policy.--revision-idThe revision ID of the policy to update.--workspace-idThe ID of the workspace to attach the resource-based policy to.