Menu
AWS Identity and Access Management
User Guide

Actions and Condition Context Keys for Amazon EC2

Amazon EC2 provides the following service-specific actions and condition context keys for use in IAM policies.

Actions for Amazon EC2

For information about using the following Amazon EC2 API actions in an IAM policy, see Actions for Amazon EC2 in the Amazon EC2 User Guide for Linux Instances.

Condition context keys for Amazon EC2

For information about using the following Amazon EC2 conditions in an IAM policy, see Condition Keys for Amazon EC2 in the Amazon EC2 User Guide for Linux Instances.

Amazon EC2 has the following service-specific context keys that can be used in an IAM policy. For the list of the global condition context keys that are available to all services, see Global Condition Keys in the IAM Policy Elements Reference.

  • ec2:AccepterVpc

  • ec2:AvailabilityZone

  • ec2:EbsOptimized

  • ec2:ImageType

  • ec2:InstanceProfile

  • ec2:InstanceType

  • ec2:Owner

  • ec2:ParentSnapshot

  • ec2:PlacementGroup

  • ec2:PlacementGroupStrategy

  • ec2:Public

  • ec2:Region

  • ec2:RequesterVpc

  • ec2:ResourceTag

  • ec2:RootDeviceType

  • ec2:Subnet

  • ec2:Tenancy

  • ec2:VolumeIops

  • ec2:VolumeSize

  • ec2:VolumeType

  • ec2:Vpc