Skip to main content

branches

Retrieves a list of branches in a region

Overview

Namebranches
TypeResource
Descriptionbranches
Idawscc.amplify.branches

Fields

NameDatatypeDescription
arnstring
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
arn
FROM awscc.amplify.branches
WHERE region = 'us-east-1'

Permissions

To operate on the branches resource, the following permissions are required:

Create

amplify:GetBranch,
amplify:CreateBranch,
amplify:TagResource,
codecommit:GetRepository,
codecommit:PutRepositoryTriggers,
codecommit:GetRepositoryTriggers,
s3:GetObject,
s3:GetObjectAcl,
s3:PutObject,
s3:PutObjectAcl,
sns:CreateTopic,
sns:Subscribe,
iam:PassRole

List

amplify:GetBranch,
amplify:ListBranches,
amplify:ListTagsForResource,
iam:PassRole