API Gateway Amazon 资源名称 (ARN) 参考 - Amazon API Gateway
AWS 文档中描述的 AWS 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅中国的 AWS 服务入门

API Gateway Amazon 资源名称 (ARN) 参考

下表列出 API Gateway 资源的 Amazon 资源名称 (ARN)。要了解有关在 AWS Identity and Access Management 策略中使用 ARN 的更多信息,请参阅Amazon API Gateway 如何与 IAM 协同工作使用 IAM 许可控制对 API 的访问

HTTP API 和 WebSocket API 资源

资源 进行筛选

AccessLogSettings

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

API

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

Api

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

Deployment

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 资源

资源 进行筛选

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

Deployment

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

Method

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

模板

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

VpcLink

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

VpcLinks

arn:partition:apigateway:region::/vpclinks

execute-api(HTTP API、WebSocket API 和 REST API 终端节点)

资源 进行筛选

HTTP API 和 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