interface GitLabSourceCodeProviderProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Amplify.GitLabSourceCodeProviderProps |
Java | software.amazon.awscdk.services.amplify.GitLabSourceCodeProviderProps |
Python | aws_cdk.aws_amplify.GitLabSourceCodeProviderProps |
TypeScript (source) | @aws-cdk/aws-amplify » GitLabSourceCodeProviderProps |
Properties for a GitLab source code provider.
Example
const amplifyApp = new amplify.App(this, 'MyApp', {
sourceCodeProvider: new amplify.GitLabSourceCodeProvider({
owner: '<user>',
repository: '<repo>',
oauthToken: SecretValue.secretsManager('my-gitlab-token'),
}),
});
Properties
| Name | Type | Description |
|---|---|---|
| oauth | Secret | A personal access token with the repo scope. |
| owner | string | The user or organization owning the repository. |
| repository | string | The name of the repository. |
oauthToken
Type:
Secret
A personal access token with the repo scope.
owner
Type:
string
The user or organization owning the repository.
repository
Type:
string
The name of the repository.

.NET
Java
Python
TypeScript (