始める無料で始める

Match the caller to the door

You are the platform engineer on an API with four callers, and a decision is waiting on you: keep that API on REST, or move it to HTTP. Nobody has written down which caller depends on what.

What each caller presents at the door:

  • The web app user, carrying a Cognito token.
  • The partner app, carrying an opaque session key your own code has to resolve.
  • The analytics batch job, presenting no token at all, admitted today because of the account it calls from.
  • The inventory service, signing its requests with AWS credentials.

A REST API offers IAM auth, a Cognito authorizer, a Lambda authorizer, and a resource policy. An HTTP API offers IAM auth, a JWT authorizer, and a Lambda authorizer, and has no resource policies at all.

Which of these callers can be served by a REST API but not by an HTTP API?

この演習はコースの一部です

Using AWS Security for Developers

コースを見る

実践的なインタラクティブ演習

理論を実践に変える、インタラクティブな演習のひとつをお試しください

演習を開始する