amplify:GetBranch

Read

amplify:GetBranch is a Read access-level action in the amplify service. Grants permission to retrieve a branch for an Amplify App

Resource types

ARNs that amplify:GetBranch can be scoped to in an IAM policy.

arn:${Partition}:amplify:${Region}:${Account}:apps/${AppId}/branches/${BranchName}
branches

Condition keys

Keys you can use in the Condition block of a policy that grants amplify:GetBranch.

aws:ResourceTag/${TagKey} String

Filters access by a tag's key associated with the resource

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowAmplifyGetBranch",
      "Effect": "Allow",
      "Action": "amplify:GetBranch",
      "Resource": "*"
    }
  ]
}

Related actions in amplify

View all amplify actions →