Skip to content
v2.278.0

UpdateGitHubIntegrationDetailProperty Struct ​

Contains details required to update an integration with GitHub.

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 updateGitHubIntegrationDetailProperty: inspectorv2.CfnCodeSecurityIntegration.UpdateGitHubIntegrationDetailProperty = {
  code: 'code',
  installationId: 'installationId',
};
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_git_hub_integration_detail_property = inspectorv2.CfnCodeSecurityIntegration.UpdateGitHubIntegrationDetailProperty(
    code="code",
    installation_id="installationId"
)
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.*;

UpdateGitHubIntegrationDetailProperty updateGitHubIntegrationDetailProperty = UpdateGitHubIntegrationDetailProperty.builder()
        .code("code")
        .installationId("installationId")
        .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 updateGitHubIntegrationDetailProperty = new UpdateGitHubIntegrationDetailProperty {
    Code = "code",
    InstallationId = "installationId"
};
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"

updateGitHubIntegrationDetailProperty := &UpdateGitHubIntegrationDetailProperty{
	Code: jsii.String("code"),
	InstallationId: jsii.String("installationId"),
}

Properties ​

codestringcodestrcodeStringCodestringCode*string required #
The authorization code received from GitHub to update the integration.
installationIdstringinstallation_idstrinstallationIdStringInstallationIdstringInstallationId*string required #
The installation ID of the GitHub App associated with the integration.