@Stability(value=Stable)
public static interface CfnCertificate.DomainValidationOptionProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnCertificate.DomainValidationOptionProperty.Builder
A builder for
CfnCertificate.DomainValidationOptionProperty |
static class |
CfnCertificate.DomainValidationOptionProperty.Jsii$Proxy
An implementation for
CfnCertificate.DomainValidationOptionProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnCertificate.DomainValidationOptionProperty.Builder |
builder() |
String |
getDomainName()
A fully qualified domain name (FQDN) in the certificate request.
|
default String |
getHostedZoneId()
The `HostedZoneId` 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 |
getValidationDomain()
The domain name to which you want ACM to send validation emails.
|
@Stability(value=Stable) @NotNull String getDomainName()
@Stability(value=Stable) @Nullable default String getHostedZoneId()
Your list of DomainValidationOptions must contain one and only one of the domain-validation options, and the HostedZoneId can be used only when DNS 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
ListHostedZonesAPI 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.
@Stability(value=Stable) @Nullable default String getValidationDomain()
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 the DomainName value. For example, if you request a certificate for testing.example.com , you can specify example.com as this value. In that case, ACM sends domain validation emails to the following five addresses:
@Stability(value=Stable) static CfnCertificate.DomainValidationOptionProperty.Builder builder()
Copyright © 2022. All rights reserved.