amplify:CreateBranch

Write

amplify:CreateBranch is a Write access-level action in the amplify service. Grants permission to create a new Branch for an Amplify App

Resource types

ARNs that amplify:CreateBranch 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:CreateBranch.

aws:ResourceTag/${TagKey} String

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

Example IAM policy

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

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

Related actions in amplify

View all amplify actions →