# ClientAuthenticationProperty

Includes all client authentication information.

- 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_msk as msk } from 'aws-cdk-lib';
const clientAuthenticationProperty: msk.CfnServerlessCluster.ClientAuthenticationProperty = {
  sasl: {
    iam: {
      enabled: false,
    },
  },
};
```

## Properties

- `sasl`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnServerlessCluster.SaslProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_msk.CfnServerlessCluster.SaslProperty.html) (required) — Details for client authentication using SASL.

  To turn on SASL, you must also turn on `EncryptionInTransit` by setting `inCluster` to true. You must set `clientBroker` to either `TLS` or `TLS_PLAINTEXT` . If you choose `TLS_PLAINTEXT` , then you must also set `unauthenticated` to true.
