# CreateGitLabSelfManagedIntegrationDetailProperty

Contains details required to create an integration with a self-managed GitLab instance.

- Source: Generated at build time
- Type last changed: v2.212.0 · 20 Aug 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_inspectorv2 as inspectorv2 } from 'aws-cdk-lib';
const createGitLabSelfManagedIntegrationDetailProperty: inspectorv2.CfnCodeSecurityIntegration.CreateGitLabSelfManagedIntegrationDetailProperty = {
  accessToken: 'accessToken',
  instanceUrl: 'instanceUrl',
};
```

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_inspectorv2 as inspectorv2

create_git_lab_self_managed_integration_detail_property = inspectorv2.CfnCodeSecurityIntegration.CreateGitLabSelfManagedIntegrationDetailProperty(
    access_token="accessToken",
    instance_url="instanceUrl"
)
```

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

CreateGitLabSelfManagedIntegrationDetailProperty createGitLabSelfManagedIntegrationDetailProperty = CreateGitLabSelfManagedIntegrationDetailProperty.builder()
        .accessToken("accessToken")
        .instanceUrl("instanceUrl")
        .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.InspectorV2;

var createGitLabSelfManagedIntegrationDetailProperty = new CreateGitLabSelfManagedIntegrationDetailProperty {
    AccessToken = "accessToken",
    InstanceUrl = "instanceUrl"
};
```

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"

createGitLabSelfManagedIntegrationDetailProperty := &CreateGitLabSelfManagedIntegrationDetailProperty{
	AccessToken: jsii.String("accessToken"),
	InstanceUrl: jsii.String("instanceUrl"),
}
```

## Properties

- `accessToken`: string (required) — The personal access token used to authenticate with the self-managed GitLab instance.

- `instanceUrl`: string (required) — The URL of the self-managed GitLab instance.
