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 |
|
阶段 |
|
阶段 |
|
模板 |
|
UsagePlan |
|
UsagePlans |
|
UsagePlanKey |
|
UsagePlanKeys |
|
VpcLink |
|
VpcLinks |
|
execute-api
(HTTP API、WebSocket API 和 REST API)
资源 | ARN |
---|---|
WebSocket API 终端节点 |
|
HTTP API 和 REST API 终端节点 |
|
Lambda 授权方 * |
|
* 此 ARN 仅适用于在资源策略中为 Lambda 授权方函数设置 SourceArn
条件时。有关示例,请参阅创建 Lambda 授权方。