Interface TrustStoreProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
TrustStoreProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2025-01-04T09:06:22.521Z")
@Stability(Stable)
public interface TrustStoreProps
extends software.amazon.jsii.JsiiSerializable
Properties used for the Trust Store.
Example:
import software.amazon.awscdk.services.certificatemanager.*; Certificate certificate; ApplicationLoadBalancer lb; Bucket bucket; TrustStore trustStore = TrustStore.Builder.create(this, "Store") .bucket(bucket) .key("rootCA_cert.pem") .build(); lb.addListener("Listener", BaseApplicationListenerProps.builder() .port(443) .protocol(ApplicationProtocol.HTTPS) .certificates(List.of(certificate)) // mTLS settings .mutualAuthentication(MutualAuthentication.builder() .ignoreClientCertificateExpiry(false) .mutualAuthenticationMode(MutualAuthenticationMode.VERIFY) .trustStore(trustStore) .build()) .defaultAction(ListenerAction.fixedResponse(200, FixedResponseOptions.builder().contentType("text/plain").messageBody("Success mTLS").build())) .build());
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forTrustStoreProps
static final class
An implementation forTrustStoreProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic TrustStoreProps.Builder
builder()
The bucket that the trust store is hosted in.getKey()
The key in S3 to look at for the trust store.default String
The name of 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
The bucket that the trust store is hosted in. -
getKey
The key in S3 to look at for the trust store. -
getTrustStoreName
The name of the trust store.Default: - Auto generated
-
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
TrustStoreProps.Builder
ofTrustStoreProps
-