opsworks:ListTags

List

opsworks:ListTags is a List access-level action in the opsworks service. Grants permission to return a list of tags that are applied to the specified stack or layer

Resource types

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

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

Related actions in opsworks

View all opsworks actions →