GitLabSourceCodeProvider

class aws_cdk.aws_amplify.GitLabSourceCodeProvider(*, oauth_token, owner, repository)

Bases: object

(experimental) GitLab source code provider.

Stability

experimental

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_amplify as amplify
import aws_cdk.core as cdk

# secret_value is of type SecretValue

git_lab_source_code_provider = amplify.GitLabSourceCodeProvider(
    oauth_token=secret_value,
    owner="owner",
    repository="repository"
)
Parameters
  • oauth_token (SecretValue) – (experimental) A personal access token with the repo scope.

  • owner (str) – (experimental) The user or organization owning the repository.

  • repository (str) – (experimental) The name of the repository.

Stability

experimental

Methods

bind(_app)

(experimental) Binds the source code provider to an app.

Parameters

_app (App) –

Stability

experimental

Return type

SourceCodeProviderConfig