CreateDetailsProperty Struct
Contains details required to create a code security integration with a specific repository provider.
| 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_inspectorv2 as inspectorv2 } from 'aws-cdk-lib';
const createDetailsProperty: inspectorv2.CfnCodeSecurityIntegration.CreateDetailsProperty = {
gitlabSelfManaged: {
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_details_property = inspectorv2.CfnCodeSecurityIntegration.CreateDetailsProperty(
gitlab_self_managed=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.*;
CreateDetailsProperty createDetailsProperty = CreateDetailsProperty.builder()
.gitlabSelfManaged(CreateGitLabSelfManagedIntegrationDetailProperty.builder()
.accessToken("accessToken")
.instanceUrl("instanceUrl")
.build())
.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 createDetailsProperty = new CreateDetailsProperty {
GitlabSelfManaged = 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"
createDetailsProperty := &CreateDetailsProperty{
GitlabSelfManaged: &CreateGitLabSelfManagedIntegrationDetailProperty{
AccessToken: jsii.String("accessToken"),
InstanceUrl: jsii.String("instanceUrl"),
},
}
Properties
gitlabSelfManagedIResolvable | CfnCodeSecurityIntegration.gitlab_self_managedtyping.Union[IResolvable, CreateGitLabSelfManagedIntegrationDetailProperty]gitlabSelfManagedIResolvableGitlabSelfManagedIResolvableGitlabSelfManagedinterface{} required #Details specific to creating an integration with a self-managed GitLab instance.