Interface CfnCertificate.DomainValidationOptionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCertificate.DomainValidationOptionProperty.Jsii$Proxy
- Enclosing class:
CfnCertificate
DomainValidationOption
is a property of the AWS::CertificateManager::Certificate resource that specifies the AWS Certificate Manager ( ACM ) certificate domain to validate. Depending on the chosen validation method, ACM checks the domain's DNS record for a validation CNAME, or it attempts to send a validation email message to the domain owner.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.certificatemanager.*; DomainValidationOptionProperty domainValidationOptionProperty = DomainValidationOptionProperty.builder() .domainName("domainName") // the properties below are optional .hostedZoneId("hostedZoneId") .validationDomain("validationDomain") .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnCertificate.DomainValidationOptionProperty
static final class
An implementation forCfnCertificate.DomainValidationOptionProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
A fully qualified domain name (FQDN) in the certificate request.default String
TheHostedZoneId
option, which is available if you are using Route 53 as your domain registrar, causes ACM to add your CNAME to the domain record.default String
The domain name to which you want ACM to send validation emails.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDomainName
A fully qualified domain name (FQDN) in the certificate request.- See Also:
-
getHostedZoneId
TheHostedZoneId
option, which is available if you are using Route 53 as your domain registrar, causes ACM to add your CNAME to the domain record.Your list of
DomainValidationOptions
must contain one and only one of the domain-validation options, and theHostedZoneId
can be used only whenDNS
is specified as your validation method.Use the Route 53
ListHostedZones
API to discover IDs for available hosted zones.This option is required for publicly trusted certificates.
The
ListHostedZones
API returns IDs in the format "/hostedzone/Z111111QQQQQQQ", but CloudFormation requires the IDs to be in the format "Z111111QQQQQQQ".When you change your
DomainValidationOptions
, a new resource is created.- See Also:
-
getValidationDomain
The domain name to which you want ACM to send validation emails.This domain name is the suffix of the email addresses that you want ACM to use. This must be the same as the
DomainName
value or a superdomain of theDomainName
value. For example, if you request a certificate fortesting.example.com
, you can specifyexample.com
as this value. In that case, ACM sends domain validation emails to the following five addresses:- admin@example.com
- administrator@example.com
- hostmaster@example.com
- postmaster@example.com
- webmaster@example.com
- See Also:
-
builder
-