@Stability(value=Stable) public static final class DnsValidatedCertificate.Builder extends Object implements software.amazon.jsii.Builder<DnsValidatedCertificate>
DnsValidatedCertificate.| Modifier and Type | Method and Description |
|---|---|
DnsValidatedCertificate |
build() |
DnsValidatedCertificate.Builder |
cleanupRoute53Records(Boolean cleanupRoute53Records)
When set to true, when the DnsValidatedCertificate is deleted, the associated Route53 validation records are removed.
|
static DnsValidatedCertificate.Builder |
create(software.constructs.Construct scope,
String id) |
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 |
transparencyLoggingEnabled(Boolean transparencyLoggingEnabled)
Enable or disable transparency logging for this certificate.
|
DnsValidatedCertificate.Builder |
validation(CertificateValidation validation)
How to validate this certificate.
|
@Stability(value=Stable) public static DnsValidatedCertificate.Builder create(software.constructs.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 transparencyLoggingEnabled(Boolean transparencyLoggingEnabled)
Once a certificate has been logged, it cannot be removed from the log. Opting out at that point will have no effect. If you opt out of logging when you request a certificate and then choose later to opt back in, your certificate will not be logged until it is renewed. If you want the certificate to be logged immediately, we recommend that you issue a new one.
Default: true
transparencyLoggingEnabled - Enable or disable transparency logging for this certificate. This parameter is required.this@Stability(value=Stable) public DnsValidatedCertificate.Builder validation(CertificateValidation validation)
Default: CertificateValidation.fromEmail()
validation - How to validate this certificate. This parameter is required.this@Stability(value=Stable) public DnsValidatedCertificate.Builder hostedZone(IHostedZone hostedZone)
The zone must be authoritative for the domain name specified in the Certificate Request.
hostedZone - Route 53 Hosted Zone used to perform DNS validation of the request. This parameter is required.this@Stability(value=Stable) public DnsValidatedCertificate.Builder cleanupRoute53Records(Boolean cleanupRoute53Records)
CAUTION: If multiple certificates share the same domains (and same validation records), this can cause the other certificates to fail renewal and/or not validate. Not recommended for production use.
Default: false
cleanupRoute53Records - When set to true, when the DnsValidatedCertificate is deleted, the associated Route53 validation records are removed. This parameter is required.this@Stability(value=Stable) public DnsValidatedCertificate.Builder customResourceRole(IRole customResourceRole)
Default: - A new role will be created
customResourceRole - Role to use for the custom resource that creates the validated certificate. This parameter is required.this@Stability(value=Stable) 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.
region - AWS region that will host the certificate. This parameter is required.this@Stability(value=Stable) public DnsValidatedCertificate.Builder route53Endpoint(String route53Endpoint)
Route53 is not been officially 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
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=Stable) public DnsValidatedCertificate build()
build in interface software.amazon.jsii.Builder<DnsValidatedCertificate>Copyright © 2022. All rights reserved.