Skip to content
v2.277.0

GitLabDetailsProperty Struct ​

GitLab service configuration.

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 gitLabDetailsProperty: devopsagent.CfnService.GitLabDetailsProperty = {
  targetUrl: 'targetUrl',
  tokenType: 'tokenType',
  tokenValue: 'tokenValue',

  // 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

git_lab_details_property = devopsagent.CfnService.GitLabDetailsProperty(
    target_url="targetUrl",
    token_type="tokenType",
    token_value="tokenValue",

    # 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.*;

GitLabDetailsProperty gitLabDetailsProperty = GitLabDetailsProperty.builder()
        .targetUrl("targetUrl")
        .tokenType("tokenType")
        .tokenValue("tokenValue")

        // 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 gitLabDetailsProperty = new GitLabDetailsProperty {
    TargetUrl = "targetUrl",
    TokenType = "tokenType",
    TokenValue = "tokenValue",

    // 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"

gitLabDetailsProperty := &GitLabDetailsProperty{
	TargetUrl: jsii.String("targetUrl"),
	TokenType: jsii.String("tokenType"),
	TokenValue: jsii.String("tokenValue"),

	// the properties below are optional
	GroupId: jsii.String("groupId"),
}

Properties ​

groupIdoptionalstringgroup_idoptionalstrgroupIdoptionalStringGroupIdoptionalstringGroupIdoptional*string #
Optional GitLab group ID for group-level access tokens.
targetUrlstringtarget_urlstrtargetUrlStringTargetUrlstringTargetUrl*string required #
GitLab instance URL.
tokenTypestringtoken_typestrtokenTypeStringTokenTypestringTokenType*string required #
Type of GitLab access token.
tokenValuestringtoken_valuestrtokenValueStringTokenValuestringTokenValue*string required #
GitLab access token value.