aws amplify create-branch
Creates a new branch for an Amplify app
Options
Name | Description |
---|---|
--app-id <string> | The unique ID for an Amplify app |
--branch-name <string> | The name for the branch |
--description <string> | The description for the branch |
--stage <string> | Describes the current stage for the branch |
--framework <string> | The framework for the branch |
--enable-notification | Enables notifications for the branch |
--no-enable-notification | Enables notifications for the branch |
--enable-auto-build | Enables auto building for the branch |
--no-enable-auto-build | Enables auto building for the branch |
--environment-variables <map> | The environment variables for the branch |
--basic-auth-credentials <string> | The basic authorization credentials for the branch |
--enable-basic-auth | Enables basic authorization for the branch |
--no-enable-basic-auth | Enables basic authorization for the branch |
--enable-performance-mode | Enables 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 |
--no-enable-performance-mode | Enables 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 |
--tags <map> | The tag for the branch |
--build-spec <string> | The build specification (build spec) for the branch |
--ttl <string> | The content Time To Live (TTL) for the website in seconds |
--display-name <string> | The display name for a branch. This is used as the default domain prefix |
--enable-pull-request-preview | Enables pull request previews for this branch |
--no-enable-pull-request-preview | Enables pull request previews for this branch |
--pull-request-environment-name <string> | The Amplify environment name for the pull request |
--backend-environment-arn <string> | The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify app |
--cli-input-json <string> | Performs service operation based on the JSON string provided. The JSON string follows the format provided by ``--generate-cli-skeleton``. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally |
--generate-cli-skeleton <string> | Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value ``input``, prints a sample input JSON that can be used as an argument for ``--cli-input-json``. If provided with the value ``output``, it validates the command inputs and returns a sample output JSON for that command |