Interface MTLSConfig

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

@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)", date="2024-10-11T15:55:52.703Z") @Stability(Stable) public interface MTLSConfig extends software.amazon.jsii.JsiiSerializable
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
     
    The bucket that the trust store is hosted in.
    The key in S3 to look at for the trust store.
    default String
    The version of the S3 object that contains your truststore.

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Method Details

    • getBucket

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

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

      @Stability(Stable) @Nullable default String getVersion()
      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(Stable) static MTLSConfig.Builder builder()
      Returns:
      a MTLSConfig.Builder of MTLSConfig