CmdID

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

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

2 in the AWS CLI reference
--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.