BranchBackend
¶
Source code in docs_src/capo_amplifygen3/types/branch_backend.py
auth
instance-attribute
¶
auth: NotRequired[AuthConfigDocument]
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.
database_config
instance-attribute
¶
database_config: NotRequired[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.
database_connection
instance-attribute
¶
database_connection: NotRequired[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.
database_usage
instance-attribute
¶
database_usage: NotRequired[BranchDatabaseUsage]
The latest usage sample of the branch's database. Absent before the first sample, or for a branch that was created by RestoreBranch.
status
instance-attribute
¶
status: NotRequired[BranchStatus]
The lifecycle status of the branch. Absent only when the status isn't one that this API recognizes.