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.|
|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: 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||Construct tree node which offers APIs for interacting with the construct tree.|
|stack||The stack in which this resource is defined.|
The certificate's ARN.
Construct tree node which offers APIs for interacting with the construct tree.
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.