Skip to content

AppBackend

Source code in docs_src/capo_amplifygen3/types/app_backend.py
class AppBackend(TypedDict, closed=True):
    migrations_directory: NotRequired[
        "capo_amplifygen3.types.migrations_directory.MigrationsDirectory"
    ]
    """<p>The directory that contains the migration files, relative to the root of the source.</p>"""
    status: NotRequired["capo_amplifygen3.types.backend_status.BackendStatus"]
    """<p>The status of the app's backend. The backend is created asynchronously, so wait until the status is READY before you deploy. Absent when the status can't be read. An absent status doesn't indicate a failure.</p>"""
    database_usage: NotRequired[
        "capo_amplifygen3.types.backend_database_usage.BackendDatabaseUsage"
    ]
    """<p>The usage of the backend's databases. Absent when the usage can't be read.</p>"""

database_usage instance-attribute

database_usage: NotRequired[BackendDatabaseUsage]

The usage of the backend's databases. Absent when the usage can't be read.

migrations_directory instance-attribute

migrations_directory: NotRequired[MigrationsDirectory]

The directory that contains the migration files, relative to the root of the source.

status instance-attribute

status: NotRequired[BackendStatus]

The status of the app's backend. The backend is created asynchronously, so wait until the status is READY before you deploy. Absent when the status can't be read. An absent status doesn't indicate a failure.