A SysOps administrator needs to provide a user with the ability to launch EC2 instances but only of type t2.micro. Which IAM policy condition should be used?

Answer

Condition: StringEquals: ec2:InstanceType: t2.micro

Explanation

The ec2:InstanceType condition key can be used with StringEquals to restrict the instance type to t2.micro.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error
QuestionBack to list