TenancyConfigProperty Struct
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.
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',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_lambda as lambda_
tenancy_config_property = lambda.CfnFunction.TenancyConfigProperty(
tenant_isolation_mode="tenantIsolationMode"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.lambda.*;
TenancyConfigProperty tenancyConfigProperty = TenancyConfigProperty.builder()
.tenantIsolationMode("tenantIsolationMode")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Lambda;
var tenancyConfigProperty = new TenancyConfigProperty {
TenantIsolationMode = "tenantIsolationMode"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
tenancyConfigProperty := &TenancyConfigProperty{
TenantIsolationMode: jsii.String("tenantIsolationMode"),
}
Properties
tenantIsolationModestringtenant_isolation_modestrtenantIsolationModeStringTenantIsolationModestringTenantIsolationMode*stringrequired#Tenant isolation mode allows for invocation to be sent to a corresponding execution environment dedicated to a specific tenant ID.