本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。
API Gateway Amazon 资源名称 (ARN) 参考
下表列出 API Gateway 资源的 Amazon 资源名称 (ARN)。要了解有关在 Amazon Identity and Access Management 策略中使用 ARN 的更多信息,请参阅Amazon API Gateway 如何与 IAM 配合使用和使用 IAM 权限控制对 API 的访问。
HTTP API 和 WebSocket API 资源
资源 | ARN |
---|---|
AccessLogSettings |
|
API |
|
Api |
|
ApiMapping |
|
ApiMappings |
|
授权方 |
|
授权方 |
|
Cors |
|
部署 |
|
部署 |
|
DomainName |
|
DomainNames |
|
ExportedAPI |
|
集成 |
|
集成 |
|
IntegrationResponse |
|
IntegrationResponses |
|
模型 |
|
模型 |
|
ModelTemplate |
|
路由 |
|
路线 |
|
RouteRequestParameter |
|
RouteResponse |
|
RouteResponses |
|
RouteSettings |
|
舞台 |
|
阶段 |
|
VpcLink |
|
VpcLinks |
|
Rest API 资源 ID
资源 | ARN |
---|---|
账户 |
|
ApiKey |
|
ApiKeys |
|
授权方 |
|
授权方 |
|
BasePathMapping |
|
BasePathMappings |
|
ClientCertificate |
|
ClientCertificates |
|
部署 |
|
部署 |
|
DocumentationPart |
|
DocumentationParts |
|
DocumentationVersion |
|
DocumentationVersions |
|
DomainName |
|
DomainNames |
|
GatewayResponse |
|
GatewayResponses |
|
集成 |
|
IntegrationResponse |
|
方法 |
|
MethodResponse |
|
模型 |
|
模型 |
|
RequestValidator |
|
RequestValidators |
|
资源 |
|
资源 |
|
RestApi |
|
RestApis |
|
舞台 |
|
阶段 |
|
Tags |
|
模板 |
|
UsagePlan |
|
UsagePlans |
|
UsagePlanKey |
|
UsagePlanKeys |
|
VpcLink |
|
VpcLinks |
|
execute-api
(HTTP API、WebSocket API 和 REST API)
资源 | ARN |
---|---|
WebSocket API 终端节点 |
|
HTTP API 和 REST API 端点 * |
|
Lambda 授权方 ** |
|
* HTTP API 的 $default
路由端点的 ARN 是 arn:
。partition
:execute-api:region
:account-id
:api-id
/*
/$default
** 此 ARN 仅在资源策略中为 Lambda 授权方函数设置 SourceArn
条件时适用。有关示例,请参阅 创建 Lambda 授权方。