branches
Retrieves a list of branches
in a region
Overview
Name | branches |
Type | Resource |
Description | branches |
Id | awscc.amplify.branches |
Fields
Name | Datatype | Description |
---|---|---|
arn | string | |
region | string | AWS 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