Interface MTLSConfig
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
MTLSConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-13T16:09:58.116Z")
@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 ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forMTLSConfigstatic final classAn implementation forMTLSConfig -
Method Summary
Modifier and TypeMethodDescriptionstatic MTLSConfig.Builderbuilder()The bucket that the trust store is hosted in.getKey()The key in S3 to look at for the trust store.default StringThe version of the S3 object that contains your truststore.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBucket
The bucket that the trust store is hosted in. -
getKey
The key in S3 to look at for the trust store. -
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
- Returns:
- a
MTLSConfig.BuilderofMTLSConfig
-