elasticloadbalancing:CreateRule

Write

elasticloadbalancing:CreateRule is a Write access-level action in the elasticloadbalancing service. Grants permission to create a rule for the specified listener

Resource types

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

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

Condition keys

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

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

Dependent actions

To use elasticloadbalancing:CreateRule you may also need to grant:

Example IAM policy

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

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

Related actions in elasticloadbalancing

View all elasticloadbalancing actions →