We are excited to announce our new API Documentation.
Protected
The unique ID for an Amplify app.
Optional
backendThe Amazon Resource Name (ARN) for a backend environment that is part of an Amplify app.
Optional
basic The basic authorization credentials for the branch. You must base64-encode the
authorization credentials and provide them in the format
user:password
.
The name for the branch.
Optional
buildThe build specification (build spec) for the branch.
Optional
descriptionThe description for the branch.
Optional
displayThe display name for a branch. This is used as the default domain prefix.
Optional
enableEnables auto building for the branch.
Optional
enableEnables basic authorization for the branch.
Optional
enableEnables notifications for the branch.
Optional
enableEnables performance mode for the branch.
Performance mode optimizes for faster hosting performance by keeping content cached at the edge for a longer interval. When performance mode is enabled, hosting configuration or code changes can take up to 10 minutes to roll out.
Optional
enableEnables pull request previews for this branch.
Optional
environmentThe environment variables for the branch.
Optional
frameworkThe framework for the branch.
Optional
pullThe Amplify environment name for the pull request.
Optional
stageDescribes the current stage for the branch.
Optional
tagsThe tag for the branch.
Optional
ttlThe content Time To Live (TTL) for the website in seconds.
The input for CreateBranchCommand.