Using Console
Using CLI
<distribution-id>
: The ID of the CloudFront distribution.<origin-id>
: The ID of the origin for which Origin Access Identity should be enabled.<origin-domain-name>
: The domain name of the origin for which Origin Access Identity should be enabled.<origin-access-identity>
: The ARN of the Origin Access Identity that should be associated with the origin.Using Python
'origin-access-identity/cloudfront/XXXXXXXXXXXX'
with the actual Origin Access Identity that you want to use.