class DnsValidatedCertificate (construct)
A certificate managed by AWS Certificate Manager.
Will be automatically validated using DNS validation against the specified Route 53 hosted zone.
new DnsValidatedCertificate(scope: Construct, id: string, props: DnsValidatedCertificateProps)
|domain||Fully-qualified domain name to request a certificate for.|
|hosted||Route 53 Hosted Zone used to perform DNS validation of the request.|
|custom||Role to use for the custom resource that creates the validated certificate.|
|region?||AWS region that will host the certificate.|
|route53||An endpoint of Route53 service, which is not necessary as AWS SDK could figure out the right endpoints for most regions, but for some regions such as those in aws-cn partition, the default endpoint is not working now, hence the right endpoint need to be specified through this prop.|
|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
Route 53 Hosted Zone used to perform DNS validation of the request.
The zone must be authoritative for the domain name specified in the Certificate Request.
(optional, default: A new role will be created)
Role to use for the custom resource that creates the validated certificate.
(optional, default: the region the stack is deployed in.)
AWS region that will host the certificate.
This is needed especially for certificates used for CloudFront distributions, which require the region to be us-east-1.
(optional, default: The AWS SDK will determine the Route53 endpoint to use based on region)
An endpoint of Route53 service, which is not necessary as AWS SDK could figure out the right endpoints for most regions, but for some regions such as those in aws-cn partition, the default endpoint is not working now, hence the right endpoint need to be specified through this prop.
Route53 is not been offically launched in China, it is only available for AWS internal accounts now. To make DnsValidatedCertificate work for internal accounts now, a special endpoint needs to be provided.
(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.|
|protected validate()||Validate the current construct.|
public toString(): string
Returns a string representation of this construct.
protected validate(): Array<string>
Validate the current construct.
This method can be implemented by derived constructs in order to perform validation logic. It is called on all constructs before synthesis.