GitLabSourceCodeProviderProps

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

Bases: object

(experimental) Properties for a GitLab source code provider.

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

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_props = amplify.GitLabSourceCodeProviderProps(
    oauth_token=secret_value,
    owner="owner",
    repository="repository"
)

Attributes

oauth_token

(experimental) A personal access token with the repo scope.

Stability

experimental

Return type

SecretValue

owner

(experimental) The user or organization owning the repository.

Stability

experimental

Return type

str

repository

(experimental) The name of the repository.

Stability

experimental

Return type

str