-
Notifications
You must be signed in to change notification settings - Fork 825
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(amplify-category-storage): headless support for S3 (#8423)
Co-authored-by: Attila Hajdrik <hajdrik@amazon.com> Co-authored-by: Edward Foyle <foyleef@amazon.com>
- Loading branch information
1 parent
5f97c66
commit 76b0e70
Showing
75 changed files
with
3,614 additions
and
1,616 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,4 @@ | ||
export const categoryName = 'storage'; | ||
|
||
export enum ServiceName { | ||
S3 = 'S3', | ||
DynamoDB = 'DynamoDB', | ||
} | ||
|
||
// keep in sync with ServiceName in amplify-category-function, but probably it will not change | ||
export const FunctionServiceNameLambdaFunction = 'Lambda'; | ||
|
||
export const storageParamsFilename = 'storage-params.json'; | ||
export const templateFilenameMap = { | ||
[ServiceName.S3]: 's3-cloudformation-template.json.ejs', | ||
[ServiceName.DynamoDB]: 'dynamoDb-cloudformation-template.json.ejs', | ||
}; | ||
export const apiCategoryName = 'api'; | ||
export const authCategoryName = 'auth'; | ||
export const functionCategoryName = 'function'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...category-storage/src/provider-utils/awscloudformation/default-values/dynamoDb-defaults.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
packages/amplify-category-storage/src/provider-utils/awscloudformation/provider-constants.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
export enum ServiceName { | ||
S3 = 'S3', | ||
DynamoDB = 'DynamoDB', | ||
} | ||
|
||
export const storageParamsFilename = 'storage-params.json'; | ||
export const templateFilenameMap = { | ||
[ServiceName.S3]: 's3-cloudformation-template.json.ejs', | ||
[ServiceName.DynamoDB]: 'dynamoDb-cloudformation-template.json.ejs', | ||
}; | ||
|
||
// keep in sync with ServiceName in amplify-category-function, but probably it will not change | ||
export const FunctionServiceNameLambdaFunction = 'Lambda'; | ||
|
||
export const providerName = 'awscloudformation'; |
Oops, something went wrong.