Skip to content

GitConfig

Source code in docs_src/capo_sagemaker/types/git_config.py
class GitConfig(TypedDict, closed=True):
    repository_url: NotRequired["capo_sagemaker.types.git_config_url.GitConfigUrl"]
    """<p>The URL where the Git repository is located.</p>"""
    branch: NotRequired["capo_sagemaker.types.branch.Branch"]
    """<p>The default branch for the Git repository.</p>"""
    secret_arn: NotRequired["capo_sagemaker.types.secret_arn.SecretArn"]
    """<p>The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that contains the credentials used to access the git repository. The secret must have a staging label of <code>AWSCURRENT</code> and must be in the following format:</p> <p> <code>{"username": <i>UserName</i>, "password": <i>Password</i>}</code> </p>"""

branch instance-attribute

branch: NotRequired[Branch]

The default branch for the Git repository.

repository_url instance-attribute

repository_url: NotRequired[GitConfigUrl]

The URL where the Git repository is located.

secret_arn instance-attribute

secret_arn: NotRequired[SecretArn]

The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that contains the credentials used to access the git repository. The secret must have a staging label of AWSCURRENT and must be in the following format:

{"username": UserName, "password": Password}