# TenancyConfigProperty

Specifies the tenant isolation mode configuration for a Lambda function.

This allows you to configure specific tenant isolation strategies for your function invocations. Tenant isolation configuration cannot be modified after function creation.

- Source: Generated code
- Type last changed: v2.226.0 · 20 Nov 2025

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lambda as lambda } from 'aws-cdk-lib';
const tenancyConfigProperty: lambda.CfnFunction.TenancyConfigProperty = {
  tenantIsolationMode: 'tenantIsolationMode',
};
```

## Properties

- `tenantIsolationMode`: string (required) — Tenant isolation mode allows for invocation to be sent to a corresponding execution environment dedicated to a specific tenant ID.
