DescribeCertificate
Source:
src/AWS/ACM/DescribeCertificate.ts
Runtime binding for acm:DescribeCertificate.
Bind this operation to a Certificate to get a callable that reads
the certificate’s live metadata — status, domain validation state, renewal
summary, expiry — from inside a function runtime. Useful for expiry
monitors and issuance dashboards. Provide the implementation with
Effect.provide(AWS.ACM.DescribeCertificateHttp).
Inspecting Certificates
Section titled “Inspecting Certificates”// init — bind the operation to the certificateconst describeCertificate = yield* AWS.ACM.DescribeCertificate(certificate);
// runtimeconst { Certificate: detail } = yield* describeCertificate();const status = detail?.Status;const notAfter = detail?.NotAfter;