Skip to content

Commit c71e9f7

Browse files
committed
move to defineFunction
1 parent 1a00cd6 commit c71e9f7

File tree

1 file changed

+1
-1
lines changed
  • src/pages/[platform]/build-a-backend/functions/examples/s3-upload-confirmation

1 file changed

+1
-1
lines changed

src/pages/[platform]/build-a-backend/functions/examples/s3-upload-confirmation/index.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ import { defineFunction, defineStorage } from "@aws-amplify/backend";
4444

4545
export const storage = defineStorage({
4646
name: 'myProjectFiles',
47-
resourceGroupName: "storage",
4847
triggers: {
4948
onUpload: defineFunction({
5049
entry: './on-upload-handler.ts'
50+
resourceGroupName: 'storage',
5151
})
5252
}
5353
});

0 commit comments

Comments
 (0)