interface VirtualServiceBackendProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.AppMesh.CfnVirtualNode.VirtualServiceBackendProperty |
Java | software.amazon.awscdk.services.appmesh.CfnVirtualNode.VirtualServiceBackendProperty |
Python | aws_cdk.aws_appmesh.CfnVirtualNode.VirtualServiceBackendProperty |
TypeScript | @aws-cdk/aws-appmesh » CfnVirtualNode » 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 * as appmesh from '@aws-cdk/aws-appmesh';
const virtualServiceBackendProperty: appmesh.CfnVirtualNode.VirtualServiceBackendProperty = {
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
Name | Type | Description |
---|---|---|
virtual | string | The name of the virtual service that is acting as a virtual node backend. |
client | IResolvable | Client | A reference to an object that represents the client policy for a backend. |
virtualServiceName
Type:
string
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.
clientPolicy?
Type:
IResolvable
|
Client
(optional)
A reference to an object that represents the client policy for a backend.