1 | import * as acmpca from '@aws-cdk/aws-acmpca';
|
2 | import { Construct } from 'constructs';
|
3 | import { ICertificate } from './certificate';
|
4 | import { CertificateBase } from './certificate-base';
|
5 | /**
|
6 | * Properties for your private certificate
|
7 | */
|
8 | export 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 | */
|
33 | export 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 | }
|