LoginSignup
0

More than 5 years have passed since last update.

AWS APIGateway Authorizer で Cognito 認証を設定

Posted at

Screenshot from Gyazo

こいつを設定するためにGUIが使えなくなっているのでコマンドを紹介しときます。

GUIで設定できるようになったら、報告するかも。

$ aws apigateway create-authorizer --name YOUR-AUTHZ-NAME --rest-api-id your_api_id --type COGNITO_USER_POOLS --provider-arns arn:aws:cognito-idp:your_userpool_cognito_arn --identity-source 'method.request.header.Authorization' --region ap-northeast-1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0