Interface CfnVirtualNode.ListenerTlsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnVirtualNode.ListenerTlsProperty.Jsii$Proxy
- Enclosing class:
CfnVirtualNode
@Stability(Stable)
public static interface CfnVirtualNode.ListenerTlsProperty
extends software.amazon.jsii.JsiiSerializable
An object that represents the Transport Layer Security (TLS) properties for a listener.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.appmesh.*;
ListenerTlsProperty listenerTlsProperty = ListenerTlsProperty.builder()
.certificate(ListenerTlsCertificateProperty.builder()
.acm(ListenerTlsAcmCertificateProperty.builder()
.certificateArn("certificateArn")
.build())
.file(ListenerTlsFileCertificateProperty.builder()
.certificateChain("certificateChain")
.privateKey("privateKey")
.build())
.sds(ListenerTlsSdsCertificateProperty.builder()
.secretName("secretName")
.build())
.build())
.mode("mode")
// the properties below are optional
.validation(ListenerTlsValidationContextProperty.builder()
.trust(ListenerTlsValidationContextTrustProperty.builder()
.file(TlsValidationContextFileTrustProperty.builder()
.certificateChain("certificateChain")
.build())
.sds(TlsValidationContextSdsTrustProperty.builder()
.secretName("secretName")
.build())
.build())
// the properties below are optional
.subjectAlternativeNames(SubjectAlternativeNamesProperty.builder()
.match(SubjectAlternativeNameMatchersProperty.builder()
.exact(List.of("exact"))
.build())
.build())
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnVirtualNode.ListenerTlsPropertystatic final classAn implementation forCfnVirtualNode.ListenerTlsProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()A reference to an object that represents a listener's Transport Layer Security (TLS) certificate.getMode()Specify one of the following modes.default ObjectA reference to an object that represents a listener's Transport Layer Security (TLS) validation context.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCertificate
A reference to an object that represents a listener's Transport Layer Security (TLS) certificate.- See Also:
-
getMode
Specify one of the following modes.- ** STRICT – Listener only accepts connections with TLS enabled.
- ** PERMISSIVE – Listener accepts connections with or without TLS enabled.
- ** DISABLED – Listener only accepts connections without TLS.
- See Also:
-
getValidation
A reference to an object that represents a listener's Transport Layer Security (TLS) validation context.- See Also:
-
builder
-