PARALLAX

cloudfront_origin_access_identity

Create, update and delete origin access identities for a CloudFront distribution

Collection: community.aws

Full Name: community.aws.cloudfront_origin_access_identity

Synopsis

Create, update and delete origin access identities for a CloudFront distribution

Parameters

NameTypeRequiredDefaultDescription
access_keystr
aws_ca_bundlepath
aws_configdict
caller_referencestr
commentstr
debug_botocore_endpoint_logsboolfalse
endpoint_urlstr
origin_access_identity_idstr
profilestr
regionstr
secret_keystr
session_tokenstr
statestrpresent
validate_certsbooltrue

Example

yaml
- name: create an origin access identity
  community.aws.cloudfront_origin_access_identity:
    state: present
    caller_reference: this is an example reference
    comment: this is an example comment

- name: update an existing origin access identity using caller_reference as an identifier
  community.aws.cloudfront_origin_access_identity:
    origin_access_identity_id: E17DRN9XUOAHZX
    caller_reference: this is an example reference
    comment: this is a new comment

- name: delete an existing origin access identity using caller_reference as an identifier
  community.aws.cloudfront_origin_access_identity:
    state: absent
    caller_reference: this is an example reference
    comment: this is a new comment
Search
    ↑ ↓ move↵ openesc close