Interface ICertificate

All Superinterfaces:
ICertificateRef, software.constructs.IConstruct, software.constructs.IDependable, IEnvironmentAware, IResource, software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
ICertificate.Jsii$Default
All Known Implementing Classes:
Certificate, DnsValidatedCertificate, ICertificate.Jsii$Proxy, PrivateCertificate

@Generated(value="jsii-pacmak/1.125.0 (build fdbe357)", date="2026-01-19T12:03:49.453Z") @Stability(Stable) public interface ICertificate extends software.amazon.jsii.JsiiSerializable, IResource, ICertificateRef
Represents a certificate in AWS Certificate Manager.
  • Method Details

    • getCertificateArn

      @Stability(Stable) @NotNull String getCertificateArn()
      The certificate's ARN.
    • metricDaysToExpiry

      @Stability(Stable) @NotNull Metric metricDaysToExpiry(@Nullable MetricOptions props)
      Return the DaysToExpiry metric for this AWS Certificate Manager Certificate. By default, this is the minimum value over 1 day.

      This metric is no longer emitted once the certificate has effectively expired, so alarms configured on this metric should probably treat missing data as "breaching".

      Parameters:
      props -
    • metricDaysToExpiry

      @Stability(Stable) @NotNull Metric metricDaysToExpiry()
      Return the DaysToExpiry metric for this AWS Certificate Manager Certificate. By default, this is the minimum value over 1 day.

      This metric is no longer emitted once the certificate has effectively expired, so alarms configured on this metric should probably treat missing data as "breaching".