Skip to content

SourceConfiguration

Source code in docs_src/capo_apprunner/types/source_configuration.py
class SourceConfiguration(TypedDict, closed=True):
    code_repository: NotRequired["capo_apprunner.types.code_repository.CodeRepository"]
    """<p>The description of a source code repository.</p> <p>You must provide either this member or <code>ImageRepository</code> (but not both).</p>"""
    image_repository: NotRequired[
        "capo_apprunner.types.image_repository.ImageRepository"
    ]
    """<p>The description of a source image repository.</p> <p>You must provide either this member or <code>CodeRepository</code> (but not both).</p>"""
    auto_deployments_enabled: NotRequired[
        "capo_apprunner.types.nullable_boolean.NullableBoolean"
    ]
    """<p>If <code>true</code>, continuous integration from the source repository is enabled for the App Runner service. Each repository change (including any source code commit or new image version) starts a deployment.</p> <p>Default: App Runner sets to <code>false</code> for a source image that uses an ECR Public repository or an ECR repository that's in an Amazon Web Services account other than the one that the service is in. App Runner sets to <code>true</code> in all other cases (which currently include a source code repository or a source image using a same-account ECR repository).</p>"""
    authentication_configuration: NotRequired[
        "capo_apprunner.types.authentication_configuration.AuthenticationConfiguration"
    ]
    """<p>Describes the resources that are needed to authenticate access to some source repositories.</p>"""

authentication_configuration instance-attribute

authentication_configuration: NotRequired[AuthenticationConfiguration]

Describes the resources that are needed to authenticate access to some source repositories.

auto_deployments_enabled instance-attribute

auto_deployments_enabled: NotRequired[NullableBoolean]

If true, continuous integration from the source repository is enabled for the App Runner service. Each repository change (including any source code commit or new image version) starts a deployment.

Default: App Runner sets to false for a source image that uses an ECR Public repository or an ECR repository that's in an Amazon Web Services account other than the one that the service is in. App Runner sets to true in all other cases (which currently include a source code repository or a source image using a same-account ECR repository).

code_repository instance-attribute

code_repository: NotRequired[CodeRepository]

The description of a source code repository.

You must provide either this member or ImageRepository (but not both).

image_repository instance-attribute

image_repository: NotRequired[ImageRepository]

The description of a source image repository.

You must provide either this member or CodeRepository (but not both).