Skip to content
v2.278.0

CreateGitLabSelfManagedIntegrationDetailProperty Struct ​

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

Example ​

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
# 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
// 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();
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"
};
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 ​

accessTokenstringaccess_tokenstraccessTokenStringAccessTokenstringAccessToken*string required #
The personal access token used to authenticate with the self-managed GitLab instance.
instanceUrlstringinstance_urlstrinstanceUrlStringInstanceUrlstringInstanceUrl*string required #
The URL of the self-managed GitLab instance.