Skip to content
v2.278.0

UpdateDetailsProperty Struct ​

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

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 updateDetailsProperty: inspectorv2.CfnCodeSecurityIntegration.UpdateDetailsProperty = {
  github: {
    code: 'code',
    installationId: 'installationId',
  },
  gitlabSelfManaged: {
    authCode: 'authCode',
  },
};
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

update_details_property = inspectorv2.CfnCodeSecurityIntegration.UpdateDetailsProperty(
    github=inspectorv2.CfnCodeSecurityIntegration.UpdateGitHubIntegrationDetailProperty(
        code="code",
        installation_id="installationId"
    ),
    gitlab_self_managed=inspectorv2.CfnCodeSecurityIntegration.UpdateGitLabSelfManagedIntegrationDetailProperty(
        auth_code="authCode"
    )
)
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.*;

UpdateDetailsProperty updateDetailsProperty = UpdateDetailsProperty.builder()
        .github(UpdateGitHubIntegrationDetailProperty.builder()
                .code("code")
                .installationId("installationId")
                .build())
        .gitlabSelfManaged(UpdateGitLabSelfManagedIntegrationDetailProperty.builder()
                .authCode("authCode")
                .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 updateDetailsProperty = new UpdateDetailsProperty {
    Github = new UpdateGitHubIntegrationDetailProperty {
        Code = "code",
        InstallationId = "installationId"
    },
    GitlabSelfManaged = new UpdateGitLabSelfManagedIntegrationDetailProperty {
        AuthCode = "authCode"
    }
};
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"

updateDetailsProperty := &UpdateDetailsProperty{
	Github: &UpdateGitHubIntegrationDetailProperty{
		Code: jsii.String("code"),
		InstallationId: jsii.String("installationId"),
	},
	GitlabSelfManaged: &UpdateGitLabSelfManagedIntegrationDetailProperty{
		AuthCode: jsii.String("authCode"),
	},
}

Properties ​

githuboptionalIResolvable | CfnCodeSecurityIntegration.UpdateGitHubIntegrationDetailPropertygithuboptionaltyping.Union[IResolvable, UpdateGitHubIntegrationDetailProperty]githuboptionalIResolvableGithuboptionalIResolvableGithuboptionalinterface{} #
Details specific to updating an integration with GitHub.
gitlabSelfManagedoptionalIResolvable | CfnCodeSecurityIntegration.UpdateGitLabSelfManagedIntegrationDetailPropertygitlab_self_managedoptionaltyping.Union[IResolvable, UpdateGitLabSelfManagedIntegrationDetailProperty]gitlabSelfManagedoptionalIResolvableGitlabSelfManagedoptionalIResolvableGitlabSelfManagedoptionalinterface{} #
Details specific to updating an integration with a self-managed GitLab instance.