AWS SDK Version 3 for .NET
API Reference

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.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.Amplify.AmazonAmplifyRequest
      Amazon.Amplify.Model.UpdateBranchRequest

Namespace: Amazon.Amplify.Model
Assembly: AWSSDK.Amplify.dll
Version: 3.x.y.z

Syntax

C#
public class UpdateBranchRequest : AmazonAmplifyRequest
         IAmazonWebServiceRequest

The UpdateBranchRequest type exposes the following members

Constructors

NameDescription
Public Method UpdateBranchRequest()

Properties

NameTypeDescription
Public Property AppId System.String

Gets and sets the property AppId.

The unique ID for an Amplify app.

Public Property Backend Amazon.Amplify.Model.Backend

Gets and sets the property Backend.

The backend for a Branch of an Amplify app. Use for a backend created from an CloudFormation stack.

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.

Public Property 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).

Public Property 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 user:password.

Public Property BranchName System.String

Gets and sets the property BranchName.

The name of the branch.

Public Property BuildSpec System.String

Gets and sets the property BuildSpec.

The build specification (build spec) for the branch.

Public Property 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.

Public Property Description System.String

Gets and sets the property Description.

The description for the branch.

Public Property DisplayName System.String

Gets and sets the property DisplayName.

The display name for a branch. This is used as the default domain prefix.

Public Property EnableAutoBuild System.Boolean

Gets and sets the property EnableAutoBuild.

Enables auto building for the branch.

Public Property EnableBasicAuth System.Boolean

Gets and sets the property EnableBasicAuth.

Enables basic authorization for the branch.

Public Property EnableNotification System.Boolean

Gets and sets the property EnableNotification.

Enables notifications for the branch.

Public Property 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.

Public Property EnablePullRequestPreview System.Boolean

Gets and sets the property EnablePullRequestPreview.

Enables pull request previews for this branch.

Public Property EnvironmentVariables System.Collections.Generic.Dictionary<System.String, System.String>

Gets and sets the property EnvironmentVariables.

The environment variables for the branch.

Public Property Framework System.String

Gets and sets the property Framework.

The framework for the branch.

Public Property PullRequestEnvironmentName System.String

Gets and sets the property PullRequestEnvironmentName.

The Amplify environment name for the pull request.

Public Property Stage Amazon.Amplify.Stage

Gets and sets the property Stage.

Describes the current stage for the branch.

Public Property Ttl System.String

Gets and sets the property Ttl.

The content Time to Live (TTL) for the website in seconds.

Version Information

.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