Skip to main content
IAM Policy Map

AWSVPCFlowLogsServiceRolePolicy

OperatorService-linked roleActivePermissions reviewedShow on mapCompare

Summary

Provides permissions to control service managed resources and call APIs necessary for log field enrichment on behalf of customers.

Permissions imported from the AWS Managed Policy Reference Guide; other sections pending editorial review.

Identity

ARN
arn:aws:iam::aws:policy/aws-service-role/AWSVPCFlowLogsServiceRolePolicy
Default version
v1
Created
Last edited
Services
autoscaling, events, tag

Control-plane actions (7)

By access level: 3 Read, 4 Write.

Control-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
EC2 Auto Scaling1 of 681 Read; 0 restricted, 0 conditionalautoscaling:DescribeTags
EventBridge5 of 711 Read, 4 Write; 5 restricted, 5 conditionalevents:DeleteRule, events:DescribeRule, events:PutRule, events:PutTargets, events:RemoveTargets
Resource Group Tagging1 of 91 Read; 0 restricted, 0 conditionaltag:GetResources
EC2 Auto Scaling: 1 actions
  • autoscaling:DescribeTags (Read)
EventBridge: 5 actions
  • events:DeleteRule (Write)
  • events:DescribeRule (Read)
  • events:PutRule (Write)
  • events:PutTargets (Write)
  • events:RemoveTargets (Write)
Resource Group Tagging: 1 actions
  • tag:GetResources (Read)

Data-plane actions (0)

By access level: none.

This policy grants no actions in this plane.

Excluded and conditional actions

No patterns are excluded by NotAction or Deny statements.

Resource scope and attachment

Resource scope across granted actions: mixed.

Can be attached: No (service-linked role policy).

Why this tier

  • Grants 4 write, tagging or permissions-management actions, short of full control of any service.

Guidance

Pending editorial review. The permission data on this page comes straight from AWS; this section will be filled in once a reviewed guide exists.

Same service

Same domain

Frequently asked questions

Pending editorial review. The permission data on this page comes straight from AWS; this section will be filled in once a reviewed guide exists.

Policy JSON

Download policy.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": "*"
    }
  ]
}

Version history

Current version v1, edited by AWS on 2026-05-11. Version history is recorded from 2026-11-11. Earlier versions are in the IAM console under Policy versions.

Attach snippets

This policy cannot be attached to users, groups or roles, so there are no attach snippets.

Sources

Pending editorial review. No editorial sources are listed yet.