From 724314b8d0c27843b4c92ce36f18206e9475dcfe Mon Sep 17 00:00:00 2001 From: MURAKAMI Masahiko Date: Fri, 13 Dec 2024 22:01:17 +0900 Subject: [PATCH] fix: rename ephemeralStorageSize to ephemeralStorageSizeMB --- .../build-a-backend/functions/configure-functions/index.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/[platform]/build-a-backend/functions/configure-functions/index.mdx b/src/pages/[platform]/build-a-backend/functions/configure-functions/index.mdx index 240dbc7c68f..6de235f4748 100644 --- a/src/pages/[platform]/build-a-backend/functions/configure-functions/index.mdx +++ b/src/pages/[platform]/build-a-backend/functions/configure-functions/index.mdx @@ -69,14 +69,14 @@ export const myDemoFunction = defineFunction({ }); ``` -## `ephemeralStorageSize` +## `ephemeralStorageSizeMB` By default, functions have 512MB of ephemeral storage to them. This can be configured from 512 MB upto 10240 MB. Note that this can increase the cost of function invocation. For more pricing information see [here](https://aws.amazon.com/lambda/pricing/). ```ts title="amplify/functions/my-demo-function/resource.ts" export const myDemoFunction = defineFunction({ // highlight-next-line - ephemeralStorageSize: 1024 // allocate 1024 MB of ephemeral storage to the function. + ephemeralStorageSizeMB: 1024 // allocate 1024 MB of ephemeral storage to the function. }); ```