시작하기무료로 시작하기

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

강의 보기

실습형 인터랙티브 연습문제

이론을 실습으로 바꾸는 인터랙티브 연습 중 하나를 만나보세요

연습 시작