本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。
AWSVPCFlowLogsServiceRolePolicy
描述:提供許可,以控制服務受管資源,並代表客戶呼叫日誌欄位擴充所需的 APIs。
AWSVPCFlowLogsServiceRolePolicy 是 AWS 受管政策。
使用此政策
此政策會連接到服務連結角色,允許服務代表您執行動作。您無法將此政策連接至使用者、群組或角色。
政策詳細資訊
-
類型:服務連結角色政策
-
建立時間:2026 年 5 月 11 日 15:57 UTC
-
編輯時間:2026 年 5 月 11 日 15:57 UTC
-
ARN:
arn:aws:iam::aws:policy/aws-service-role/AWSVPCFlowLogsServiceRolePolicy
政策版本
政策版本: v1 (預設)
政策的預設版本是定義政策許可的版本。當具有 政策的使用者或角色提出存取 AWS 資源的請求時, 會 AWS 檢查政策的預設版本,以決定是否允許請求。
JSON 政策文件
{ "Version" : "2012-10-17", "Statement" : [ { "Sid" : "AllowPutRuleOnSpecificSourcesAndDetailTypes", "Effect" : "Allow", "Action" : "events:PutRule", "Resource" : [ "arn:aws:events:*:*:rule/VPCFlowLogsEC2TagsManagedRule", "arn:aws:events:*:*:rule/VPCFlowLogsASGTagsManagedRule" ], "Condition" : { "ForAllValues:StringEquals" : { "events:source" : [ "aws.tag", "aws.autoscaling" ], "events:detail-type" : [ "AWS API Call via CloudTrail", "Tag Change on Resource" ] }, "Null" : { "events:source" : "false", "events:detail-type" : "false" }, "StringEquals" : { "aws:ResourceAccount" : "${aws:PrincipalAccount}" } } }, { "Sid" : "AllowOtherOperationsOnRulesManagedByVPCFlowLogs", "Effect" : "Allow", "Action" : [ "events:DeleteRule", "events:DescribeRule", "events:PutTargets", "events:RemoveTargets" ], "Resource" : [ "arn:aws:events:*:*:rule/VPCFlowLogsEC2TagsManagedRule", "arn:aws:events:*:*:rule/VPCFlowLogsASGTagsManagedRule" ], "Condition" : { "StringEquals" : { "aws:ResourceAccount" : "${aws:PrincipalAccount}" } } }, { "Sid" : "AllowDescribeTagsOnAllEC2Resources", "Effect" : "Allow", "Action" : [ "tag:GetResources", "autoscaling:DescribeTags" ], "Resource" : "*" } ] }