GitLabSourceCodeProviderProps
- class aws_cdk.aws_amplify_alpha.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 therepo
scope.owner (
str
) – (experimental) The user or organization owning the repository.repository (
str
) – (experimental) The name of the repository.
- Stability:
experimental
- ExampleMetadata:
infused
Example:
amplify_app = amplify.App(self, "MyApp", source_code_provider=amplify.GitLabSourceCodeProvider( owner="<user>", repository="<repo>", oauth_token=SecretValue.secrets_manager("my-gitlab-token") ) )
Attributes
- oauth_token
(experimental) A personal access token with the
repo
scope.- Stability:
experimental
- owner
(experimental) The user or organization owning the repository.
- Stability:
experimental
- repository
(experimental) The name of the repository.
- Stability:
experimental