# ClientPolicyProperty

An object that represents a client policy.

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

```ts
// 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 clientPolicyProperty: appmesh.CfnVirtualNode.ClientPolicyProperty = {
  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

- `tls`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnVirtualNode.ClientPolicyTlsProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_appmesh.CfnVirtualNode.ClientPolicyTlsProperty.html) — A reference to an object that represents a Transport Layer Security (TLS) client policy.
