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
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| access_key | str | |||
| aws_ca_bundle | path | |||
| aws_config | dict | |||
| caller_reference | str | |||
| comment | str | |||
| debug_botocore_endpoint_logs | bool | false | ||
| endpoint_url | str | |||
| origin_access_identity_id | str | |||
| profile | str | |||
| region | str | |||
| secret_key | str | |||
| session_token | str | |||
| state | str | present | ||
| validate_certs | bool | true |
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