aws-cdk-lib.aws_appmesh.VirtualServiceBackendOptions

interface VirtualServiceBackendOptions

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

Represents the properties needed to define a Virtual Service 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';

declare const mutualTlsCertificate: appmesh.MutualTlsCertificate;
declare const subjectAlternativeNames: appmesh.SubjectAlternativeNames;
declare const tlsValidationTrust: appmesh.TlsValidationTrust;
const virtualServiceBackendOptions: appmesh.VirtualServiceBackendOptions = {
  tlsClientPolicy: {
    validation: {
      trust: tlsValidationTrust,

      // the properties below are optional
      subjectAlternativeNames: subjectAlternativeNames,
    },

    // the properties below are optional
    enforce: false,
    mutualTlsCertificate: mutualTlsCertificate,
    ports: [123],
  },
};

Properties

NameTypeDescription
tlsClientPolicy?TlsClientPolicyTLS properties for Client policy for the backend.

tlsClientPolicy?

Type: TlsClientPolicy (optional, default: none)

TLS properties for Client policy for the backend.