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
import Amplify from 'aws-amplify' | |
import awsconfig from './aws-exports' |
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
Amplify.configure(awsconfig) |
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
{ | |
"SECRETNAME": "<YOUR SECRET NAME IN SECRETS MANAGER>", | |
"SECRETKEY": "<YOUR SECRET KEY NAME FOR THE BC CLIENT SECRET VALUE>", | |
"SECRETARN": "<YOUR SECRET AMAZON RESOURCE NAME>" | |
} |
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
"SECRETNAME": { | |
"Type": "String", | |
"Default": "" | |
}, | |
"SECRETKEY": { | |
"Type": "String", | |
"Default": "" | |
}, | |
"SECRETARN": { | |
"Type": "String", |
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
{ | |
"Effect": "Allow", | |
"Action": "secretsmanager:GetSecretValue", | |
"Resource": { | |
"Ref": "SECRETARN" | |
} | |
} |
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
"SECRETNAME": { | |
"Ref": "SECRETNAME" | |
}, | |
"SECRETKEY": { | |
"Ref": "SECRETKEY" | |
} |
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
{ | |
"REDIRECTURL": "<YOUR APP REDIRECT/INSTALL URL>", | |
"BCCLIENTID": "<YOUR BIGCOMMERCE CLIENT ID>", | |
"modules": "", | |
"resourceName": "CognitoStoresPreSignup" | |
} |
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
"REDIRECTURL": { | |
"Type": "String", | |
"Default": "" | |
}, | |
"BCCLIENTID": { | |
"Type": "String", | |
"Default": "" | |
} |
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
"CLIENT_ID": { | |
"Ref": "BCCLIENTID" | |
}, | |
"REDIRECT_URL": { | |
"Ref": "REDIRECTURL" | |
} |
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
HTTPS=true |
OlderNewer