interface VirtualServiceBackendOptions
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.AppMesh.VirtualServiceBackendOptions |
![]() | software.amazon.awscdk.services.appmesh.VirtualServiceBackendOptions |
![]() | aws_cdk.aws_appmesh.VirtualServiceBackendOptions |
![]() | @aws-cdk/aws-appmesh » VirtualServiceBackendOptions |
Represents the properties needed to define a Virtual Service backend.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as appmesh from '@aws-cdk/aws-appmesh';
declare const mutualTlsCertificate: appmesh.MutualTlsCertificate;
declare const subjectAlternativeNames: appmesh.SubjectAlternativeNames;
declare const tlsValidationTrust: appmesh.TlsValidationTrust;
const virtualServiceBackendOptions: appmesh.VirtualServiceBackendOptions = {
tlsClientPolicy: {
validation: {
trust: tlsValidationTrust,
// the properties below are optional
subjectAlternativeNames: subjectAlternativeNames,
},
// the properties below are optional
enforce: false,
mutualTlsCertificate: mutualTlsCertificate,
ports: [123],
},
};
Properties
Name | Type | Description |
---|---|---|
tls | Tls | TLS properties for Client policy for the backend. |
tlsClientPolicy?
Type:
Tls
(optional, default: none)
TLS properties for Client policy for the backend.