interface GitLabSourceCodeProviderProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Amplify.Alpha.GitLabSourceCodeProviderProps |
Go | github.com/aws/aws-cdk-go/awscdkamplifyalpha/v2#GitLabSourceCodeProviderProps |
Java | software.amazon.awscdk.services.amplify.alpha.GitLabSourceCodeProviderProps |
Python | aws_cdk.aws_amplify_alpha.GitLabSourceCodeProviderProps |
TypeScript (source) | @aws-cdk/aws-amplify-alpha » 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.