Interface CfnVirtualGateway.VirtualGatewayListenerTlsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnVirtualGateway.VirtualGatewayListenerTlsProperty.Jsii$Proxy
- Enclosing class:
CfnVirtualGateway
@Stability(Stable)
public static interface CfnVirtualGateway.VirtualGatewayListenerTlsProperty
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.*; VirtualGatewayListenerTlsProperty virtualGatewayListenerTlsProperty = VirtualGatewayListenerTlsProperty.builder() .certificate(VirtualGatewayListenerTlsCertificateProperty.builder() .acm(VirtualGatewayListenerTlsAcmCertificateProperty.builder() .certificateArn("certificateArn") .build()) .file(VirtualGatewayListenerTlsFileCertificateProperty.builder() .certificateChain("certificateChain") .privateKey("privateKey") .build()) .sds(VirtualGatewayListenerTlsSdsCertificateProperty.builder() .secretName("secretName") .build()) .build()) .mode("mode") // the properties below are optional .validation(VirtualGatewayListenerTlsValidationContextProperty.builder() .trust(VirtualGatewayListenerTlsValidationContextTrustProperty.builder() .file(VirtualGatewayTlsValidationContextFileTrustProperty.builder() .certificateChain("certificateChain") .build()) .sds(VirtualGatewayTlsValidationContextSdsTrustProperty.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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnVirtualGateway.VirtualGatewayListenerTlsProperty
static final class
An implementation forCfnVirtualGateway.VirtualGatewayListenerTlsProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
An object that represents a Transport Layer Security (TLS) certificate.getMode()
Specify one of the following modes.default Object
A reference to an object that represents a virtual gateway's listener's Transport Layer Security (TLS) validation context.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCertificate
An object that represents a 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 virtual gateway's listener's Transport Layer Security (TLS) validation context.- See Also:
-
builder
-