@Stability(value=Experimental) public static final class DnsValidatedCertificateProps.Builder extends Object implements software.amazon.jsii.Builder<DnsValidatedCertificateProps>
DnsValidatedCertificateProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Experimental) public DnsValidatedCertificateProps.Builder hostedZone(IHostedZone hostedZone)
DnsValidatedCertificateProps.getHostedZone()hostedZone - Route 53 Hosted Zone used to perform DNS validation of the request. This parameter is required.
The zone
must be authoritative for the domain name specified in the Certificate Request.this@Stability(value=Experimental) public DnsValidatedCertificateProps.Builder customResourceRole(IRole customResourceRole)
DnsValidatedCertificateProps.getCustomResourceRole()customResourceRole - Role to use for the custom resource that creates the validated certificate.this@Stability(value=Experimental) public DnsValidatedCertificateProps.Builder region(String region)
DnsValidatedCertificateProps.getRegion()region - 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.this@Stability(value=Experimental) public DnsValidatedCertificateProps.Builder route53Endpoint(String route53Endpoint)
DnsValidatedCertificateProps.getRoute53Endpoint()route53Endpoint - 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.this@Stability(value=Stable) public DnsValidatedCertificateProps.Builder domainName(String domainName)
CertificateProps.getDomainName()domainName - Fully-qualified domain name to request a certificate for. This parameter is required.
May contain wildcards, such as *.domain.com.this@Stability(value=Stable) public DnsValidatedCertificateProps.Builder subjectAlternativeNames(List<String> subjectAlternativeNames)
CertificateProps.getSubjectAlternativeNames()subjectAlternativeNames - Alternative domain names on your certificate.
Use this to register alternative domain names that represent the same site.this@Stability(value=Stable) public DnsValidatedCertificateProps.Builder validation(CertificateValidation validation)
CertificateProps.getValidation()validation - How to validate this certifcate.this@Stability(value=Deprecated) @Deprecated public DnsValidatedCertificateProps.Builder validationDomains(Map<String,String> validationDomains)
CertificateProps.getValidationDomains()validationDomains - What validation domain to use for every requested domain.
Has to be a superdomain of the requested domain.this@Stability(value=Deprecated) @Deprecated public DnsValidatedCertificateProps.Builder validationMethod(ValidationMethod validationMethod)
CertificateProps.getValidationMethod()validationMethod - Validation method used to assert domain ownership.this@Stability(value=Experimental) public DnsValidatedCertificateProps build()
build in interface software.amazon.jsii.Builder<DnsValidatedCertificateProps>DnsValidatedCertificatePropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.