@Stability(value=Stable)
public static interface CfnVirtualNode.ListenerTlsProperty
extends software.amazon.jsii.JsiiSerializable
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() |
Object |
getCertificate()
A reference to an object that represents a listener's Transport Layer Security (TLS) certificate.
|
String |
getMode()
Specify one of the following modes.
|
default Object |
getValidation()
A reference to an object that represents a listener's Transport Layer Security (TLS) validation context.
|
@Stability(value=Stable) @NotNull Object getCertificate()
@Stability(value=Stable) @NotNull String getMode()
@Stability(value=Stable) @Nullable default Object getValidation()
@Stability(value=Stable) static CfnVirtualNode.ListenerTlsProperty.Builder builder()
Copyright © 2022. All rights reserved.