I would like to know if it is possible to configure Amplify dynamically to use a different S3 bucket based on some flag.
Amplify.configure({
Auth: {
Cognito: {
identityPoolId: "us-east-1:xxxx",
allowGuestAccess: true,
},
},
Storage: {
S3: {
bucket: "system-software",
region: "us-east-1",
},
},
});
Like can I make it so that the bucket parameter there is calculated from a VueJS ref/computed property?