elasticloadbalancing:CreateLBCookieStickinessPolicy

Write

elasticloadbalancing:CreateLBCookieStickinessPolicy is a Write access-level action in the elasticloadbalancing service. Grants permission to generate a stickiness policy with sticky session lifetimes controlled by the lifetime of the browser (user-agent) or a specified expiration period

Resource types

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

arn:${Partition}:elasticloadbalancing:${Region}:${Account}:loadbalancer/${LoadBalancerName}
loadbalancer

Condition keys

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

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:CreateLBCookieStickinessPolicy. Replace "Resource": "*" with a specific ARN to follow least privilege.

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

Related actions in elasticloadbalancing

View all elasticloadbalancing actions →