AWSVPCFlowLogsServiceRolePolicy
Last Modified
May 11, 2026
May 11, 2026 at 04:03 PM UTC
Version
v1
Total Versions
1
Created
May 11, 2026
Actions
7
Policy Document
View on GitHub{
"PolicyVersion": {
"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": "*"
}
]
},
"VersionId": "v1",
"IsDefaultVersion": true,
"CreateDate": "2026-05-11T15:57:14+00:00"
}
}Version History (1 recorded)
Raw historyv1new policy
7 actions added