AWS API Gateway ARN

Miles

One of the things that drives me nuts is that AWS has loads of docs about the format of an ARN, but doesn't have any kind of generator to make you confident that the ARN is correct.

In IAM, I'm trying to set up a policy to allow access to an API Gateway and I've read the following docs about it:

But I can't get any ARN to validate, even just a wide open API Gateway ARN. See screenshot:

open arn called invalid

What am I doing wrong here?

Balaji

From the documentation: To create an IAM policy using the Policy Generator in the IAM console, select Manage Amazon API Gateway as AWS Service to set permissions statements for apigateway and select Amazon API Gateway as AWS Service to set permission statements for execute-api.

If you are creating a policy to manage creating/editing your API, then you will need to select Manage - Amazon API Gateway and then use * to give permission for all resources. If you want to give permissions for specific resources, then use this format: (note that the service name is apigateway)

arn:aws:apigateway:region::resource-path-specifier.

If you are creating a policy to manage invoking your API, then you will need to select Amazon API Gateway and then use * to give permission for all resources. If you want to give permissions for specific resources, then use this format: (note that the service name is execute-api)

arn:aws:execute-api:region:account-id:api-id/stage-name/HTTP-VERB/resource-path-specifier.

この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。

侵害の場合は、連絡してください[email protected]

編集
0

コメントを追加

0

関連記事

分類Dev

AWS Api Gateway:

分類Dev

AWS API Gateway with AWS WAF

分類Dev

AWS API Gateway:ユーザー:anonymousは実行を許可されていません:execute-api:Invoke on resource:arn:aws:execute-api:

分類Dev

AWS API Gateway with external authentication

分類Dev

Configuring logging of AWS API Gateway

分類Dev

Route subdomain to AWS api gateway

分類Dev

AWS Cloudformation Link API Key to API Gateway

分類Dev

AWS API Gateway error response generates 502 "Bad Gateway"

分類Dev

How to create a parent resource in AWS API Gateway?

分類Dev

Consuming RSS feed with AWS Lambda and API Gateway

分類Dev

Nginx proxy_pass to aws Api Gateway

分類Dev

AWS API Gateway + AWSLambdaのCORS

分類Dev

AWS Api Gateway local testing/development

分類Dev

Handling AWS Lambda errors with API Gateway

分類Dev

How to apply Security Policy on AWS API Gateway using AWS CloudFormation?

分類Dev

Whitelist IP of AWS API Gateway API endpoint in company's firewall

分類Dev

AWS CLI: listener ARN "must be in ARN format" error

分類Dev

Access headers in AWS API Gateway using HTTP Proxy?

分類Dev

How to properly connect AWS API gateway -> Lambda -> DAX -> DynamoDB?

分類Dev

How to use AWS API Gateway to strip parameters from URL?

分類Dev

aws_api_gateway_method_settingslogging_levelのBadRequest

分類Dev

AWS API Gateway - Lambda Proxy not turning on via CloudFormation template

分類Dev

Invoking AWS Gateway API: com.amazon.coral.service#SerializationException

分類Dev

XMLHttpRequest error in flutter web [Enabling CORS AWS API gateway]

分類Dev

How to pass data from AWS API Gateway Custom Authorizer to an AWS Lambda function?

分類Dev

How to connect specific AWS API Gateway stage to specific AWS lambda alias

分類Dev

Is it possible to make synchronous calls to AWS Step Function through AWS API Gateway?

分類Dev

AWS API Gateway:いつ別のAPIを作成するのですか?

分類Dev

AWS Gateway timeout

Related 関連記事

  1. 1

    AWS Api Gateway:

  2. 2

    AWS API Gateway with AWS WAF

  3. 3

    AWS API Gateway:ユーザー:anonymousは実行を許可されていません:execute-api:Invoke on resource:arn:aws:execute-api:

  4. 4

    AWS API Gateway with external authentication

  5. 5

    Configuring logging of AWS API Gateway

  6. 6

    Route subdomain to AWS api gateway

  7. 7

    AWS Cloudformation Link API Key to API Gateway

  8. 8

    AWS API Gateway error response generates 502 "Bad Gateway"

  9. 9

    How to create a parent resource in AWS API Gateway?

  10. 10

    Consuming RSS feed with AWS Lambda and API Gateway

  11. 11

    Nginx proxy_pass to aws Api Gateway

  12. 12

    AWS API Gateway + AWSLambdaのCORS

  13. 13

    AWS Api Gateway local testing/development

  14. 14

    Handling AWS Lambda errors with API Gateway

  15. 15

    How to apply Security Policy on AWS API Gateway using AWS CloudFormation?

  16. 16

    Whitelist IP of AWS API Gateway API endpoint in company's firewall

  17. 17

    AWS CLI: listener ARN "must be in ARN format" error

  18. 18

    Access headers in AWS API Gateway using HTTP Proxy?

  19. 19

    How to properly connect AWS API gateway -> Lambda -> DAX -> DynamoDB?

  20. 20

    How to use AWS API Gateway to strip parameters from URL?

  21. 21

    aws_api_gateway_method_settingslogging_levelのBadRequest

  22. 22

    AWS API Gateway - Lambda Proxy not turning on via CloudFormation template

  23. 23

    Invoking AWS Gateway API: com.amazon.coral.service#SerializationException

  24. 24

    XMLHttpRequest error in flutter web [Enabling CORS AWS API gateway]

  25. 25

    How to pass data from AWS API Gateway Custom Authorizer to an AWS Lambda function?

  26. 26

    How to connect specific AWS API Gateway stage to specific AWS lambda alias

  27. 27

    Is it possible to make synchronous calls to AWS Step Function through AWS API Gateway?

  28. 28

    AWS API Gateway:いつ別のAPIを作成するのですか?

  29. 29

    AWS Gateway timeout

ホットタグ

アーカイブ