Amazon made several significant new features available to its AWS Mobile Hub this month that should make it easier for developers to tap into cloud-based APIs. The new tools include a Cloud Logic Function, user sign-in tweaks, user management options, and SaaS Integration.
The Cloud Logic feature improves upon an AWS functionality that Amazon introduced in October, which was the ability to use a serverless Stack with business logic in AWS Lambda. This, in turn, allows developers to create and test mobile cloud APIs without the need to manage servers. The Cloud Logic tool makes it easier for developers to enter this pattern, integrate mobile apps with cloud APIs and connect to a range of AWS services.
"You can now easily spin up a serverless stack," explained Amazon's Vyom Nagrani. "This enables you to create and test mobile cloud APIs connected to business logic functions that you develop."
The Cloud Logic feature automatically applies access control to the cloud APIs in API Gateway, which brings us to new tool number two: sign-in options. Because access control is managed by the cloud APIs, network admins can limit access to app users who have authenticated with the sign-on options in Mobile Hub. The new options include fully managed email- and password-based app sign-on, and SAML-based app sign-in. The email/password option lets developers provision and manage a user directory for their app in Amazon Cognito with custom sign-in parameters. The SAML Federation option lets enterprises use existing credentials in a SAML-enabled identity provider, such as Active Directory Federation Service.
AWS Mobile Hub also gains a handful of user-management tools for B2C and B2E apps. For example, developers of B2C apps can create fully-managed directories in Amazon Cognito and add sign-up and sign-in features, including multi-factor Authentication. B2E apps can easily integrate exiting corporate credentials via SAML. Putting these to use automatically assigns AWS Identity and Access Management roles to each user, who can then gain access to AWS resources such as the Mobile Hub.
Last, AWS Mobile Hub touts new SaaS integration. The Mobile Hub connectors let developers build apps that can access data stored within enterprise SaaS apps. Some examples might include accounts, contacts, leads, and similar data from apps such as Salesforce, Microsoft Dynamics, Zendesk, QuickBooks, and HubSpot. Moreover, developers will be able to run queries that access and pull out custom objects from this apps. Amazon says API calls to the connectors are routed through API Gateway to the target SaaS app. This lets developers to audit and meter calls, throttle requests, and cache responses.
Amazon has provided a wealth of information about the Cloud Logic tool and SaaS tool on its website. The company provides a complete walk through of how to use Cloud Logic to create APIs and master serverless testing. You can learn more aabout AWS Mobile Hub here.