aws-cdk-lib
Version:
Version 2 of the AWS Cloud Development Kit library
21 lines (20 loc) • 875 B
TypeScript
import type { ICertificate } from './certificate';
import * as cloudwatch from '../../aws-cloudwatch';
import { Resource } from '../../core';
import type { CertificateReference } from '../../interfaces/generated/aws-certificatemanager-interfaces.generated';
/**
* Shared implementation details of ICertificate implementations.
*
* @internal
*/
export declare abstract class CertificateBase extends Resource implements ICertificate {
abstract readonly certificateArn: string;
/**
* If the certificate is provisionned in a different region than the
* containing stack, this should be the region in which the certificate lives
* so we can correctly create `Metric` instances.
*/
protected readonly region?: string;
get certificateRef(): CertificateReference;
metricDaysToExpiry(props?: cloudwatch.MetricOptions): cloudwatch.Metric;
}