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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forMTLSConfig
static final class
An implementation forMTLSConfig
-
Method Summary
Modifier and TypeMethodDescriptionstatic MTLSConfig.Builder
builder()
(experimental) The bucket that the trust store is hosted in.getKey()
(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
(experimental) The bucket that the trust store is hosted in. -
getKey
(experimental) The key in S3 to look at for the trust store. -
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
- Returns:
- a
MTLSConfig.Builder
ofMTLSConfig
-