Interface CfnVirtualNodePropsMixin.ClientPolicyTlsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnVirtualNodePropsMixin.ClientPolicyTlsProperty.Jsii$Proxy
- Enclosing class:
CfnVirtualNodePropsMixin
@Stability(Stable)
public static interface CfnVirtualNodePropsMixin.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.cfnpropertymixins.services.appmesh.*;
ClientPolicyTlsProperty clientPolicyTlsProperty = ClientPolicyTlsProperty.builder()
.certificate(ClientTlsCertificateProperty.builder()
.file(ListenerTlsFileCertificateProperty.builder()
.certificateChain("certificateChain")
.privateKey("privateKey")
.build())
.sds(ListenerTlsSdsCertificateProperty.builder()
.secretName("secretName")
.build())
.build())
.enforce(false)
.ports(List.of(123))
.validation(TlsValidationContextProperty.builder()
.subjectAlternativeNames(SubjectAlternativeNamesProperty.builder()
.match(SubjectAlternativeNameMatchersProperty.builder()
.exact(List.of("exact"))
.build())
.build())
.trust(TlsValidationContextTrustProperty.builder()
.acm(TlsValidationContextAcmTrustProperty.builder()
.certificateAuthorityArns(List.of("certificateAuthorityArns"))
.build())
.file(TlsValidationContextFileTrustProperty.builder()
.certificateChain("certificateChain")
.build())
.sds(TlsValidationContextSdsTrustProperty.builder()
.secretName("secretName")
.build())
.build())
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnVirtualNodePropsMixin.ClientPolicyTlsPropertystatic final classAn implementation forCfnVirtualNodePropsMixin.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.default ObjectA reference to an object that represents a TLS validation context.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCertificate
A reference to an object that represents a client's TLS certificate.Returns union: either
IResolvableorCfnVirtualNodePropsMixin.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:
-
getValidation
A reference to an object that represents a TLS validation context.Returns union: either
IResolvableorCfnVirtualNodePropsMixin.TlsValidationContextProperty- See Also:
-
builder
-