Skip to content

CodeRepository

Source code in docs_src/capo_apprunner/types/code_repository.py
class CodeRepository(TypedDict, closed=True):
    repository_url: "capo_apprunner.types.string.String"
    """<p>The location of the repository that contains the source code.</p>"""
    source_code_version: "capo_apprunner.types.source_code_version.SourceCodeVersion"
    """<p>The version that should be used within the source code repository.</p>"""
    code_configuration: NotRequired[
        "capo_apprunner.types.code_configuration.CodeConfiguration"
    ]
    """<p>Configuration for building and running the service from a source code repository.</p> <note> <p> <code>CodeConfiguration</code> is required only for <code>CreateService</code> request.</p> </note>"""
    source_directory: NotRequired[
        "capo_apprunner.types.source_directory.SourceDirectory"
    ]
    """<p>The path of the directory that stores source code and configuration files. The build and start commands also execute from here. The path is absolute from root and, if not specified, defaults to the repository root.</p>"""

code_configuration instance-attribute

code_configuration: NotRequired[CodeConfiguration]

Configuration for building and running the service from a source code repository.

CodeConfiguration is required only for CreateService request.

repository_url instance-attribute

repository_url: String

The location of the repository that contains the source code.

source_code_version instance-attribute

source_code_version: SourceCodeVersion

The version that should be used within the source code repository.

source_directory instance-attribute

source_directory: NotRequired[SourceDirectory]

The path of the directory that stores source code and configuration files. The build and start commands also execute from here. The path is absolute from root and, if not specified, defaults to the repository root.