aws-cdk-lib.aws_appmesh.CfnVirtualNode.VirtualServiceBackendProperty

interface VirtualServiceBackendProperty

LanguageType name
.NETAmazon.CDK.AWS.AppMesh.CfnVirtualNode.VirtualServiceBackendProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsappmesh#CfnVirtualNode_VirtualServiceBackendProperty
Javasoftware.amazon.awscdk.services.appmesh.CfnVirtualNode.VirtualServiceBackendProperty
Pythonaws_cdk.aws_appmesh.CfnVirtualNode.VirtualServiceBackendProperty
TypeScript aws-cdk-lib » 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 { aws_appmesh as appmesh } from 'aws-cdk-lib';
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

NameTypeDescription
virtualServiceNamestringThe name of the virtual service that is acting as a virtual node backend.
clientPolicy?IResolvable | ClientPolicyPropertyA 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 | ClientPolicyProperty (optional)

A reference to an object that represents the client policy for a backend.