Interface MTLSConfig

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
MTLSConfig.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:43.309Z") @Stability(Experimental) public interface MTLSConfig extends software.amazon.jsii.JsiiSerializable
(experimental) The mTLS authentication configuration for a custom domain name.

Example:

 import software.amazon.awscdk.services.s3.*;
 import software.amazon.awscdk.services.certificatemanager.*;
 Bucket bucket;
 String certArn = "arn:aws:acm:us-east-1:111111111111:certificate";
 String domainName = "example.com";
 DomainName.Builder.create(this, "DomainName")
         .domainName(domainName)
         .certificate(Certificate.fromCertificateArn(this, "cert", certArn))
         .mtls(MTLSConfig.builder()
                 .bucket(bucket)
                 .key("someca.pem")
                 .version("version")
                 .build())
         .build();
 
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
    A builder for MTLSConfig
    static final class 
    An implementation for MTLSConfig
  • Method Summary

    Modifier and Type
    Method
    Description
     
    (experimental) The bucket that the trust store is hosted in.
    (experimental) The key in S3 to look at for the trust store.
    default String
    (experimental) The version of the S3 object that contains your truststore.

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Method Details

    • getBucket

      @Stability(Experimental) @NotNull IBucket getBucket()
      (experimental) The bucket that the trust store is hosted in.
    • getKey

      @Stability(Experimental) @NotNull String getKey()
      (experimental) The key in S3 to look at for the trust store.
    • getVersion

      @Stability(Experimental) @Nullable default String getVersion()
      (experimental) The version of the S3 object that contains your truststore.

      To specify a version, you must have versioning enabled for the S3 bucket.

      Default: - latest version

    • builder

      @Stability(Experimental) static MTLSConfig.Builder builder()
      Returns:
      a MTLSConfig.Builder of MTLSConfig