Skip to content

EnvironmentBackendConfigRequest

Source code in docs_src/capo_amplifygen3/types/environment_backend_config_request.py
class EnvironmentBackendConfigRequest(TypedDict, closed=True):
    auth: NotRequired["capo_amplifygen3.types.auth_config_document.AuthConfigDocument"]
    """<p>The authentication settings for the environment's backend, as a JSON document. A secret value must be a reference to a BACKEND-scoped environment variable, in the form ${env:NAME}. If you omit this, the default settings are used.</p>"""
    database: NotRequired[
        "capo_amplifygen3.types.database_config_request.DatabaseConfigRequest"
    ]
    """<p>The database settings for the environment. If you omit this, the plan's defaults are used. A value above the limit of the account's plan causes the next deployment to fail, not this request, because the plan can change between the two.</p>"""

auth instance-attribute

auth: NotRequired[AuthConfigDocument]

The authentication settings for the environment's backend, as a JSON document. A secret value must be a reference to a BACKEND-scoped environment variable, in the form ${env:NAME}. If you omit this, the default settings are used.

database instance-attribute

database: NotRequired[DatabaseConfigRequest]

The database settings for the environment. If you omit this, the plan's defaults are used. A value above the limit of the account's plan causes the next deployment to fail, not this request, because the plan can change between the two.