refactor-spaces:ListEnvironmentVpcs

Read

refactor-spaces:ListEnvironmentVpcs is a Read access-level action in the refactor-spaces service. Grants permission to list all the VPCs for the environment

Resource types

ARNs that refactor-spaces:ListEnvironmentVpcs can be scoped to in an IAM policy.

arn:${Partition}:refactor-spaces:${Region}:${Account}:environment/${EnvironmentId}
environment

Condition keys

Keys you can use in the Condition block of a policy that grants refactor-spaces:ListEnvironmentVpcs.

aws:ResourceTag/${TagKey} String

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

Example IAM policy

A minimal policy that allows refactor-spaces:ListEnvironmentVpcs. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowRefactorspacesListEnvironmentVpcs",
      "Effect": "Allow",
      "Action": "refactor-spaces:ListEnvironmentVpcs",
      "Resource": "*"
    }
  ]
}

Related actions in refactor-spaces

View all refactor-spaces actions →