You can find all the creds in your AWS Account in Cognito section:
const awsConfig = {
identityPoolId: 'XX', (Federated Identities > Selected Identity Pool/Create new > Sample code > Select Javascript > Get AWS Credentials)
region: 'us-east-1', (User pools > General Settings > Pool Id) The first part of the Pool Id us-east-1
userPoolId: 'us-east-1_XXXXXX', (User pools > General Settings > Pool Id)
userPoolWebClientId: 'XXXXXXXXX', (User pools > General Settings > App clients > App client id)
};