DEV Community

rudyrana
rudyrana

Posted on

How to write an AWS IAM Policy to set Service Limits

I am new to writing AWS IAM Policies but am asked to write a policy to set a quota limit to 40 for an AWS resource. I am not getting a handle on this so could someone please help and point out what I might be missing or what I need to correct or add?
Not sure what needs to be provisioned as a variable for All Regions, Accounts, and QuotaCode

{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "TestingServiceLimits",
"Effect": "Allow",
"Action": [
"servicequotas:RequestServiceQuotaIncrease"
],
"Resource": "arn:aws:servicequotas:::vpc/*"
},
"QuotaName": "Rules per Network ACL",
"Adjustable": true,
"QuotaArn": "arn:aws:servicequotas:::vpc/"
"Value": 40.0,
"ServiceName": "Amazon Virtual Private Cloud - VPC",
"GlobalQuota": false,
"ServiceCode": "vpc",
"QuotaCode": ""
"Unit": "None"
]
}

Top comments (0)