Interface CfnVirtualNode.ClientPolicyTlsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnVirtualNode.ClientPolicyTlsProperty.Jsii$Proxy
- Enclosing class:
CfnVirtualNode
@Stability(Stable)
public static interface CfnVirtualNode.ClientPolicyTlsProperty
extends software.amazon.jsii.JsiiSerializable
A reference to 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.*;
ClientPolicyTlsProperty clientPolicyTlsProperty = ClientPolicyTlsProperty.builder()
.validation(TlsValidationContextProperty.builder()
.trust(TlsValidationContextTrustProperty.builder()
.acm(TlsValidationContextAcmTrustProperty.builder()
.certificateAuthorityArns(List.of("certificateAuthorityArns"))
.build())
.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())
// the properties below are optional
.certificate(ClientTlsCertificateProperty.builder()
.file(ListenerTlsFileCertificateProperty.builder()
.certificateChain("certificateChain")
.privateKey("privateKey")
.build())
.sds(ListenerTlsSdsCertificateProperty.builder()
.secretName("secretName")
.build())
.build())
.enforce(false)
.ports(List.of(123))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnVirtualNode.ClientPolicyTlsPropertystatic final classAn implementation forCfnVirtualNode.ClientPolicyTlsProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectA reference to an object that represents a client's TLS certificate.default ObjectWhether the policy is enforced.default ObjectgetPorts()One or more ports that the policy is enforced for.A reference to an object that represents a TLS validation context.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getValidation
A reference to an object that represents a TLS validation context.Returns union: either
IResolvableorCfnVirtualNode.TlsValidationContextProperty- See Also:
-
getCertificate
A reference to an object that represents a client's TLS certificate.Returns union: either
IResolvableorCfnVirtualNode.ClientTlsCertificateProperty- See Also:
-
getEnforce
Whether the policy is enforced.The default is
True, if a value isn't specified.Returns union: either
BooleanorIResolvable- See Also:
-
getPorts
One or more ports that the policy is enforced for.Returns union: either Listinvalid input: '<'
Number> orIResolvable- See Also:
-
builder
-