UNPKG

1.46 kBTypeScriptView Raw
1import * as acmpca from '@aws-cdk/aws-acmpca';
2import { Construct } from 'constructs';
3import { ICertificate } from './certificate';
4import { CertificateBase } from './certificate-base';
5/**
6 * Properties for your private certificate
7 */
8export interface PrivateCertificateProps {
9 /**
10 * Fully-qualified domain name to request a private certificate for.
11 *
12 * May contain wildcards, such as ``*.domain.com``.
13 */
14 readonly domainName: string;
15 /**
16 * Alternative domain names on your private certificate.
17 *
18 * Use this to register alternative domain names that represent the same site.
19 *
20 * @default - No additional FQDNs will be included as alternative domain names.
21 */
22 readonly subjectAlternativeNames?: string[];
23 /**
24 * Private certificate authority (CA) that will be used to issue the certificate.
25 */
26 readonly certificateAuthority: acmpca.ICertificateAuthority;
27}
28/**
29 * A private certificate managed by AWS Certificate Manager
30 *
31 * @resource AWS::CertificateManager::Certificate
32 */
33export declare class PrivateCertificate extends CertificateBase implements ICertificate {
34 /**
35 * Import a certificate
36 */
37 static fromCertificateArn(scope: Construct, id: string, certificateArn: string): ICertificate;
38 /**
39 * The certificate's ARN
40 */
41 readonly certificateArn: string;
42 constructor(scope: Construct, id: string, props: PrivateCertificateProps);
43}