Interface DnsValidatedCertificateProps

All Superinterfaces:
CertificateProps, software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
DnsValidatedCertificateProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:43.099Z") @Stability(Stable) public interface DnsValidatedCertificateProps extends software.amazon.jsii.JsiiSerializable, CertificateProps
Properties to create a DNS validated certificate managed by AWS Certificate Manager.

Example:

 HostedZone myHostedZone;
 DnsValidatedCertificate.Builder.create(this, "CrossRegionCertificate")
         .domainName("hello.example.com")
         .hostedZone(myHostedZone)
         .region("us-east-1")
         .build();
 
  • Method Details

    • getHostedZone

      @Stability(Stable) @NotNull IHostedZone getHostedZone()
      Route 53 Hosted Zone used to perform DNS validation of the request.

      The zone must be authoritative for the domain name specified in the Certificate Request.

    • getCleanupRoute53Records

      @Stability(Stable) @Nullable default Boolean getCleanupRoute53Records()
      When set to true, when the DnsValidatedCertificate is deleted, the associated Route53 validation records are removed.

      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

    • getCustomResourceRole

      @Stability(Stable) @Nullable default IRole getCustomResourceRole()
      Role to use for the custom resource that creates the validated certificate.

      Default: - A new role will be created

    • getRegion

      @Stability(Stable) @Nullable default String getRegion()
      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.

      Default: the region the stack is deployed in.

    • getRoute53Endpoint

      @Stability(Stable) @Nullable default String getRoute53Endpoint()
      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 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

    • builder

      @Stability(Stable) static DnsValidatedCertificateProps.Builder builder()
      Returns:
      a DnsValidatedCertificateProps.Builder of DnsValidatedCertificateProps