Class: Aws::AmplifyGen3::Types::BranchBackend

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

Overview

The backend of a branch. Every member except Url is read from the backend each time you call GetBranch. If the backend can't be read, GetBranch fails with a ThrottlingException when the request is throttled, or with a server error otherwise.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#auth ⇒ String

The authentication settings of the branch's live deployment, as a JSON document. These can differ from the environment's Backend.Auth settings, which take effect at the next deployment. Absent when the live deployment's configuration has no authentication settings, or when no deployment with backend settings has gone live.

Returns:

  • (String)


830
831
832
833
834
835
836
837
838
839
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/types.rb', line 830

class BranchBackend < Struct.new(
  :url,
  :status,
  :database_config,
  :auth,
  :database_usage,
  :database_connection)
  SENSITIVE = []
  include Aws::Structure
end

#database_config ⇒ Types::BranchDatabaseConfiguration

The database settings that are in effect on the branch's database cluster. These are the settings that the most recent deployment applied, or the cluster's defaults if no deployment has set any. A deployment that changes them completes only after they are applied. They can differ from the environment's Backend.Database settings, which take effect at the next deployment. Absent before the branch has its own database cluster.



830
831
832
833
834
835
836
837
838
839
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/types.rb', line 830

class BranchBackend < Struct.new(
  :url,
  :status,
  :database_config,
  :auth,
  :database_usage,
  :database_connection)
  SENSITIVE = []
  include Aws::Structure
end

#database_connection ⇒ Types::BranchDatabaseConnection

The connection details for the branch's database. Absent when connections aren't available for the branch, or before the branch has a database.



830
831
832
833
834
835
836
837
838
839
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/types.rb', line 830

class BranchBackend < Struct.new(
  :url,
  :status,
  :database_config,
  :auth,
  :database_usage,
  :database_connection)
  SENSITIVE = []
  include Aws::Structure
end

#database_usage ⇒ Types::BranchDatabaseUsage

The latest usage sample of the branch's database. Absent before the first sample, or for a branch that was created by RestoreBranch.



830
831
832
833
834
835
836
837
838
839
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/types.rb', line 830

class BranchBackend < Struct.new(
  :url,
  :status,
  :database_config,
  :auth,
  :database_usage,
  :database_connection)
  SENSITIVE = []
  include Aws::Structure
end

#status ⇒ String

The lifecycle status of the branch. Absent only when the status isn't one that this API recognizes.

Returns:

  • (String)


830
831
832
833
834
835
836
837
838
839
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/types.rb', line 830

class BranchBackend < Struct.new(
  :url,
  :status,
  :database_config,
  :auth,
  :database_usage,
  :database_connection)
  SENSITIVE = []
  include Aws::Structure
end

#url ⇒ String

The URL of the branch's backend.

Returns:

  • (String)


830
831
832
833
834
835
836
837
838
839
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/types.rb', line 830

class BranchBackend < Struct.new(
  :url,
  :status,
  :database_config,
  :auth,
  :database_usage,
  :database_connection)
  SENSITIVE = []
  include Aws::Structure
end