Skip to content

Commit

Permalink
Add amplify config
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcdonagh committed Apr 4, 2024
1 parent cd0e954 commit e412976
Show file tree
Hide file tree
Showing 10 changed files with 294 additions and 0 deletions.
17 changes: 17 additions & 0 deletions amplify/.config/project-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"projectName": "berkleeopen",
"version": "3.1",
"frontend": "javascript",
"javascript": {
"framework": "react",
"config": {
"SourceDir": "src",
"DistributionDir": "dist",
"BuildCommand": "npm run-script build",
"StartCommand": "npm run-script start"
}
},
"providers": [
"awscloudformation"
]
}
8 changes: 8 additions & 0 deletions amplify/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Getting Started with Amplify CLI
This directory was generated by [Amplify CLI](https://docs.amplify.aws/cli).

Helpful resources:
- Amplify documentation: https://docs.amplify.aws
- Amplify CLI documentation: https://docs.amplify.aws/cli
- More details on this folder & generated files: https://docs.amplify.aws/cli/reference/files
- Join Amplify's community: https://amplify.aws/community/
45 changes: 45 additions & 0 deletions amplify/backend/auth/berkleeopen799eb504/cli-inputs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"version": "1",
"cognitoConfig": {
"identityPoolName": "berkleeopen799eb504_identitypool_799eb504",
"allowUnauthenticatedIdentities": false,
"resourceNameTruncated": "berkle799eb504",
"userPoolName": "berkleeopen799eb504_userpool_799eb504",
"autoVerifiedAttributes": [
"email"
],
"mfaConfiguration": "OFF",
"mfaTypes": [
"SMS Text Message"
],
"smsAuthenticationMessage": "Your authentication code is {####}",
"smsVerificationMessage": "Your verification code is {####}",
"emailVerificationSubject": "Your verification code",
"emailVerificationMessage": "Your verification code is {####}",
"defaultPasswordPolicy": false,
"passwordPolicyMinLength": 8,
"passwordPolicyCharacters": [],
"requiredAttributes": [
"email"
],
"aliasAttributes": [],
"userpoolClientGenerateSecret": false,
"userpoolClientRefreshTokenValidity": 30,
"userpoolClientWriteAttributes": [
"email"
],
"userpoolClientReadAttributes": [
"email"
],
"userpoolClientLambdaRole": "berkle799eb504_userpoolclient_lambda_role",
"userpoolClientSetAttributes": false,
"sharedId": "799eb504",
"resourceName": "berkleeopen799eb504",
"authSelections": "identityPoolAndUserPool",
"useDefault": "default",
"userPoolGroupList": [],
"serviceName": "Cognito",
"usernameCaseSensitive": false,
"useEnabledMfas": true
}
}
53 changes: 53 additions & 0 deletions amplify/backend/backend-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{
"auth": {
"berkleeopen799eb504": {
"customAuth": false,
"dependsOn": [],
"frontendAuthConfig": {
"mfaConfiguration": "OFF",
"mfaTypes": [
"SMS"
],
"passwordProtectionSettings": {
"passwordPolicyCharacters": [],
"passwordPolicyMinLength": 8
},
"signupAttributes": [
"EMAIL"
],
"socialProviders": [],
"usernameAttributes": [],
"verificationMechanisms": [
"EMAIL"
]
},
"providerPlugin": "awscloudformation",
"service": "Cognito"
}
},
"hosting": {
"amplifyhosting": {
"providerPlugin": "awscloudformation",
"service": "amplifyhosting",
"type": "manual"
}
},
"parameters": {
"AMPLIFY_hosting_amplifyhosting_appId": {
"usedBy": [
{
"category": "hosting",
"resourceName": "amplifyhosting"
}
]
},
"AMPLIFY_hosting_amplifyhosting_type": {
"usedBy": [
{
"category": "hosting",
"resourceName": "amplifyhosting"
}
]
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"AWSTemplateFormatVersion": "2010-09-09",
"Description": "{\"createdOn\":\"Mac\",\"createdBy\":\"Amplify\",\"createdWith\":\"12.10.3\",\"stackType\":\"hosting-amplifyhosting\",\"metadata\":{}}",
"Parameters": {
"env": {
"Type": "String"
},
"appId": {
"Type": "String"
},
"type": {
"Type": "String"
}
},
"Conditions": {
"isManual": {
"Fn::Equals": [
{
"Ref": "type"
},
"manual"
]
}
},
"Resources": {
"AmplifyBranch": {
"Condition": "isManual",
"Type": "AWS::Amplify::Branch",
"Properties": {
"BranchName": {
"Ref": "env"
},
"AppId": {
"Ref": "appId"
}
}
}
}
}
10 changes: 10 additions & 0 deletions amplify/backend/tags.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[
{
"Key": "user:Stack",
"Value": "{project-env}"
},
{
"Key": "user:Application",
"Value": "{project-name}"
}
]
13 changes: 13 additions & 0 deletions amplify/backend/types/amplify-dependent-resources-ref.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
export type AmplifyDependentResourcesAttributes = {
"auth": {
"berkleeopen799eb504": {
"AppClientID": "string",
"AppClientIDWeb": "string",
"IdentityPoolId": "string",
"IdentityPoolName": "string",
"UserPoolArn": "string",
"UserPoolId": "string",
"UserPoolName": "string"
}
}
}
63 changes: 63 additions & 0 deletions amplify/cli.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"features": {
"graphqltransformer": {
"addmissingownerfields": true,
"improvepluralization": false,
"validatetypenamereservedwords": true,
"useexperimentalpipelinedtransformer": true,
"enableiterativegsiupdates": true,
"secondarykeyasgsi": true,
"skipoverridemutationinputtypes": true,
"transformerversion": 2,
"suppressschemamigrationprompt": true,
"securityenhancementnotification": false,
"showfieldauthnotification": false,
"usesubusernamefordefaultidentityclaim": true,
"usefieldnameforprimarykeyconnectionfield": false,
"enableautoindexquerynames": true,
"respectprimarykeyattributesonconnectionfield": true,
"shoulddeepmergedirectiveconfigdefaults": false,
"populateownerfieldforstaticgroupauth": true
},
"frontend-ios": {
"enablexcodeintegration": true
},
"auth": {
"enablecaseinsensitivity": true,
"useinclusiveterminology": true,
"breakcirculardependency": true,
"forcealiasattributes": false,
"useenabledmfas": true
},
"codegen": {
"useappsyncmodelgenplugin": true,
"usedocsgeneratorplugin": true,
"usetypesgeneratorplugin": true,
"cleangeneratedmodelsdirectory": true,
"retaincasestyle": true,
"addtimestampfields": true,
"handlelistnullabilitytransparently": true,
"emitauthprovider": true,
"generateindexrules": true,
"enabledartnullsafety": true,
"generatemodelsforlazyloadandcustomselectionset": false
},
"appsync": {
"generategraphqlpermissions": true
},
"latestregionsupport": {
"pinpoint": 1,
"translate": 1,
"transcribe": 1,
"rekognition": 1,
"textract": 1,
"comprehend": 1
},
"project": {
"overrides": true
}
},
"debug": {
"shareProjectConfig": false
}
}
7 changes: 7 additions & 0 deletions amplify/hooks/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Command Hooks

Command hooks can be used to run custom scripts upon Amplify CLI lifecycle events like pre-push, post-add-function, etc.

To get started, add your script files based on the expected naming convention in this directory.

Learn more about the script file naming convention, hook parameters, third party dependencies, and advanced configurations at https://docs.amplify.aws/cli/usage/command-hooks
39 changes: 39 additions & 0 deletions amplify/team-provider-info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"dev": {
"awscloudformation": {
"AuthRoleName": "amplify-berkleeopen-dev-3d898-authRole",
"UnauthRoleArn": "arn:aws:iam::399735942051:role/amplify-berkleeopen-dev-3d898-unauthRole",
"AuthRoleArn": "arn:aws:iam::399735942051:role/amplify-berkleeopen-dev-3d898-authRole",
"Region": "us-east-1",
"DeploymentBucketName": "amplify-berkleeopen-dev-3d898-deployment",
"UnauthRoleName": "amplify-berkleeopen-dev-3d898-unauthRole",
"StackName": "amplify-berkleeopen-dev-3d898",
"StackId": "arn:aws:cloudformation:us-east-1:399735942051:stack/amplify-berkleeopen-dev-3d898/3e11ec10-f2ad-11ee-bd67-1261b950bfb5",
"AmplifyAppId": "d2aaugixocxhg8"
}
},
"production": {
"awscloudformation": {
"AuthRoleName": "amplify-berkleeopen-production-d2415-authRole",
"UnauthRoleArn": "arn:aws:iam::399735942051:role/amplify-berkleeopen-production-d2415-unauthRole",
"AuthRoleArn": "arn:aws:iam::399735942051:role/amplify-berkleeopen-production-d2415-authRole",
"Region": "us-east-1",
"DeploymentBucketName": "amplify-berkleeopen-production-d2415-deployment",
"UnauthRoleName": "amplify-berkleeopen-production-d2415-unauthRole",
"StackName": "amplify-berkleeopen-production-d2415",
"StackId": "arn:aws:cloudformation:us-east-1:399735942051:stack/amplify-berkleeopen-production-d2415/93038710-f2ad-11ee-8d9a-127439b6c3bf",
"AmplifyAppId": "d2aaugixocxhg8"
},
"categories": {
"auth": {
"berkleeopen799eb504": {}
},
"hosting": {
"amplifyhosting": {
"appId": "d2aaugixocxhg8",
"type": "manual"
}
}
}
}
}

0 comments on commit e412976

Please sign in to comment.