AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the UpdateBranch operation. Updates a branch for an Amplify app.
Namespace: Amazon.Amplify.Model
Assembly: AWSSDK.Amplify.dll
Version: 3.x.y.z
public class UpdateBranchRequest : AmazonAmplifyRequest IAmazonWebServiceRequest
The UpdateBranchRequest type exposes the following members
Name | Description | |
---|---|---|
![]() |
UpdateBranchRequest() |
Name | Type | Description | |
---|---|---|---|
![]() |
AppId | System.String |
Gets and sets the property AppId. The unique ID for an Amplify app. |
![]() |
Backend | Amazon.Amplify.Model.Backend |
Gets and sets the property Backend.
The backend for a This field is available to Amplify Gen 2 apps only. When you deploy an application with Amplify Gen 2, you provision the app's backend infrastructure using Typescript code. |
![]() |
BackendEnvironmentArn | System.String |
Gets and sets the property BackendEnvironmentArn. The Amazon Resource Name (ARN) for a backend environment that is part of a Gen 1 Amplify app. This field is available to Amplify Gen 1 apps only where the backend is created using Amplify Studio or the Amplify command line interface (CLI). |
![]() |
BasicAuthCredentials | System.String |
Gets and sets the property BasicAuthCredentials.
The basic authorization credentials for the branch. You must base64-encode the authorization
credentials and provide them in the format |
![]() |
BranchName | System.String |
Gets and sets the property BranchName. The name of the branch. |
![]() |
BuildSpec | System.String |
Gets and sets the property BuildSpec. The build specification (build spec) for the branch. |
![]() |
ComputeRoleArn | System.String |
Gets and sets the property ComputeRoleArn. The Amazon Resource Name (ARN) of the IAM role to assign to a branch of an SSR app. The SSR Compute role allows the Amplify Hosting compute service to securely access specific Amazon Web Services resources based on the role's permissions. For more information about the SSR Compute role, see Adding an SSR Compute role in the Amplify User Guide. |
![]() |
Description | System.String |
Gets and sets the property Description. The description for the branch. |
![]() |
DisplayName | System.String |
Gets and sets the property DisplayName. The display name for a branch. This is used as the default domain prefix. |
![]() |
EnableAutoBuild | System.Boolean |
Gets and sets the property EnableAutoBuild. Enables auto building for the branch. |
![]() |
EnableBasicAuth | System.Boolean |
Gets and sets the property EnableBasicAuth. Enables basic authorization for the branch. |
![]() |
EnableNotification | System.Boolean |
Gets and sets the property EnableNotification. Enables notifications for the branch. |
![]() |
EnablePerformanceMode | System.Boolean |
Gets and sets the property EnablePerformanceMode. 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. |
![]() |
EnablePullRequestPreview | System.Boolean |
Gets and sets the property EnablePullRequestPreview. Enables pull request previews for this branch. |
![]() |
EnvironmentVariables | System.Collections.Generic.Dictionary<System.String, System.String> |
Gets and sets the property EnvironmentVariables. The environment variables for the branch. |
![]() |
Framework | System.String |
Gets and sets the property Framework. The framework for the branch. |
![]() |
PullRequestEnvironmentName | System.String |
Gets and sets the property PullRequestEnvironmentName. The Amplify environment name for the pull request. |
![]() |
Stage | Amazon.Amplify.Stage |
Gets and sets the property Stage. Describes the current stage for the branch. |
![]() |
Ttl | System.String |
Gets and sets the property Ttl. The content Time to Live (TTL) for the website in seconds. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5