aws-cdk-lib.aws_appmesh.CfnVirtualNode.BackendProperty

interface BackendProperty

LanguageType name
.NETAmazon.CDK.AWS.AppMesh.CfnVirtualNode.BackendProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsappmesh#CfnVirtualNode_BackendProperty
Javasoftware.amazon.awscdk.services.appmesh.CfnVirtualNode.BackendProperty
Pythonaws_cdk.aws_appmesh.CfnVirtualNode.BackendProperty
TypeScript aws-cdk-lib » aws_appmesh » CfnVirtualNode » BackendProperty

An object that represents the backends that a virtual node is expected to send outbound traffic to.

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 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

NameTypeDescription
virtualService?IResolvable | VirtualServiceBackendPropertySpecifies a virtual service to use as a backend.

virtualService?

Type: IResolvable | VirtualServiceBackendProperty (optional)

Specifies a virtual service to use as a backend.