BackendProperty Struct
An object that represents the backends that a virtual node is expected to send outbound traffic to.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appmesh as appmesh } from 'aws-cdk-lib';
const backendProperty: appmesh.CfnVirtualNode.BackendProperty = {
virtualService: {
virtualServiceName: 'virtualServiceName',
// the properties below are optional
clientPolicy: {
tls: {
validation: {
trust: {
acm: {
certificateAuthorityArns: ['certificateAuthorityArns'],
},
file: {
certificateChain: 'certificateChain',
},
sds: {
secretName: 'secretName',
},
},
// the properties below are optional
subjectAlternativeNames: {
match: {
exact: ['exact'],
},
},
},
// the properties below are optional
certificate: {
file: {
certificateChain: 'certificateChain',
privateKey: 'privateKey',
},
sds: {
secretName: 'secretName',
},
},
enforce: false,
ports: [123],
},
},
},
};
Properties
virtualServiceoptionalIResolvable | CfnVirtualNode.VirtualServiceBackendPropertyvirtual_serviceoptionaltyping.Union[IResolvable, VirtualServiceBackendProperty]virtualServiceoptionalIResolvableVirtualServiceoptionalIResolvableVirtualServiceoptionalinterface{}#Specifies a virtual service to use as a backend.