acm_certificate_info
Retrieve certificate information from AWS Certificate Manager service
Collection: community.aws
Full Name: community.aws.acm_certificate_info
Synopsis
Retrieve certificate information from AWS Certificate Manager service
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| access_key | str | |||
| aws_ca_bundle | path | |||
| aws_config | dict | |||
| certificate_arn | str | |||
| debug_botocore_endpoint_logs | bool | false | ||
| domain_name | str | |||
| endpoint_url | str | |||
| profile | str | |||
| region | str | |||
| secret_key | str | |||
| session_token | str | |||
| statuses | list | |||
| tags | dict | |||
| validate_certs | bool | true |
Example
yaml
- name: obtain all ACM certificates
community.aws.acm_certificate_info:
- name: obtain all information for a single ACM certificate
community.aws.acm_certificate_info:
domain_name: "*.example_com"
- name: obtain all certificates pending validation
community.aws.acm_certificate_info:
statuses:
- PENDING_VALIDATION
- name: obtain all certificates with tag Name=foo and myTag=bar
community.aws.acm_certificate_info:
tags:
Name: foo
myTag: bar
# The output is still a list of certificates, just one item long.
- name: obtain information about a certificate with a particular ARN
community.aws.acm_certificate_info:
certificate_arn: "arn:aws:acm:ap-southeast-2:123456789012:certificate/abcdeabc-abcd-1234-4321-abcdeabcde12"