Class: Aws::Amplify::Types::Branch

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb

Overview

The branch for an Amplify app, which maps to a third-party repository branch.

Constant Summary collapse

SENSITIVE =
[:basic_auth_credentials, :build_spec]

Instance Attribute Summary collapse

Instance Attribute Details

#active_job_id ⇒ String

The ID of the active job for a branch of an Amplify app.

Returns:

  • (String)


538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 538

class Branch < Struct.new(
  :branch_arn,
  :branch_name,
  :description,
  :tags,
  :stage,
  :display_name,
  :enable_notification,
  :create_time,
  :update_time,
  :environment_variables,
  :enable_auto_build,
  :enable_skew_protection,
  :custom_domains,
  :framework,
  :active_job_id,
  :total_number_of_jobs,
  :enable_basic_auth,
  :enable_performance_mode,
  :thumbnail_url,
  :basic_auth_credentials,
  :build_spec,
  :ttl,
  :associated_resources,
  :enable_pull_request_preview,
  :pull_request_environment_name,
  :destination_branch,
  :source_branch,
  :backend_environment_arn,
  :backend,
  :compute_role_arn)
  SENSITIVE = [:basic_auth_credentials, :build_spec]
  include Aws::Structure
end

#associated_resources ⇒ Array<String>

A list of custom resources that are linked to this branch.

Returns:

  • (Array<String>)


538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 538

class Branch < Struct.new(
  :branch_arn,
  :branch_name,
  :description,
  :tags,
  :stage,
  :display_name,
  :enable_notification,
  :create_time,
  :update_time,
  :environment_variables,
  :enable_auto_build,
  :enable_skew_protection,
  :custom_domains,
  :framework,
  :active_job_id,
  :total_number_of_jobs,
  :enable_basic_auth,
  :enable_performance_mode,
  :thumbnail_url,
  :basic_auth_credentials,
  :build_spec,
  :ttl,
  :associated_resources,
  :enable_pull_request_preview,
  :pull_request_environment_name,
  :destination_branch,
  :source_branch,
  :backend_environment_arn,
  :backend,
  :compute_role_arn)
  SENSITIVE = [:basic_auth_credentials, :build_spec]
  include Aws::Structure
end

#backend ⇒ Types::Backend

Describes the backend associated with an Amplify Branch.

This property 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.

Returns:



538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 538

class Branch < Struct.new(
  :branch_arn,
  :branch_name,
  :description,
  :tags,
  :stage,
  :display_name,
  :enable_notification,
  :create_time,
  :update_time,
  :environment_variables,
  :enable_auto_build,
  :enable_skew_protection,
  :custom_domains,
  :framework,
  :active_job_id,
  :total_number_of_jobs,
  :enable_basic_auth,
  :enable_performance_mode,
  :thumbnail_url,
  :basic_auth_credentials,
  :build_spec,
  :ttl,
  :associated_resources,
  :enable_pull_request_preview,
  :pull_request_environment_name,
  :destination_branch,
  :source_branch,
  :backend_environment_arn,
  :backend,
  :compute_role_arn)
  SENSITIVE = [:basic_auth_credentials, :build_spec]
  include Aws::Structure
end

#backend_environment_arn ⇒ String

The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify app.

This property is available to Amplify Gen 1 apps only. When you deploy an application with Amplify Gen 2, you provision the app's backend infrastructure using Typescript code.

Returns:

  • (String)


538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 538

class Branch < Struct.new(
  :branch_arn,
  :branch_name,
  :description,
  :tags,
  :stage,
  :display_name,
  :enable_notification,
  :create_time,
  :update_time,
  :environment_variables,
  :enable_auto_build,
  :enable_skew_protection,
  :custom_domains,
  :framework,
  :active_job_id,
  :total_number_of_jobs,
  :enable_basic_auth,
  :enable_performance_mode,
  :thumbnail_url,
  :basic_auth_credentials,
  :build_spec,
  :ttl,
  :associated_resources,
  :enable_pull_request_preview,
  :pull_request_environment_name,
  :destination_branch,
  :source_branch,
  :backend_environment_arn,
  :backend,
  :compute_role_arn)
  SENSITIVE = [:basic_auth_credentials, :build_spec]
  include Aws::Structure
end

#basic_auth_credentials ⇒ String

The basic authorization credentials for a branch of an Amplify app. You must base64-encode the authorization credentials and provide them in the format user:password.

Returns:

  • (String)


538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 538

class Branch < Struct.new(
  :branch_arn,
  :branch_name,
  :description,
  :tags,
  :stage,
  :display_name,
  :enable_notification,
  :create_time,
  :update_time,
  :environment_variables,
  :enable_auto_build,
  :enable_skew_protection,
  :custom_domains,
  :framework,
  :active_job_id,
  :total_number_of_jobs,
  :enable_basic_auth,
  :enable_performance_mode,
  :thumbnail_url,
  :basic_auth_credentials,
  :build_spec,
  :ttl,
  :associated_resources,
  :enable_pull_request_preview,
  :pull_request_environment_name,
  :destination_branch,
  :source_branch,
  :backend_environment_arn,
  :backend,
  :compute_role_arn)
  SENSITIVE = [:basic_auth_credentials, :build_spec]
  include Aws::Structure
end

#branch_arn ⇒ String

The Amazon Resource Name (ARN) for a branch that is part of an Amplify app.

Returns:

  • (String)


538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 538

class Branch < Struct.new(
  :branch_arn,
  :branch_name,
  :description,
  :tags,
  :stage,
  :display_name,
  :enable_notification,
  :create_time,
  :update_time,
  :environment_variables,
  :enable_auto_build,
  :enable_skew_protection,
  :custom_domains,
  :framework,
  :active_job_id,
  :total_number_of_jobs,
  :enable_basic_auth,
  :enable_performance_mode,
  :thumbnail_url,
  :basic_auth_credentials,
  :build_spec,
  :ttl,
  :associated_resources,
  :enable_pull_request_preview,
  :pull_request_environment_name,
  :destination_branch,
  :source_branch,
  :backend_environment_arn,
  :backend,
  :compute_role_arn)
  SENSITIVE = [:basic_auth_credentials, :build_spec]
  include Aws::Structure
end

#branch_name ⇒ String

The name for the branch that is part of an Amplify app.

Returns:

  • (String)


538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 538

class Branch < Struct.new(
  :branch_arn,
  :branch_name,
  :description,
  :tags,
  :stage,
  :display_name,
  :enable_notification,
  :create_time,
  :update_time,
  :environment_variables,
  :enable_auto_build,
  :enable_skew_protection,
  :custom_domains,
  :framework,
  :active_job_id,
  :total_number_of_jobs,
  :enable_basic_auth,
  :enable_performance_mode,
  :thumbnail_url,
  :basic_auth_credentials,
  :build_spec,
  :ttl,
  :associated_resources,
  :enable_pull_request_preview,
  :pull_request_environment_name,
  :destination_branch,
  :source_branch,
  :backend_environment_arn,
  :backend,
  :compute_role_arn)
  SENSITIVE = [:basic_auth_credentials, :build_spec]
  include Aws::Structure
end

#build_spec ⇒ String

The build specification (build spec) content for the branch of an Amplify app.

Returns:

  • (String)


538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 538

class Branch < Struct.new(
  :branch_arn,
  :branch_name,
  :description,
  :tags,
  :stage,
  :display_name,
  :enable_notification,
  :create_time,
  :update_time,
  :environment_variables,
  :enable_auto_build,
  :enable_skew_protection,
  :custom_domains,
  :framework,
  :active_job_id,
  :total_number_of_jobs,
  :enable_basic_auth,
  :enable_performance_mode,
  :thumbnail_url,
  :basic_auth_credentials,
  :build_spec,
  :ttl,
  :associated_resources,
  :enable_pull_request_preview,
  :pull_request_environment_name,
  :destination_branch,
  :source_branch,
  :backend_environment_arn,
  :backend,
  :compute_role_arn)
  SENSITIVE = [:basic_auth_credentials, :build_spec]
  include Aws::Structure
end

#compute_role_arn ⇒ String

The Amazon Resource Name (ARN) of the IAM role for a branch of an SSR app. The 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.

Returns:

  • (String)


538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 538

class Branch < Struct.new(
  :branch_arn,
  :branch_name,
  :description,
  :tags,
  :stage,
  :display_name,
  :enable_notification,
  :create_time,
  :update_time,
  :environment_variables,
  :enable_auto_build,
  :enable_skew_protection,
  :custom_domains,
  :framework,
  :active_job_id,
  :total_number_of_jobs,
  :enable_basic_auth,
  :enable_performance_mode,
  :thumbnail_url,
  :basic_auth_credentials,
  :build_spec,
  :ttl,
  :associated_resources,
  :enable_pull_request_preview,
  :pull_request_environment_name,
  :destination_branch,
  :source_branch,
  :backend_environment_arn,
  :backend,
  :compute_role_arn)
  SENSITIVE = [:basic_auth_credentials, :build_spec]
  include Aws::Structure
end

#create_time ⇒ Time

A timestamp of when Amplify created the branch.

Returns:

  • (Time)


538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 538

class Branch < Struct.new(
  :branch_arn,
  :branch_name,
  :description,
  :tags,
  :stage,
  :display_name,
  :enable_notification,
  :create_time,
  :update_time,
  :environment_variables,
  :enable_auto_build,
  :enable_skew_protection,
  :custom_domains,
  :framework,
  :active_job_id,
  :total_number_of_jobs,
  :enable_basic_auth,
  :enable_performance_mode,
  :thumbnail_url,
  :basic_auth_credentials,
  :build_spec,
  :ttl,
  :associated_resources,
  :enable_pull_request_preview,
  :pull_request_environment_name,
  :destination_branch,
  :source_branch,
  :backend_environment_arn,
  :backend,
  :compute_role_arn)
  SENSITIVE = [:basic_auth_credentials, :build_spec]
  include Aws::Structure
end

#custom_domains ⇒ Array<String>

The custom domains for a branch of an Amplify app.

Returns:

  • (Array<String>)


538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 538

class Branch < Struct.new(
  :branch_arn,
  :branch_name,
  :description,
  :tags,
  :stage,
  :display_name,
  :enable_notification,
  :create_time,
  :update_time,
  :environment_variables,
  :enable_auto_build,
  :enable_skew_protection,
  :custom_domains,
  :framework,
  :active_job_id,
  :total_number_of_jobs,
  :enable_basic_auth,
  :enable_performance_mode,
  :thumbnail_url,
  :basic_auth_credentials,
  :build_spec,
  :ttl,
  :associated_resources,
  :enable_pull_request_preview,
  :pull_request_environment_name,
  :destination_branch,
  :source_branch,
  :backend_environment_arn,
  :backend,
  :compute_role_arn)
  SENSITIVE = [:basic_auth_credentials, :build_spec]
  include Aws::Structure
end

#description ⇒ String

The description for the branch that is part of an Amplify app.

Returns:

  • (String)


538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 538

class Branch < Struct.new(
  :branch_arn,
  :branch_name,
  :description,
  :tags,
  :stage,
  :display_name,
  :enable_notification,
  :create_time,
  :update_time,
  :environment_variables,
  :enable_auto_build,
  :enable_skew_protection,
  :custom_domains,
  :framework,
  :active_job_id,
  :total_number_of_jobs,
  :enable_basic_auth,
  :enable_performance_mode,
  :thumbnail_url,
  :basic_auth_credentials,
  :build_spec,
  :ttl,
  :associated_resources,
  :enable_pull_request_preview,
  :pull_request_environment_name,
  :destination_branch,
  :source_branch,
  :backend_environment_arn,
  :backend,
  :compute_role_arn)
  SENSITIVE = [:basic_auth_credentials, :build_spec]
  include Aws::Structure
end

#destination_branch ⇒ String

The destination branch if the branch is a pull request branch.

Returns:

  • (String)


538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 538

class Branch < Struct.new(
  :branch_arn,
  :branch_name,
  :description,
  :tags,
  :stage,
  :display_name,
  :enable_notification,
  :create_time,
  :update_time,
  :environment_variables,
  :enable_auto_build,
  :enable_skew_protection,
  :custom_domains,
  :framework,
  :active_job_id,
  :total_number_of_jobs,
  :enable_basic_auth,
  :enable_performance_mode,
  :thumbnail_url,
  :basic_auth_credentials,
  :build_spec,
  :ttl,
  :associated_resources,
  :enable_pull_request_preview,
  :pull_request_environment_name,
  :destination_branch,
  :source_branch,
  :backend_environment_arn,
  :backend,
  :compute_role_arn)
  SENSITIVE = [:basic_auth_credentials, :build_spec]
  include Aws::Structure
end

#display_name ⇒ String

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

Returns:

  • (String)


538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 538

class Branch < Struct.new(
  :branch_arn,
  :branch_name,
  :description,
  :tags,
  :stage,
  :display_name,
  :enable_notification,
  :create_time,
  :update_time,
  :environment_variables,
  :enable_auto_build,
  :enable_skew_protection,
  :custom_domains,
  :framework,
  :active_job_id,
  :total_number_of_jobs,
  :enable_basic_auth,
  :enable_performance_mode,
  :thumbnail_url,
  :basic_auth_credentials,
  :build_spec,
  :ttl,
  :associated_resources,
  :enable_pull_request_preview,
  :pull_request_environment_name,
  :destination_branch,
  :source_branch,
  :backend_environment_arn,
  :backend,
  :compute_role_arn)
  SENSITIVE = [:basic_auth_credentials, :build_spec]
  include Aws::Structure
end

#enable_auto_build ⇒ Boolean

Enables auto-building on push for a branch of an Amplify app.

Returns:

  • (Boolean)


538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 538

class Branch < Struct.new(
  :branch_arn,
  :branch_name,
  :description,
  :tags,
  :stage,
  :display_name,
  :enable_notification,
  :create_time,
  :update_time,
  :environment_variables,
  :enable_auto_build,
  :enable_skew_protection,
  :custom_domains,
  :framework,
  :active_job_id,
  :total_number_of_jobs,
  :enable_basic_auth,
  :enable_performance_mode,
  :thumbnail_url,
  :basic_auth_credentials,
  :build_spec,
  :ttl,
  :associated_resources,
  :enable_pull_request_preview,
  :pull_request_environment_name,
  :destination_branch,
  :source_branch,
  :backend_environment_arn,
  :backend,
  :compute_role_arn)
  SENSITIVE = [:basic_auth_credentials, :build_spec]
  include Aws::Structure
end

#enable_basic_auth ⇒ Boolean

Enables basic authorization for a branch of an Amplify app.

Returns:

  • (Boolean)


538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 538

class Branch < Struct.new(
  :branch_arn,
  :branch_name,
  :description,
  :tags,
  :stage,
  :display_name,
  :enable_notification,
  :create_time,
  :update_time,
  :environment_variables,
  :enable_auto_build,
  :enable_skew_protection,
  :custom_domains,
  :framework,
  :active_job_id,
  :total_number_of_jobs,
  :enable_basic_auth,
  :enable_performance_mode,
  :thumbnail_url,
  :basic_auth_credentials,
  :build_spec,
  :ttl,
  :associated_resources,
  :enable_pull_request_preview,
  :pull_request_environment_name,
  :destination_branch,
  :source_branch,
  :backend_environment_arn,
  :backend,
  :compute_role_arn)
  SENSITIVE = [:basic_auth_credentials, :build_spec]
  include Aws::Structure
end

#enable_notification ⇒ Boolean

Enables notifications for a branch that is part of an Amplify app.

Returns:

  • (Boolean)


538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 538

class Branch < Struct.new(
  :branch_arn,
  :branch_name,
  :description,
  :tags,
  :stage,
  :display_name,
  :enable_notification,
  :create_time,
  :update_time,
  :environment_variables,
  :enable_auto_build,
  :enable_skew_protection,
  :custom_domains,
  :framework,
  :active_job_id,
  :total_number_of_jobs,
  :enable_basic_auth,
  :enable_performance_mode,
  :thumbnail_url,
  :basic_auth_credentials,
  :build_spec,
  :ttl,
  :associated_resources,
  :enable_pull_request_preview,
  :pull_request_environment_name,
  :destination_branch,
  :source_branch,
  :backend_environment_arn,
  :backend,
  :compute_role_arn)
  SENSITIVE = [:basic_auth_credentials, :build_spec]
  include Aws::Structure
end

#enable_performance_mode ⇒ Boolean

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.

Returns:

  • (Boolean)


538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 538

class Branch < Struct.new(
  :branch_arn,
  :branch_name,
  :description,
  :tags,
  :stage,
  :display_name,
  :enable_notification,
  :create_time,
  :update_time,
  :environment_variables,
  :enable_auto_build,
  :enable_skew_protection,
  :custom_domains,
  :framework,
  :active_job_id,
  :total_number_of_jobs,
  :enable_basic_auth,
  :enable_performance_mode,
  :thumbnail_url,
  :basic_auth_credentials,
  :build_spec,
  :ttl,
  :associated_resources,
  :enable_pull_request_preview,
  :pull_request_environment_name,
  :destination_branch,
  :source_branch,
  :backend_environment_arn,
  :backend,
  :compute_role_arn)
  SENSITIVE = [:basic_auth_credentials, :build_spec]
  include Aws::Structure
end

#enable_pull_request_preview ⇒ Boolean

Enables pull request previews for the branch.

Returns:

  • (Boolean)


538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 538

class Branch < Struct.new(
  :branch_arn,
  :branch_name,
  :description,
  :tags,
  :stage,
  :display_name,
  :enable_notification,
  :create_time,
  :update_time,
  :environment_variables,
  :enable_auto_build,
  :enable_skew_protection,
  :custom_domains,
  :framework,
  :active_job_id,
  :total_number_of_jobs,
  :enable_basic_auth,
  :enable_performance_mode,
  :thumbnail_url,
  :basic_auth_credentials,
  :build_spec,
  :ttl,
  :associated_resources,
  :enable_pull_request_preview,
  :pull_request_environment_name,
  :destination_branch,
  :source_branch,
  :backend_environment_arn,
  :backend,
  :compute_role_arn)
  SENSITIVE = [:basic_auth_credentials, :build_spec]
  include Aws::Structure
end

#enable_skew_protection ⇒ Boolean

Specifies whether the skew protection feature is enabled for the branch.

Deployment skew protection is available to Amplify applications to eliminate version skew issues between client and servers in web applications. When you apply skew protection to a branch, you can ensure that your clients always interact with the correct version of server-side assets, regardless of when a deployment occurs. For more information about skew protection, see Skew protection for Amplify deployments in the Amplify User Guide.

Returns:

  • (Boolean)


538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 538

class Branch < Struct.new(
  :branch_arn,
  :branch_name,
  :description,
  :tags,
  :stage,
  :display_name,
  :enable_notification,
  :create_time,
  :update_time,
  :environment_variables,
  :enable_auto_build,
  :enable_skew_protection,
  :custom_domains,
  :framework,
  :active_job_id,
  :total_number_of_jobs,
  :enable_basic_auth,
  :enable_performance_mode,
  :thumbnail_url,
  :basic_auth_credentials,
  :build_spec,
  :ttl,
  :associated_resources,
  :enable_pull_request_preview,
  :pull_request_environment_name,
  :destination_branch,
  :source_branch,
  :backend_environment_arn,
  :backend,
  :compute_role_arn)
  SENSITIVE = [:basic_auth_credentials, :build_spec]
  include Aws::Structure
end

#environment_variables ⇒ Hash<String,String>

The environment variables specific to a branch of an Amplify app.

Returns:

  • (Hash<String,String>)


538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 538

class Branch < Struct.new(
  :branch_arn,
  :branch_name,
  :description,
  :tags,
  :stage,
  :display_name,
  :enable_notification,
  :create_time,
  :update_time,
  :environment_variables,
  :enable_auto_build,
  :enable_skew_protection,
  :custom_domains,
  :framework,
  :active_job_id,
  :total_number_of_jobs,
  :enable_basic_auth,
  :enable_performance_mode,
  :thumbnail_url,
  :basic_auth_credentials,
  :build_spec,
  :ttl,
  :associated_resources,
  :enable_pull_request_preview,
  :pull_request_environment_name,
  :destination_branch,
  :source_branch,
  :backend_environment_arn,
  :backend,
  :compute_role_arn)
  SENSITIVE = [:basic_auth_credentials, :build_spec]
  include Aws::Structure
end

#framework ⇒ String

The framework for a branch of an Amplify app.

Returns:

  • (String)


538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 538

class Branch < Struct.new(
  :branch_arn,
  :branch_name,
  :description,
  :tags,
  :stage,
  :display_name,
  :enable_notification,
  :create_time,
  :update_time,
  :environment_variables,
  :enable_auto_build,
  :enable_skew_protection,
  :custom_domains,
  :framework,
  :active_job_id,
  :total_number_of_jobs,
  :enable_basic_auth,
  :enable_performance_mode,
  :thumbnail_url,
  :basic_auth_credentials,
  :build_spec,
  :ttl,
  :associated_resources,
  :enable_pull_request_preview,
  :pull_request_environment_name,
  :destination_branch,
  :source_branch,
  :backend_environment_arn,
  :backend,
  :compute_role_arn)
  SENSITIVE = [:basic_auth_credentials, :build_spec]
  include Aws::Structure
end

#pull_request_environment_name ⇒ String

The Amplify environment name for the pull request.

Returns:

  • (String)


538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 538

class Branch < Struct.new(
  :branch_arn,
  :branch_name,
  :description,
  :tags,
  :stage,
  :display_name,
  :enable_notification,
  :create_time,
  :update_time,
  :environment_variables,
  :enable_auto_build,
  :enable_skew_protection,
  :custom_domains,
  :framework,
  :active_job_id,
  :total_number_of_jobs,
  :enable_basic_auth,
  :enable_performance_mode,
  :thumbnail_url,
  :basic_auth_credentials,
  :build_spec,
  :ttl,
  :associated_resources,
  :enable_pull_request_preview,
  :pull_request_environment_name,
  :destination_branch,
  :source_branch,
  :backend_environment_arn,
  :backend,
  :compute_role_arn)
  SENSITIVE = [:basic_auth_credentials, :build_spec]
  include Aws::Structure
end

#source_branch ⇒ String

The source branch if the branch is a pull request branch.

Returns:

  • (String)


538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 538

class Branch < Struct.new(
  :branch_arn,
  :branch_name,
  :description,
  :tags,
  :stage,
  :display_name,
  :enable_notification,
  :create_time,
  :update_time,
  :environment_variables,
  :enable_auto_build,
  :enable_skew_protection,
  :custom_domains,
  :framework,
  :active_job_id,
  :total_number_of_jobs,
  :enable_basic_auth,
  :enable_performance_mode,
  :thumbnail_url,
  :basic_auth_credentials,
  :build_spec,
  :ttl,
  :associated_resources,
  :enable_pull_request_preview,
  :pull_request_environment_name,
  :destination_branch,
  :source_branch,
  :backend_environment_arn,
  :backend,
  :compute_role_arn)
  SENSITIVE = [:basic_auth_credentials, :build_spec]
  include Aws::Structure
end

#stage ⇒ String

The current stage for the branch that is part of an Amplify app.

Returns:

  • (String)


538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 538

class Branch < Struct.new(
  :branch_arn,
  :branch_name,
  :description,
  :tags,
  :stage,
  :display_name,
  :enable_notification,
  :create_time,
  :update_time,
  :environment_variables,
  :enable_auto_build,
  :enable_skew_protection,
  :custom_domains,
  :framework,
  :active_job_id,
  :total_number_of_jobs,
  :enable_basic_auth,
  :enable_performance_mode,
  :thumbnail_url,
  :basic_auth_credentials,
  :build_spec,
  :ttl,
  :associated_resources,
  :enable_pull_request_preview,
  :pull_request_environment_name,
  :destination_branch,
  :source_branch,
  :backend_environment_arn,
  :backend,
  :compute_role_arn)
  SENSITIVE = [:basic_auth_credentials, :build_spec]
  include Aws::Structure
end

#tags ⇒ Hash<String,String>

The tag for the branch of an Amplify app.

Returns:

  • (Hash<String,String>)


538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 538

class Branch < Struct.new(
  :branch_arn,
  :branch_name,
  :description,
  :tags,
  :stage,
  :display_name,
  :enable_notification,
  :create_time,
  :update_time,
  :environment_variables,
  :enable_auto_build,
  :enable_skew_protection,
  :custom_domains,
  :framework,
  :active_job_id,
  :total_number_of_jobs,
  :enable_basic_auth,
  :enable_performance_mode,
  :thumbnail_url,
  :basic_auth_credentials,
  :build_spec,
  :ttl,
  :associated_resources,
  :enable_pull_request_preview,
  :pull_request_environment_name,
  :destination_branch,
  :source_branch,
  :backend_environment_arn,
  :backend,
  :compute_role_arn)
  SENSITIVE = [:basic_auth_credentials, :build_spec]
  include Aws::Structure
end

#thumbnail_url ⇒ String

The thumbnail URL for the branch of an Amplify app.

Returns:

  • (String)


538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 538

class Branch < Struct.new(
  :branch_arn,
  :branch_name,
  :description,
  :tags,
  :stage,
  :display_name,
  :enable_notification,
  :create_time,
  :update_time,
  :environment_variables,
  :enable_auto_build,
  :enable_skew_protection,
  :custom_domains,
  :framework,
  :active_job_id,
  :total_number_of_jobs,
  :enable_basic_auth,
  :enable_performance_mode,
  :thumbnail_url,
  :basic_auth_credentials,
  :build_spec,
  :ttl,
  :associated_resources,
  :enable_pull_request_preview,
  :pull_request_environment_name,
  :destination_branch,
  :source_branch,
  :backend_environment_arn,
  :backend,
  :compute_role_arn)
  SENSITIVE = [:basic_auth_credentials, :build_spec]
  include Aws::Structure
end

#total_number_of_jobs ⇒ String

The total number of jobs that are part of an Amplify app.

Returns:

  • (String)


538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 538

class Branch < Struct.new(
  :branch_arn,
  :branch_name,
  :description,
  :tags,
  :stage,
  :display_name,
  :enable_notification,
  :create_time,
  :update_time,
  :environment_variables,
  :enable_auto_build,
  :enable_skew_protection,
  :custom_domains,
  :framework,
  :active_job_id,
  :total_number_of_jobs,
  :enable_basic_auth,
  :enable_performance_mode,
  :thumbnail_url,
  :basic_auth_credentials,
  :build_spec,
  :ttl,
  :associated_resources,
  :enable_pull_request_preview,
  :pull_request_environment_name,
  :destination_branch,
  :source_branch,
  :backend_environment_arn,
  :backend,
  :compute_role_arn)
  SENSITIVE = [:basic_auth_credentials, :build_spec]
  include Aws::Structure
end

#ttl ⇒ String

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

Returns:

  • (String)


538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 538

class Branch < Struct.new(
  :branch_arn,
  :branch_name,
  :description,
  :tags,
  :stage,
  :display_name,
  :enable_notification,
  :create_time,
  :update_time,
  :environment_variables,
  :enable_auto_build,
  :enable_skew_protection,
  :custom_domains,
  :framework,
  :active_job_id,
  :total_number_of_jobs,
  :enable_basic_auth,
  :enable_performance_mode,
  :thumbnail_url,
  :basic_auth_credentials,
  :build_spec,
  :ttl,
  :associated_resources,
  :enable_pull_request_preview,
  :pull_request_environment_name,
  :destination_branch,
  :source_branch,
  :backend_environment_arn,
  :backend,
  :compute_role_arn)
  SENSITIVE = [:basic_auth_credentials, :build_spec]
  include Aws::Structure
end

#update_time ⇒ Time

A timestamp for the last updated time for a branch.

Returns:

  • (Time)


538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 538

class Branch < Struct.new(
  :branch_arn,
  :branch_name,
  :description,
  :tags,
  :stage,
  :display_name,
  :enable_notification,
  :create_time,
  :update_time,
  :environment_variables,
  :enable_auto_build,
  :enable_skew_protection,
  :custom_domains,
  :framework,
  :active_job_id,
  :total_number_of_jobs,
  :enable_basic_auth,
  :enable_performance_mode,
  :thumbnail_url,
  :basic_auth_credentials,
  :build_spec,
  :ttl,
  :associated_resources,
  :enable_pull_request_preview,
  :pull_request_environment_name,
  :destination_branch,
  :source_branch,
  :backend_environment_arn,
  :backend,
  :compute_role_arn)
  SENSITIVE = [:basic_auth_credentials, :build_spec]
  include Aws::Structure
end