interface EphemeralStorageProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Lambda.CfnFunction.EphemeralStorageProperty |
Java | software.amazon.awscdk.services.lambda.CfnFunction.EphemeralStorageProperty |
Python | aws_cdk.aws_lambda.CfnFunction.EphemeralStorageProperty |
TypeScript | @aws-cdk/aws-lambda » CfnFunction » EphemeralStorageProperty |
The size of the function's /tmp
directory in MB.
The default value is 512, but it can be any whole number between 512 and 10,240 MB.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as lambda from '@aws-cdk/aws-lambda';
const ephemeralStorageProperty: lambda.CfnFunction.EphemeralStorageProperty = {
size: 123,
};
Properties
Name | Type | Description |
---|---|---|
size | number | The size of the function's /tmp directory. |
size
Type:
number
The size of the function's /tmp
directory.