aws-cdk-lib
Version:
Version 2 of the AWS Cloud Development Kit library
24 lines (23 loc) • 759 B
TypeScript
import { CfnFunction } from './lambda.generated';
/**
* Specify the tenant isolation mode for Lambda functions.
*
* This is incompatible with:
* - SnapStart
* - Provisioned Concurrency
* - Function URLs
* - Most Event sources (only API Gateway is supported)
*/
export declare class TenancyConfig {
/**
* Each tenant gets a dedicated execution environment.
* Execution environments are not shared between different tenants,
* but can be reused for the same tenant to avoid cold starts.
*/
static readonly PER_TENANT: TenancyConfig;
/**
* The CloudFormation property for tenancy configuration.
*/
readonly tenancyConfigProperty: CfnFunction.TenancyConfigProperty;
protected constructor(mode: string);
}