interface VirtualServiceBackendProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.AppMesh.Mixins.CfnVirtualNodePropsMixin.VirtualServiceBackendProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsappmesh/mixins#CfnVirtualNodePropsMixin_VirtualServiceBackendProperty |
Java | software.amazon.awscdk.mixins.preview.services.appmesh.mixins.CfnVirtualNodePropsMixin.VirtualServiceBackendProperty |
Python | aws_cdk.mixins_preview.aws_appmesh.mixins.CfnVirtualNodePropsMixin.VirtualServiceBackendProperty |
TypeScript | @aws-cdk/mixins-preview » aws_appmesh » mixins » CfnVirtualNodePropsMixin » VirtualServiceBackendProperty |
An object that represents a virtual service backend for a virtual node.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as appmesh_mixins } from '@aws-cdk/mixins-preview/aws-appmesh';
const virtualServiceBackendProperty: appmesh_mixins.CfnVirtualNodePropsMixin.VirtualServiceBackendProperty = {
clientPolicy: {
tls: {
certificate: {
file: {
certificateChain: 'certificateChain',
privateKey: 'privateKey',
},
sds: {
secretName: 'secretName',
},
},
enforce: false,
ports: [123],
validation: {
subjectAlternativeNames: {
match: {
exact: ['exact'],
},
},
trust: {
acm: {
certificateAuthorityArns: ['certificateAuthorityArns'],
},
file: {
certificateChain: 'certificateChain',
},
sds: {
secretName: 'secretName',
},
},
},
},
},
virtualServiceName: 'virtualServiceName',
};
Properties
| Name | Type | Description |
|---|---|---|
| client | IResolvable | Client | A reference to an object that represents the client policy for a backend. |
| virtual | string | The name of the virtual service that is acting as a virtual node backend. |
clientPolicy?
Type:
IResolvable | Client
(optional)
A reference to an object that represents the client policy for a backend.
virtualServiceName?
Type:
string
(optional)
The name of the virtual service that is acting as a virtual node backend.
App Mesh doesn't validate the existence of those virtual services specified in backends. This is to prevent a cyclic dependency between virtual nodes and virtual services creation. Make sure the virtual service name is correct. The virtual service can be created afterwards if it doesn't already exist.

.NET
Go
Java
Python
TypeScript