-
Notifications
You must be signed in to change notification settings - Fork 820
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support --headless flag for storage category (S3) (#8377)
- Loading branch information
Showing
55 changed files
with
3,000 additions
and
1,469 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'; |
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
Oops, something went wrong.