public static interface CfnVirtualNode.ListenerTlsProperty
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();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnVirtualNode.ListenerTlsProperty.Builder
A builder for
CfnVirtualNode.ListenerTlsProperty |
static class |
CfnVirtualNode.ListenerTlsProperty.Jsii$Proxy
An implementation for
CfnVirtualNode.ListenerTlsProperty |
Modifier and Type | Method and Description |
---|---|
static CfnVirtualNode.ListenerTlsProperty.Builder |
builder() |
java.lang.Object |
getCertificate()
A reference to an object that represents a listener's Transport Layer Security (TLS) certificate.
|
java.lang.String |
getMode()
Specify one of the following modes.
|
default java.lang.Object |
getValidation()
A reference to an object that represents a listener's Transport Layer Security (TLS) validation context.
|
java.lang.Object getCertificate()
java.lang.String getMode()
default java.lang.Object getValidation()
static CfnVirtualNode.ListenerTlsProperty.Builder builder()