Interface CfnVirtualGateway.VirtualGatewayClientPolicyTlsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnVirtualGateway.VirtualGatewayClientPolicyTlsProperty.Jsii$Proxy
- Enclosing class:
- CfnVirtualGateway
@Stability(Stable)
public static interface CfnVirtualGateway.VirtualGatewayClientPolicyTlsProperty
extends software.amazon.jsii.JsiiSerializable
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.*;
VirtualGatewayClientPolicyTlsProperty virtualGatewayClientPolicyTlsProperty = 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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnVirtualGateway.VirtualGatewayClientPolicyTlsPropertystatic final classAn implementation forCfnVirtualGateway.VirtualGatewayClientPolicyTlsProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectA reference to an object that represents a virtual gateway's client's Transport Layer Security (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 Transport Layer Security (TLS) validation context.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getValidation
A reference to an object that represents a Transport Layer Security (TLS) validation context. -
getCertificate
A reference to an object that represents a virtual gateway's client's Transport Layer Security (TLS) certificate. -
getEnforce
Whether the policy is enforced.The default is
True, if a value isn't specified. -
getPorts
One or more ports that the policy is enforced for. -
builder
-