Skip to content

(lambda): add support for ephemeral storage setting #19605

@markcarroll

Description

@markcarroll

Description

Add support for new larger ephemeral storage in lambdas.

Use Case

Lambdas often need more then 512MB to work with for temporary storage. In our case building files that are then moved to S3 but are built on the lambda first. Also simple tasks such as zipping/unzipping files before or after S3.

Proposed Solution

Add L2 property for ephemeralStorage in lambda constructor.

Other information

https://aws.amazon.com/blogs/aws/aws-lambda-now-supports-up-to-10-gb-ephemeral-storage/

Acknowledge

  • I may be able to implement this feature request
  • This feature might incur a breaking change

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/aws-lambdaRelated to AWS Lambdaeffort/smallSmall work item – less than a day of effortfeature-requestA feature should be added or improved.p1

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions