Reputation: 193
I have created users for my aws root account, is there any way to limit each user usage quota for each service.
for example-
AWS IoT message quota for each user.
EC2 instance type (allow only Free tier).
Thank you.
Upvotes: 1
Views: 313
Reputation: 21
EC2 instance type (allow only Free tier).
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Deny",
"Action": "ec2:RunInstance",
"Resource": "arn:aws:ec2:regionname:Accountid:instance/*",
"Condition": {
"StringNotLike": {
"ec2:InstanceType": "t2.micro"
}
}
}
]
}
Upvotes: 2