AWS Builder Center: Learn, Build and Connect with builders in the AWS community
AWS Builder Center is the official home for builders on AWS. Share and read what others are working on, follow people who inspire you, explore training and workshops, and find tools to support what you're building.
How do I get notified when my ACM certificate is about to be renewed?
I have an AWS Certificate Manager (ACM) certificate and I want to want to receive notifications before ACM renews or fails to renew the certificate.
Short description
To set up ACM certificate renewal notifications, first check the certificate's eligibility for automatic renewal. Then, use one of the following methods to receive notifications:
- Monitor certificate expiration with an AWS Config rule and Amazon EventBridge.
- Monitor certificate expiration with an Amazon CloudWatch alarm.
- Monitor failed renewals with an EventBridge rule.
Resolution
Confirm certificate eligibility for automatic renewal
Check your certificate's eligibility for automatic renewal. For information about certificates that are ineligible for managed renewal, see Managed renewal for ACM certificates.
Monitor certificate expiration with an AWS Config rule and EventBridge
To receive renewal notifications before the automated 45 or 60 days, use the acm-certificate-expiration-check AWS Config rule or create an Amazon CloudWatch alarm with the DaysToExpiry metric.
Note: The acm-certificate-expiration-check rule checks all certificates in the AWS Region where you create the rule. It uses the common value of daysToExpiration. To monitor and receive notifications for a specific certificate instead of all certificates in a Region, use the Amazon CloudWatch alarm method in the next section.
Create the AWS Config rule with AWS CloudFormation
- Open the CloudFormation console.
- Choose Create stack.
- Choose Choose an existing template.
- For Amazon S3 URL, enter http://s3.amazonaws.com/aws-configservice-us-east-1/cloudformation-templates-for-managed-rules/ACM_CERTIFICATE_EXPIRATION_CHECK.template.
- Choose Next.
- Enter a Stack name, and then for daysToExpiration, enter the number of days before expiration that you want to be receive a notification.
- Choose Next.
- Confirm the configuration settings, and then choose Next.
- Choose Submit.
- Verify that the stack's Status is CREATE_COMPLETE.
Create an Amazon EventBridge rule to send notifications
- Open the EventBridge console.
- Choose Create rule.
- For Name, enter a rule name.
- For Description, enter a rule description.
- Choose Next.
- For Event pattern, configure the following settings:
For Event source, choose AWS services.
For AWS service, select Config.
For Event type, select Config Rules Compliance Change.
For Event Type Specification 1, enter ComplianceChangeNotification.
For Event Type Specification 2, enter the rule name.
Note: The CloudFormation template uses acm-certificate-expiration-check as the default config rule name. - Choose Next.
- For Select target(s), select your preferred target for notification, such as an Amazon Simple Notification Service (Amazon SNS) topic.
- Choose Next.
- Configure the configuration settings, and then choose Create rule.
Example EventBridge rule pattern:
{ "source": ["aws.config"], "detail-type": ["Config Rules Compliance Change"], "detail": { "messageType": ["ComplianceChangeNotification"], "configRuleName": ["acm-certificate-expiration-check"] } }
Monitor certificate expiration with a CloudWatch alarm
Use the DaysToExpiry metric with a CloudWatch alarm to monitor a specific certificate and receive a notification at a custom threshold.
Complete the following steps:
- Open the CloudWatch console.
- For Alarms, choose All alarms.
- Choose Select metric.
- In the search box, enter DaysToExpiry and your certificate's Amazon Resource Name (ARN).
- In the search results, choose CertificateManager, and then choose Certificate Metrics.
- Select DaysToExpiry for your certificate.
- Choose Select metric.
- Under Specify metric and conditions, for Statistics, choose Maximum.
- For Conditions, choose Lower/Equal.
- Enter the number of days before expiration that you want to receive a notification.
- Choose Next.
- For Configure actions, select the notification options for your use case.
- Choose Next.
- For Add name and description, enter a name for your alarm, and then choose Next.
- Confirm the configuration settings, and then choose Create alarm.
Monitor failed renewals with an EventBridge rule
Use an EventBridge rule to receive a notification when ACM invokes the ACM Certificate Approaching Expiration event. This event confirms that ACM attempted but failed to automatically renew the certificate.
Complete the following steps:
- Open the EventBridge console.
- Choose Create rule.
- For Name, enter a rule name.
- For Description, enter a rule description.
- Choose Next.
- Under Event pattern, choose Edit pattern.
- Enter the following event pattern:
Note: Replace REGION with your Region, ACCOUNT with your AWS account, and CERTIFICATE_ID with your certificate ID.{ "source": ["aws.acm"], "resources": ["arn:aws:acm:REGION:ACCOUNT:certificate/CERTIFICATE_ID"], "detail-type": ["ACM Certificate Approaching Expiration"] } - Choose Next.
- For Select target(s), choose your preferred target for notification, such as an Amazon SNS topic.
- Choose Next.
- Confirm the configuration settings, and then choose Create rule.
Related information
Handling failures in managed certificate renewal
- Sprache
- English

This article was reviewed and updated on 2026-07-01.
Relevanter Inhalt
AWS OFFICIALAktualisiert vor 3 Jahren