本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。
API Gateway Amazon Resource Name (ARN) 參考資料
下表列出 API Gateway 資源的 Amazon Resource Name (ARN)。若要進一步了解在 AWS Identity and Access Management 政策中使用 ARN 的詳細資訊,請參閱 Amazon API Gateway 與 IAM 搭配運作的方式 和 使用 IAM 許可權控制 REST API 的存取。
HTTP API 和 WebSocket API 資源
| 資源 | ARN | 
|---|---|
| AccessLogSettings | 
 | 
| Api | 
 | 
| Apis | 
 | 
| 授權方 | 
 | 
| Authorizers | 
 | 
| Cors | 
 | 
| 部署 | 
 | 
| 部署 | 
 | 
| ExportedAPI | 
 | 
| 整合 | 
 | 
| 整合 | 
 | 
| IntegrationResponse | 
 | 
| IntegrationResponses | 
 | 
| 模型 | 
 | 
| 模型 | 
 | 
| ModelTemplate | 
 | 
| 路由 | 
 | 
| 路由 | 
 | 
| RouteRequestParameter | 
 | 
| RouteResponse | 
 | 
| RouteResponses | 
 | 
| RouteSettings | 
 | 
| 階段 | 
 | 
| 階段 | 
 | 
| VpcLink | 
 | 
| VpcLinks | 
 | 
REST API 資源
| 資源 | ARN | 
|---|---|
| 帳戶 | 
 | 
| ApiKey | 
 | 
| ApiKeys | 
 | 
| 授權方 | 
 | 
| Authorizers | 
 | 
| ClientCertificate | 
 | 
| ClientCertificates | 
 | 
| 部署 | 
 | 
| 部署 | 
 | 
| DocumentationPart | 
 | 
| DocumentationParts | 
 | 
| DocumentationVersion | 
 | 
| DocumentationVersions | 
 | 
| GatewayResponse | 
 | 
| GatewayResponses | 
 | 
| 整合 | 
 | 
| IntegrationResponse | 
 | 
| 方法 | 
 | 
| MethodResponse | 
 | 
| 模型 | 
 | 
| 模型 | 
 | 
| RequestValidator | 
 | 
| RequestValidators | 
 | 
| 資源 | 
 | 
| 資源 | 
 | 
| RestApi | 
 | 
| RestApis | 
 | 
| 階段 | 
 | 
| 階段 | 
 | 
| 標籤 | 
 | 
| 範本 | 
 | 
| UsagePlan | 
 | 
| UsagePlans | 
 | 
| UsagePlanKey | 
 | 
| UsagePlanKeys | 
 | 
| VpcLink | 
 | 
| VpcLinks | 
 | 
網域名稱資源
| 資源 | ARN | 
|---|---|
| ApiMapping | 
 | 
| ApiMappings | 
 | 
| BasePathMapping | 
 | 
| BasePathMappings | 
 | 
| DomainName | 
 | 
| DomainNameAccessAssociation | 
 | 
| DomainNameAccessAssociations | 
 | 
| DomainNames | 
 | 
| RoutingRule | 
 | 
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 授權方。