Posted On: Jul 20, 2017
AWS Mobile Hub released enhancements to the project import feature today, allowing a developer to import Cloud Logic functions through the one-click import from GitHub feature. With the Cloud Logic import feature, developers can also specify environment variables and CORS settings, allowing for the same code to be used for multiple functions with different settings (for example, test vs. production workloads or CRUD API for different tables within a DynamoDB database). The Cloud Logic import feature will also provide appropriate authorization for a linked Amazon DynamoDB database and Amazon API gateway, taking care of all resource deployments, service connections and IAM configuration with a single command.
We are also releasing a React starter kit with a Deploy to Mobile Hub button which will use this functionality to configure the entire backend with a single click. The included AWS Mobile Hub configuration includes a functioning Serverless website with Amazon Cognito User Pools and Federated Identities user registration, login flows, MFA support and request authorization to perform CRUD operations with Amazon API Gateway, AWS Lambda and Amazon DynamoDB. The sample can be fully customized or components can be included in developers own applications. The React starter kit is released with an Open Source license.
AWS Mobile Hub enables you to select the region in which your project's resources will be created. For more information about AWS regions, see Regions and Endpoints.
Modified 12/23/2021 – In an effort to ensure a great experience, expired links in this post have been updated or removed from the original post.