Skip to main content

aws.acm

Supported platform

  • aws

Description

AWS Certificate Manager resource (for assessing the configuration of AWS Certificate Manager)

Use the aws.acm resource to assess the configuration of the AWS Certificates Manager service in the account. This resource returns a list of ACM certificates found in the account.

Fields

IDTYPEDESCRIPTION
certificates[]aws.acm.certificateList of aws.acm.certificate objects representing ACM certificates configured within the account

Examples

Return a list of aws.acm.certificate resources within the AWS account

aws.acm.certificates

Return a list of aws.acm.certificate resources within the AWS account along with values for specified fields

aws.acm.certificates {
arn
notBefore
notAfter
createdAt
domainName
status
subject
certificate()
}

Check whether ACM certificates in your account are marked for expiration within 90 days

aws.acm.certificates.
where( status != /PENDING_VALIDATION/ ).
all (notAfter - notBefore <= 90 * time.day)

References