Interface CfnVirtualGateway.VirtualGatewayClientPolicyProperty

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

@Stability(Stable) public static interface CfnVirtualGateway.VirtualGatewayClientPolicyProperty extends software.amazon.jsii.JsiiSerializable
An object that represents a 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.*;
 VirtualGatewayClientPolicyProperty virtualGatewayClientPolicyProperty = VirtualGatewayClientPolicyProperty.builder()
         .tls(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())
         .build();
 

See Also: