elasticloadbalancing:GetResourcePolicy is a Read access-level action in the elasticloadbalancing service. Grants permission to retrieve the resource policy associated with the resource
ARNs that elasticloadbalancing:GetResourcePolicy can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants elasticloadbalancing:GetResourcePolicy.
Filters access by a tag key and value pair of a resource
Filters access by the preface string for a tag key and value pair that are attached to a resource
A minimal policy that allows elasticloadbalancing:GetResourcePolicy. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowElasticloadbalancingGetResourcePolicy",
"Effect": "Allow",
"Action": "elasticloadbalancing:GetResourcePolicy",
"Resource": "*"
}
]
}