AWS::Amplify::BranchThe AWS::Amplify::Branch resource creates a new branch within an app.
16 configurable properties. 2 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
AppId | string | RequiredCreate-only |
BranchName | string | RequiredCreate-only |
Backend | Backend | |
BasicAuthConfig | BasicAuthConfig | Write-only |
BuildSpec | string | |
ComputeRoleArn | string | |
Description | string | |
EnableAutoBuild | boolean | |
EnablePerformanceMode | boolean | |
EnablePullRequestPreview | boolean | |
EnableSkewProtection | boolean | |
EnvironmentVariables | Array<EnvironmentVariable> | |
Framework | string | |
PullRequestEnvironmentName | string | |
Stage | string | |
Tags | Array<Tag> |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
Arn | string | - |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::Amplify::Branch
Resources:
MyResource:
Type: AWS::Amplify::Branch
Properties:
AppId: "my-appid"
BranchName: "my-branchname"
Tags:
- Key: Environment
Value: Production
Description: !Ref "AWS::StackName"Permissions CloudFormation needs in your IAM role to manage this resource.
amplify:GetBranchamplify:CreateBranchamplify:TagResourcecodecommit:GetRepositorycodecommit:PutRepositoryTriggerscodecommit:GetRepositoryTriggerss3:GetObjects3:GetObjectAclamplify:GetBranchamplify:DeleteBranchcodecommit:GetRepositorycodecommit:GetRepositoryTriggerssns:Unsubscribeiam:PassRoleamplify:GetBranchamplify:ListBranchesamplify:ListTagsForResourceiam:PassRoleamplify:GetBranchamplify:ListTagsForResourcecodecommit:GetRepositorycodecommit:GetRepositoryTriggerss3:GetObjects3:GetObjectAcliam:PassRoleamplify:GetBranchamplify:UpdateBranchamplify:ListTagsForResourceamplify:TagResourceamplify:UntagResourcecodecommit:GetRepositorycodecommit:PutRepositoryTriggerscodecommit:GetRepositoryTriggersOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterArnThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
AppIdBranchName