refactor-spaces:GetRoute

Read

refactor-spaces:GetRoute is a Read access-level action in the refactor-spaces service. Grants permission to get more information about a route

Resource types

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

arn:${Partition}:refactor-spaces:${Region}:${Account}:environment/${EnvironmentId}/application/${ApplicationId}/route/${RouteId}
route

Condition keys

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

aws:ResourceTag/${TagKey} String

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

refactor-spaces:ApplicationCreatedByAccount String

Filters access by restricting the action to only those accounts that created the application within an environment

refactor-spaces:CreatedByAccountIds ArrayOfString

Filters access by the accounts that created the resource

refactor-spaces:RouteCreatedByAccount String

Filters access by restricting the action to only those accounts that created the route within an application

refactor-spaces:ServiceCreatedByAccount String

Filters access by restricting the action to only those accounts that created the service within an application

refactor-spaces:SourcePath String

Filters access by the path of the route

Example IAM policy

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

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

Related actions in refactor-spaces

View all refactor-spaces actions →