opsworks:AssociateElasticIp

Write

opsworks:AssociateElasticIp is a Write access-level action in the opsworks service. Grants permission to associate one of the stack's registered Elastic IP addresses with a specified instance

Resource types

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

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

Related actions in opsworks

View all opsworks actions →