elasticloadbalancing:ModifyRule

Write

elasticloadbalancing:ModifyRule is a Write access-level action in the elasticloadbalancing service. Grants permission to modify the specified rule

Resource types

ARNs that elasticloadbalancing:ModifyRule can be scoped to in an IAM policy.

arn:${Partition}:elasticloadbalancing:${Region}:${Account}:listener-rule/app/${LoadBalancerName}/${LoadBalancerId}/${ListenerId}/${ListenerRuleId}
listener-rule/app
arn:${Partition}:elasticloadbalancing:${Region}:${Account}:listener-rule/net/${LoadBalancerName}/${LoadBalancerId}/${ListenerId}/${ListenerRuleId}
listener-rule/net

Condition keys

Keys you can use in the Condition block of a policy that grants elasticloadbalancing:ModifyRule.

aws:ResourceTag/${TagKey} String

Filters access by a tag key and value pair of a resource

elasticloadbalancing:ResourceTag/${TagKey} String

Filters access by the preface string for a tag key and value pair that are attached to a resource

Example IAM policy

A minimal policy that allows elasticloadbalancing:ModifyRule. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowElasticloadbalancingModifyRule",
      "Effect": "Allow",
      "Action": "elasticloadbalancing:ModifyRule",
      "Resource": "*"
    }
  ]
}

Related actions in elasticloadbalancing

View all elasticloadbalancing actions →