class Certificate (construct)
A certificate managed by AWS Certificate Manager.
IMPORTANT: if you are creating a certificate as part of your stack, the stack will not complete creating until you read and follow the instructions in the email that you will receive.
ACM will send validation emails to the following addresses:
For every domain that you register.
new Certificate(scope: Construct, id: string, props: CertificateProps)
|domain||Fully-qualified domain name to request a certificate for.|
|subject||Alternative domain names on your certificate.|
|validation||What validation domain to use for every requested domain.|
|validation||Validation method used to assert domain ownership.|
Fully-qualified domain name to request a certificate for.
May contain wildcards, such as
(optional, default: No additional FQDNs will be included as alternative domain names.)
Alternative domain names on your certificate.
Use this to register alternative domain names that represent the same site.
(optional, default: Apex domain is used for every domain that's not overridden.)
What validation domain to use for every requested domain.
Has to be a superdomain of the requested domain.
(optional, default: ValidationMethod.EMAIL)
Validation method used to assert domain ownership.
|certificate||The certificate's ARN.|
|node||The construct tree node associated with this construct.|
|stack||The stack in which this resource is defined.|
The certificate's ARN.
The construct tree node associated with this construct.
The stack in which this resource is defined.
|to||Returns a string representation of this construct.|
|static from||Import a certificate.|
public toString(): string
Returns a string representation of this construct.
Certificate Arn(scope, id, certificateArn)
public static fromCertificateArn(scope: Construct, id: string, certificateArn: string): ICertificate
Import a certificate.