aws-cdk-lib.aws_appmesh.BackendConfig

interface BackendConfig

LanguageType name
.NETAmazon.CDK.AWS.AppMesh.BackendConfig
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsappmesh#BackendConfig
Javasoftware.amazon.awscdk.services.appmesh.BackendConfig
Pythonaws_cdk.aws_appmesh.BackendConfig
TypeScript (source)aws-cdk-lib » aws_appmesh » BackendConfig

Obtainable from Backend.bind()

Properties for a backend.

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 backendConfig: appmesh.BackendConfig = {
  virtualServiceBackend: {
    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
virtualServiceBackendBackendPropertyConfig for a Virtual Service backend.

virtualServiceBackend

Type: BackendProperty

Config for a Virtual Service backend.