# GitLabInputProperty

The input required to create a GitLab integration.

- Source: Generated code
- Type last changed: v2.274.0 · 20 Oct 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_securityagent as securityagent } from 'aws-cdk-lib';
const gitLabInputProperty: securityagent.CfnIntegration.GitLabInputProperty = {
  accessToken: 'accessToken',
  tokenType: 'tokenType',

  // the properties below are optional
  groupId: 'groupId',
  targetUrl: 'targetUrl',
};
```

## Properties

- `accessToken`: string (required) — The GitLab access token used to authenticate.

  This can be a personal access token or a group access token.

- `groupId`: string — The identifier of the GitLab group.

  Required when TokenType is GROUP and ignored for personal tokens.

- `targetUrl`: string — The HTTPS URL of a self-managed GitLab instance.

  Omit this value for GitLab SaaS (gitlab.com).

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