Cognito Identity Broker Identity Pool Id (Token) Identity Id AWS Temp Credentials (Depending on Auth / Unauth Role) Access to AWS Services (Including Amazon API Gateway) Identity Id AWS Temp Credentials Amazon S3 Amazon DynamoDB Amazon Mobile Analytics Amazon Cognito Sync Store K / V Authentication & Authorization Amazon Cognito Check Token
Broker Identity Pool Id (Token) Identity Id AWS Temp Credentials (Depending on Auth / Unauth Role) Access to AWS Services (Including Amazon API Gateway) Identity Id AWS Temp Credentials Amazon S3 Amazon DynamoDB Amazon Mobile Analytics Amazon Cognito Sync Store K / V Custom Authentication Service Get Token Token Authentication & Authorization Amazon Cognito
Endpoints on Amazon EC2 or AWS Elastic Beanstalk Internet Any other publicly accessible endpoint AWS Lambda Functions Caching & Throttling Amazon API Gateway X Access to API Method
Protection through Amazon CloudFront SDK Generation for iOS, Android and JavaScript HTTP 429 Response for API Throttling (Managed by the SDK) Swagger Support Request / Response Data Transformation and API Mocking
console.log('value2 =', event.key2); console.log('value3 =', event.key3); // Echo back the first key value context.succeed(event.key1); // context.fail('Something went wrong'); };
Bucket Usage Table Media Metadata Table User Stat Table User Location Table K / V λ λ λ Amazon Cognito Identity Broker Amazon Cognito Sync Store Amazon SNS Amazon Kinesis Media Bucket Log Table Authentication & Authorization Upload Picture / Video Update Bucket Usage Check Bucket Usage Delete “Over Quota” Media Send Notification to User / Application Extract Metadata and Write on DB Update User Statistics Call REST API to Get Media Description Upload Location Info Update User Location Look for Users or Media Near Current Location Call REST API to Get User Info Sync Media and User Rating Write History of Changes Check and Update Ratings Invoke Read Write / Send