# CreateDetailsProperty

Contains details required to create a code security integration with a specific repository provider.

- 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 createDetailsProperty: inspectorv2.CfnCodeSecurityIntegration.CreateDetailsProperty = {
  gitlabSelfManaged: {
    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_details_property = inspectorv2.CfnCodeSecurityIntegration.CreateDetailsProperty(
    gitlab_self_managed=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.*;

CreateDetailsProperty createDetailsProperty = CreateDetailsProperty.builder()
        .gitlabSelfManaged(CreateGitLabSelfManagedIntegrationDetailProperty.builder()
                .accessToken("accessToken")
                .instanceUrl("instanceUrl")
                .build())
        .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 createDetailsProperty = new CreateDetailsProperty {
    GitlabSelfManaged = 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"

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

## Properties

- `gitlabSelfManaged`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnCodeSecurityIntegration.CreateGitLabSelfManagedIntegrationDetailProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_inspectorv2.CfnCodeSecurityIntegration.CreateGitLabSelfManagedIntegrationDetailProperty.html) (required) — Details specific to creating an integration with a self-managed GitLab instance.
