Interface CfnVirtualGateway.VirtualGatewayClientPolicyTlsProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnVirtualGateway.VirtualGatewayClientPolicyTlsProperty.Jsii$Proxy
Enclosing class:
CfnVirtualGateway

@Stability(Stable) public static interface CfnVirtualGateway.VirtualGatewayClientPolicyTlsProperty extends software.amazon.jsii.JsiiSerializable
An object that represents a Transport Layer Security (TLS) client policy.

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.*;
 VirtualGatewayClientPolicyTlsProperty virtualGatewayClientPolicyTlsProperty = VirtualGatewayClientPolicyTlsProperty.builder()
         .validation(VirtualGatewayTlsValidationContextProperty.builder()
                 .trust(VirtualGatewayTlsValidationContextTrustProperty.builder()
                         .acm(VirtualGatewayTlsValidationContextAcmTrustProperty.builder()
                                 .certificateAuthorityArns(List.of("certificateAuthorityArns"))
                                 .build())
                         .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())
         // the properties below are optional
         .certificate(VirtualGatewayClientTlsCertificateProperty.builder()
                 .file(VirtualGatewayListenerTlsFileCertificateProperty.builder()
                         .certificateChain("certificateChain")
                         .privateKey("privateKey")
                         .build())
                 .sds(VirtualGatewayListenerTlsSdsCertificateProperty.builder()
                         .secretName("secretName")
                         .build())
                 .build())
         .enforce(false)
         .ports(List.of(123))
         .build();