Interface ICertificate

All Superinterfaces:
software.constructs.IConstruct, software.constructs.IDependable, 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.97.0 (build 729de35)", date="2024-04-24T21:00:26.444Z") @Stability(Stable) public interface ICertificate extends software.amazon.jsii.JsiiSerializable, IResource
Represents a certificate in AWS Certificate Manager.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Internal default implementation for ICertificate.
    static final class 
    A proxy class which represents a concrete javascript instance of this type.
  • Method Summary

    Modifier and Type
    Method
    Description
    The certificate's ARN.
    Return the DaysToExpiry metric for this AWS Certificate Manager Certificate.
    Return the DaysToExpiry metric for this AWS Certificate Manager Certificate.

    Methods inherited from interface software.constructs.IConstruct

    getNode

    Methods inherited from interface software.amazon.awscdk.IResource

    applyRemovalPolicy, getEnv, getStack

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • 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".