选择您的 Cookie 首选项

我们使用必要 Cookie 和类似工具提供我们的网站和服务。我们使用性能 Cookie 收集匿名统计数据,以便我们可以了解客户如何使用我们的网站并进行改进。必要 Cookie 无法停用,但您可以单击“自定义”或“拒绝”来拒绝性能 Cookie。

如果您同意,AWS 和经批准的第三方还将使用 Cookie 提供有用的网站功能、记住您的首选项并显示相关内容,包括相关广告。要接受或拒绝所有非必要 Cookie,请单击“接受”或“拒绝”。要做出更详细的选择,请单击“自定义”。

APIGatewayServiceRolePolicy - AWS 托管策略

本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。

本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。

APIGatewayServiceRolePolicy

描述:允许 API Gateway 代表客户管理关联的 AWS 资源。

APIGatewayServiceRolePolicy 是一项 AWS 托管式策略

使用此策略

此附加到服务相关角色的策略允许服务代表您执行操作。您无法将此策略附加到您的用户、组或角色。

策略详细信息

  • 类型:服务相关角色策略

  • 创建时间:2017 年 10 月 20 日 17:23 UTC

  • 编辑时间:2021 年 7 月 12 日 22:24 UTC

  • ARN: arn:aws:iam::aws:policy/aws-service-role/APIGatewayServiceRolePolicy

策略版本

策略版本:v9(默认)

此策略的默认版本是定义策略权限的版本。当使用该策略的用户或角色请求访问 AWS 资源时,AWS 会检查策略的默认版本以确定是否允许该请求。

JSON 策略文档

{ "Version" : "2012-10-17", "Statement" : [ { "Effect" : "Allow", "Action" : [ "elasticloadbalancing:AddListenerCertificates", "elasticloadbalancing:RemoveListenerCertificates", "elasticloadbalancing:ModifyListener", "elasticloadbalancing:DescribeListeners", "elasticloadbalancing:DescribeLoadBalancers", "xray:PutTraceSegments", "xray:PutTelemetryRecords", "xray:GetSamplingTargets", "xray:GetSamplingRules", "logs:CreateLogDelivery", "logs:GetLogDelivery", "logs:UpdateLogDelivery", "logs:DeleteLogDelivery", "logs:ListLogDeliveries", "servicediscovery:DiscoverInstances" ], "Resource" : [ "*" ] }, { "Effect" : "Allow", "Action" : [ "firehose:DescribeDeliveryStream", "firehose:PutRecord", "firehose:PutRecordBatch" ], "Resource" : "arn:aws:firehose:*:*:deliverystream/amazon-apigateway-*" }, { "Effect" : "Allow", "Action" : [ "acm:DescribeCertificate", "acm:GetCertificate" ], "Resource" : "arn:aws:acm:*:*:certificate/*" }, { "Effect" : "Allow", "Action" : "ec2:CreateNetworkInterfacePermission", "Resource" : "arn:aws:ec2:*:*:network-interface/*" }, { "Effect" : "Allow", "Action" : "ec2:CreateTags", "Resource" : "arn:aws:ec2:*:*:network-interface/*", "Condition" : { "ForAllValues:StringEquals" : { "aws:TagKeys" : [ "Owner", "VpcLinkId" ] } } }, { "Effect" : "Allow", "Action" : [ "ec2:ModifyNetworkInterfaceAttribute", "ec2:DeleteNetworkInterface", "ec2:AssignPrivateIpAddresses", "ec2:CreateNetworkInterface", "ec2:DeleteNetworkInterfacePermission", "ec2:DescribeNetworkInterfaces", "ec2:DescribeAvailabilityZones", "ec2:DescribeNetworkInterfaceAttribute", "ec2:DescribeVpcs", "ec2:DescribeNetworkInterfacePermissions", "ec2:UnassignPrivateIpAddresses", "ec2:DescribeSubnets", "ec2:DescribeRouteTables", "ec2:DescribeSecurityGroups" ], "Resource" : "*" }, { "Effect" : "Allow", "Action" : "servicediscovery:GetNamespace", "Resource" : "arn:aws:servicediscovery:*:*:namespace/*" }, { "Effect" : "Allow", "Action" : "servicediscovery:GetService", "Resource" : "arn:aws:servicediscovery:*:*:service/*" } ] }

了解更多信息

隐私网站条款Cookie 首选项
© 2025, Amazon Web Services, Inc. 或其附属公司。保留所有权利。