0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【AWS】CloudformationでAPI Gateway Method作る際のアクションタイプの指定

Posted at

困ったこと

  • CloudFormationでAPI Gateway + S3 Proxyを作ろうとした際に、アクションタイプの指定で"パスオーバーライドを使用"にならない
  • CloudformationのAPI Gateway Methodを見てもパスオーバーライドなんて検索にかかってこない

結果

  • uriの項目内で指定する
    • "アクション名を指定"にしたい場合、'action/{アクション名}'を指定
      • arn:aws:apigateway:us-west-2:s3:action/GetObject&Bucket={bucket}&Key={key}
    • "パスオーバーライドを使用"にしたい場合、'path'を指定
      • arn:aws:apigateway:us-west-2:s3:path/{bucket}/{key}

参考リンク

0
0
0

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
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?