Skip to content

Commit

Permalink
feat: add hosting
Browse files Browse the repository at this point in the history
  • Loading branch information
mykeels committed Jun 25, 2020
1 parent f505d06 commit b98fa4b
Show file tree
Hide file tree
Showing 3 changed files with 78 additions and 26 deletions.
59 changes: 33 additions & 26 deletions amplify/backend/backend-config.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,35 @@
{
"auth": {
"pointandclickec9c3e40": {
"service": "Cognito",
"providerPlugin": "awscloudformation",
"dependsOn": [],
"customAuth": false
}
},
"api": {
"pointandclick": {
"service": "AppSync",
"providerPlugin": "awscloudformation",
"output": {
"authConfig": {
"additionalAuthenticationProviders": [],
"defaultAuthentication": {
"authenticationType": "API_KEY",
"apiKeyConfig": {
"description": "something to point and click",
"apiKeyExpirationDays": "90"
}
}
}
}
}
}
"auth": {
"pointandclickec9c3e40": {
"service": "Cognito",
"providerPlugin": "awscloudformation",
"dependsOn": [],
"customAuth": false
}
},
"api": {
"pointandclick": {
"service": "AppSync",
"providerPlugin": "awscloudformation",
"output": {
"authConfig": {
"additionalAuthenticationProviders": [],
"defaultAuthentication": {
"authenticationType": "API_KEY",
"apiKeyConfig": {
"description": "something to point and click",
"apiKeyExpirationDays": "90"
}
}
}
}
}
},
"hosting": {
"amplifyhosting": {
"service": "amplifyhosting",
"providerPlugin": "awscloudformation",
"type": "manual"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"AWSTemplateFormatVersion": "2010-09-09",
"Description": "Branch stack creation for AWS Amplify Console",
"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"
}
}
}
}
}
6 changes: 6 additions & 0 deletions amplify/team-provider-info.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@
"categories": {
"auth": {
"pointandclickec9c3e40": {}
},
"hosting": {
"amplifyhosting": {
"appId": "d2z0am5vzymyzy",
"type": "manual"
}
}
}
}
Expand Down

0 comments on commit b98fa4b

Please sign in to comment.