RegisteredGitLabServiceDetailsProperty Struct
GitLab service details returned after registration.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_devopsagent as devopsagent } from 'aws-cdk-lib';
const registeredGitLabServiceDetailsProperty: devopsagent.CfnService.RegisteredGitLabServiceDetailsProperty = {
targetUrl: 'targetUrl',
tokenType: 'tokenType',
// the properties below are optional
groupId: 'groupId',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_devopsagent as devopsagent
registered_git_lab_service_details_property = devopsagent.CfnService.RegisteredGitLabServiceDetailsProperty(
target_url="targetUrl",
token_type="tokenType",
# the properties below are optional
group_id="groupId"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.devopsagent.*;
RegisteredGitLabServiceDetailsProperty registeredGitLabServiceDetailsProperty = RegisteredGitLabServiceDetailsProperty.builder()
.targetUrl("targetUrl")
.tokenType("tokenType")
// the properties below are optional
.groupId("groupId")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DevOpsAgent;
var registeredGitLabServiceDetailsProperty = new RegisteredGitLabServiceDetailsProperty {
TargetUrl = "targetUrl",
TokenType = "tokenType",
// the properties below are optional
GroupId = "groupId"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
registeredGitLabServiceDetailsProperty := &RegisteredGitLabServiceDetailsProperty{
TargetUrl: jsii.String("targetUrl"),
TokenType: jsii.String("tokenType"),
// the properties below are optional
GroupId: jsii.String("groupId"),
}
Properties
groupIdoptionalstringgroup_idoptionalstrgroupIdoptionalStringGroupIdoptionalstringGroupIdoptional*string #Optional GitLab group ID for group-level access tokens.
GitLab instance URL.
Type of GitLab access token.