@Stability(value=Experimental) public static final class DnsValidatedCertificate.Builder extends Object
DnsValidatedCertificate.| Modifier and Type | Method and Description |
|---|---|
DnsValidatedCertificate |
build() |
static DnsValidatedCertificate.Builder |
create(Construct scope,
String id)
EXPERIMENTAL
|
DnsValidatedCertificate.Builder |
customResourceRole(IRole customResourceRole)
Role to use for the custom resource that creates the validated certificate.
|
DnsValidatedCertificate.Builder |
domainName(String domainName)
Fully-qualified domain name to request a certificate for.
|
DnsValidatedCertificate.Builder |
hostedZone(IHostedZone hostedZone)
Route 53 Hosted Zone used to perform DNS validation of the request.
|
DnsValidatedCertificate.Builder |
region(String region)
AWS region that will host the certificate.
|
DnsValidatedCertificate.Builder |
route53Endpoint(String 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.
|
DnsValidatedCertificate.Builder |
subjectAlternativeNames(List<String> subjectAlternativeNames)
Alternative domain names on your certificate.
|
DnsValidatedCertificate.Builder |
validationDomains(Map<String,String> validationDomains)
What validation domain to use for every requested domain.
|
DnsValidatedCertificate.Builder |
validationMethod(ValidationMethod validationMethod)
Validation method used to assert domain ownership.
|
@Stability(value=Experimental) public static DnsValidatedCertificate.Builder create(Construct scope, String id)
scope - This parameter is required.id - This parameter is required.DnsValidatedCertificate.Builder.@Stability(value=Stable) public DnsValidatedCertificate.Builder domainName(String domainName)
May contain wildcards, such as *.domain.com.
domainName - Fully-qualified domain name to request a certificate for. This parameter is required.this@Stability(value=Stable) public DnsValidatedCertificate.Builder subjectAlternativeNames(List<String> subjectAlternativeNames)
Use this to register alternative domain names that represent the same site.
Default: - No additional FQDNs will be included as alternative domain names.
subjectAlternativeNames - Alternative domain names on your certificate. This parameter is required.this@Stability(value=Stable) public DnsValidatedCertificate.Builder validationDomains(Map<String,String> validationDomains)
Has to be a superdomain of the requested domain.
Default: - Apex domain is used for every domain that's not overridden.
validationDomains - What validation domain to use for every requested domain. This parameter is required.this@Stability(value=Stable) public DnsValidatedCertificate.Builder validationMethod(ValidationMethod validationMethod)
Default: ValidationMethod.EMAIL
validationMethod - Validation method used to assert domain ownership. This parameter is required.this@Stability(value=Experimental) public DnsValidatedCertificate.Builder hostedZone(IHostedZone hostedZone)
The zone must be authoritative for the domain name specified in the Certificate Request.
EXPERIMENTAL
hostedZone - Route 53 Hosted Zone used to perform DNS validation of the request. This parameter is required.this@Stability(value=Experimental) public DnsValidatedCertificate.Builder customResourceRole(IRole customResourceRole)
Default: - A new role will be created
EXPERIMENTAL
customResourceRole - Role to use for the custom resource that creates the validated certificate. This parameter is required.this@Stability(value=Experimental) public DnsValidatedCertificate.Builder region(String region)
This is needed especially for certificates used for CloudFront distributions, which require the region to be us-east-1.
Default: the region the stack is deployed in.
EXPERIMENTAL
region - AWS region that will host the certificate. This parameter is required.this@Stability(value=Experimental) public DnsValidatedCertificate.Builder route53Endpoint(String route53Endpoint)
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.
Default: - The AWS SDK will determine the Route53 endpoint to use based on region
EXPERIMENTAL
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. This parameter is required.this@Stability(value=Experimental) public DnsValidatedCertificate build()
Copyright © 2020. All rights reserved.