aws-cdk-lib.aws_appmesh.CfnVirtualNode.BackendDefaultsProperty

interface BackendDefaultsProperty

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

An object that represents the default 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 backendDefaultsProperty: appmesh.CfnVirtualNode.BackendDefaultsProperty = {
  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
clientPolicy?IResolvable | ClientPolicyPropertyA reference to an object that represents a client policy.

clientPolicy?

Type: IResolvable | ClientPolicyProperty (optional)

A reference to an object that represents a client policy.