AWSVPCFlowLogsServiceRolePolicy
Description: Provides permissions to control service managed resources and call APIs necessary for log field enrichment on behalf of customers.
AWSVPCFlowLogsServiceRolePolicy is an AWS managed policy.
Using this policy
This policy is attached to a service-linked role that allows the service to perform actions on your behalf. You cannot attach this policy to your users, groups, or roles.
Policy details
-
Type: Service-linked role policy
-
Creation time: May 11, 2026, 15:57 UTC
-
Edited time: May 11, 2026, 15:57 UTC
-
ARN:
arn:aws:iam::aws:policy/aws-service-role/AWSVPCFlowLogsServiceRolePolicy
Policy version
Policy version: v1 (default)
The policy's default version is the version that defines the permissions for the policy. When a user or role with the policy makes a request to access an AWS resource, AWS checks the default version of the policy to determine whether to allow the request.
JSON policy document
{ "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" : "*" } ] }