CmdID / aws / aws cloudfront
aws cloudfront put-resource-policy
Creates a resource control policy for a given CloudFront resource. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--policy-documentThe JSON-formatted resource policy to create.--resource-arnThe Amazon Resource Name (ARN) of the CloudFront resource for which the policy is being created.