connect:ListPhoneNumbersV2

List

connect:ListPhoneNumbersV2 is a List access-level action in the connect service. Grants permission to list phone number resources in an Amazon Connect instance

Resource types

ARNs that connect:ListPhoneNumbersV2 can be scoped to in an IAM policy.

arn:${Partition}:connect:${Region}:${Account}:phone-number/ required
wildcard-phone-number

Condition keys

Keys you can use in the Condition block of a policy that grants connect:ListPhoneNumbersV2.

aws:ResourceTag/${TagKey} String

Filters access by using tag key-value pairs attached to the resource

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowConnectListPhoneNumbersV2",
      "Effect": "Allow",
      "Action": "connect:ListPhoneNumbersV2",
      "Resource": "*"
    }
  ]
}

Related actions in connect

View all connect actions →