# RegisteredGitLabServiceDetailsProperty

GitLab service details returned after registration.

- Source: Generated at build time
- Type last changed: v2.241.0 · 2 Mar 2026

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
};
```

Golang:

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

- `groupId`: string — Optional GitLab group ID for group-level access tokens.

- `targetUrl`: string (required) — GitLab instance URL.

- `tokenType`: string (required) — Type of GitLab access token.
