API Gateway Amazon 리소스 이름(ARN) 참조 - Amazon API Gateway

API Gateway Amazon 리소스 이름(ARN) 참조

다음 표에는 API Gateway 리소스의 Amazon 리소스 이름(ARN)이 나와 있습니다. AWS Identity and Access Management 정책에서의 ARN 사용에 대한 자세한 내용은 Amazon API Gateway에서 IAM을 사용하는 방식IAM 권한을 사용하여 API에 대한 액세스 제어 단원을 참조하십시오.

HTTP API 및 WebSocket API 리소스

Resource ARN

AccessLogSettings

arn:partition:apigateway:region::/apis/api-id/stages/stage-name/accesslogsettings

Api

arn:partition:apigateway:region::/apis/api-id

Apis

arn:partition:apigateway:region::/apis

ApiMapping

arn:partition:apigateway:region::/domainnames/domain-name/apimappings/id

ApiMappings

arn:partition:apigateway:region::/domainnames/domain-name/apimappings

권한 부여자

arn:partition:apigateway:region::/apis/api-id/authorizers/id

권한 부여자

arn:partition:apigateway:region::/apis/api-id/authorizers

Cors

arn:partition:apigateway:region::/apis/api-id/cors

배포

arn:partition:apigateway:region::/apis/api-id/deployments/id

배포

arn:partition:apigateway:region::/apis/api-id/deployments

DomainName

arn:partition:apigateway:region::/domainnames/domain-name

DomainNames

arn:partition:apigateway:region::/domainnames

ExportedAPI

arn:partition:apigateway:region::/apis/api-id/exports/specification

통합

arn:partition:apigateway:region::/apis/api-id/integrations/integration-id

통합

arn:partition:apigateway:region::/apis/api-id/integrations

IntegrationResponse

arn:partition:apigateway:region::/apis/api-id/integrationresponses/integration-response

IntegrationResponses

arn:partition:apigateway:region::/apis/api-id/integrationresponses

모델

arn:partition:apigateway:region::/apis/api-id/models/id

모델

arn:partition:apigateway:region::/apis/api-id/models

ModelTemplate

arn:partition:apigateway:region::/apis/api-id/models/id/template

경로

arn:partition:apigateway:region::/apis/api-id/routes/id

경로

arn:partition:apigateway:region::/apis/api-id/routes

RouteRequestParameter

arn:partition:apigateway:region::/apis/api-id/routes/id/requestparameters/key

RouteResponse

arn:partition:apigateway:region::/apis/api-id/routes/id/routeresponses/id

RouteResponses

arn:partition:apigateway:region::/apis/api-id/routes/id/routeresponses

RouteSettings

arn:partition:apigateway:region::/apis/api-id/stages/stage-name/routesettings/route-key

단계

arn:partition:apigateway:region::/apis/api-id/stages/stage-name

Stages

arn:partition:apigateway:region::/apis/api-id/stages

VpcLink

arn:partition:apigateway:region::/vpclinks/vpclink-id

VpcLinks

arn:partition:apigateway:region::/vpclinks

REST API 리소스

Resource ARN

계정

arn:partition:apigateway:region::/account

ApiKey

arn:partition:apigateway:region::/apikeys/id

ApiKeys

arn:partition:apigateway:region::/apikeys

권한 부여자

arn:partition:apigateway:region::/restapis/api-id/authorizers/id

권한 부여자

arn:partition:apigateway:region::/restapis/api-id/authorizers

BasePathMapping

arn:partition:apigateway:region::/domainnames/domain-name/basepathmappings/basepath

BasePathMappings

arn:partition:apigateway:region::/domainnames/domain-name/basepathmappings

ClientCertificate

arn:partition:apigateway:region::/clientcertificates/id

ClientCertificates

arn:partition:apigateway:region::/clientcertificates

배포

arn:partition:apigateway:region::/restapis/api-id/deployments/id

배포

arn:partition:apigateway:region::/restapis/api-id/deployments

DocumentationPart

arn:partition:apigateway:region::/restapis/api-id/documentation/parts/id

DocumentationParts

arn:partition:apigateway:region::/restapis/api-id/documentation/parts

DocumentationVersion

arn:partition:apigateway:region::/restapis/api-id/documentation/versions/version

DocumentationVersions

arn:partition:apigateway:region::/restapis/api-id/documentation/versions

DomainName

arn:partition:apigateway:region::/domainnames/domain-name

DomainNames

arn:partition:apigateway:region::/domainnames

GatewayResponse

arn:partition:apigateway:region::/restapis/api-id/gatewayresponses/response-type

GatewayResponses

arn:partition:apigateway:region::/restapis/api-id/gatewayresponses

통합

arn:partition:apigateway:region::/restapis/api-id/resources/resource-id/methods/http-method/integration

IntegrationResponse

arn:partition:apigateway:region::/restapis/api-id/resources/resource-id/methods/http-method/integration/responses/status-code

메서드

arn:partition:apigateway:region::/restapis/api-id/resources/resource-id/methods/http-method

MethodResponse

arn:partition:apigateway:region::/restapis/api-id/resources/resource-id/methods/http-method/responses/status-code

모델

arn:partition:apigateway:region::/restapis/api-id/models/model-name

모델

arn:partition:apigateway:region::/restapis/api-id/models

RequestValidator

arn:partition:apigateway:region::/restapis/api-id/requestvalidators/id

RequestValidators

arn:partition:apigateway:region::/restapis/api-id/requestvalidators

Resource

arn:partition:apigateway:region::/restapis/api-id/resources/id

리소스

arn:partition:apigateway:region::/restapis/api-id/resources

RestApi

arn:partition:apigateway:region::/restapis/api-id

RestApis

arn:partition:apigateway:region::/restapis

단계

arn:partition:apigateway:region::/restapis/api-id/stages/stage-name

Stages

arn:partition:apigateway:region::/restapis/api-id/stages

Tags

arn:partition:apigateway:region::/tags/url-encoded-resource-arn

템플릿

arn:partition:apigateway:region::/restapis/models/model-name/template

UsagePlan

arn:partition:apigateway:region::/usageplans/usageplan-id

UsagePlans

arn:partition:apigateway:region::/usageplans

UsagePlanKey

arn:partition:apigateway:region::/usageplans/usageplan-id/keys/id

UsagePlanKeys

arn:partition:apigateway:region::/usageplans/usageplan-id/keys

VpcLink

arn:partition:apigateway:region::/vpclinks/vpclink-id

VpcLinks

arn:partition:apigateway:region::/vpclinks

execute-api(HTTP API, WebSocket API 및 REST API)

Resource ARN

WebSocket API 엔드포인트

arn:partition:execute-api:region:account-id:api-id/stage/route-key

HTTP API 및 REST API 엔드포인트*

arn:partition:execute-api:region:account-id:api-id/stage/http-method/resource-path

Lambda 권한 부여자**

arn:partition:execute-api:region:account-id:api-id/authorizers/authorizer-id

* HTTP API용 $default 라우팅 엔드포인트의 ARN은 arn:partition:execute-api:region:account-id:api-id/*/$default입니다.

** 이 ARN은 Lambda 권한 부여자 함수에 대한 리소스 정책에서 SourceArn 조건을 설정할 때만 적용됩니다. 관련 예제는 Lambda 권한 부여자 만들기 섹션을 참조하세요