GitLabConfigurationProperty Struct
Configuration for GitLab project integration.
Defines the numeric project ID, full project path (namespace/project-name), GitLab instance identifier, and webhook update settings required for the Agent Space to access and interact with the GitLab project.
| Source | |
|---|---|
| Type last changed |
Example
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 gitLabConfigurationProperty: devopsagent.CfnAssociation.GitLabConfigurationProperty = {
projectId: 'projectId',
projectPath: 'projectPath',
// the properties below are optional
enableWebhookUpdates: false,
instanceIdentifier: 'instanceIdentifier',
};
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
git_lab_configuration_property = devopsagent.CfnAssociation.GitLabConfigurationProperty(
project_id="projectId",
project_path="projectPath",
# the properties below are optional
enable_webhook_updates=False,
instance_identifier="instanceIdentifier"
)
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.*;
GitLabConfigurationProperty gitLabConfigurationProperty = GitLabConfigurationProperty.builder()
.projectId("projectId")
.projectPath("projectPath")
// the properties below are optional
.enableWebhookUpdates(false)
.instanceIdentifier("instanceIdentifier")
.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.DevOpsAgent;
var gitLabConfigurationProperty = new GitLabConfigurationProperty {
ProjectId = "projectId",
ProjectPath = "projectPath",
// the properties below are optional
EnableWebhookUpdates = false,
InstanceIdentifier = "instanceIdentifier"
};
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"
gitLabConfigurationProperty := &GitLabConfigurationProperty{
ProjectId: jsii.String("projectId"),
ProjectPath: jsii.String("projectPath"),
// the properties below are optional
EnableWebhookUpdates: jsii.Boolean(false),
InstanceIdentifier: jsii.String("instanceIdentifier"),
}
Properties
enableWebhookUpdatesoptionalboolean | IResolvableenable_webhook_updatesoptionaltyping.Union[bool, IResolvable]enableWebhookUpdatesoptionalBooleanEnableWebhookUpdatesoptionalboolEnableWebhookUpdatesoptionalinterface{} #When set to true, enables the Agent Space to create and update webhooks for receiving notifications and events from the service.
instanceIdentifieroptionalstringinstance_identifieroptionalstrinstanceIdentifieroptionalStringInstanceIdentifieroptionalstringInstanceIdentifieroptional*string #GitLab instance identifier (e.g., gitlab.com).
GitLab numeric project ID.
Full GitLab project path (e.g., namespace/project-name).