opsworks:DetachElasticLoadBalancer

Write

opsworks:DetachElasticLoadBalancer is a Write access-level action in the opsworks service. Grants permission to detache a specified Elastic Load Balancing instance from its layer

Resource types

ARNs that opsworks:DetachElasticLoadBalancer can be scoped to in an IAM policy.

arn:${Partition}:opsworks:${Region}:${Account}:stack/${StackId}/
stack

Condition keys

No condition keys are documented for this action.

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowOpsworksDetachElasticLoadBalancer",
      "Effect": "Allow",
      "Action": "opsworks:DetachElasticLoadBalancer",
      "Resource": "*"
    }
  ]
}

Related actions in opsworks

View all opsworks actions →