IntegratedRepositoryProperty Struct
A repository connected via a provider integration.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_securityagent as securityagent } from 'aws-cdk-lib';
const integratedRepositoryProperty: securityagent.CfnPentest.IntegratedRepositoryProperty = {
integrationId: 'integrationId',
providerResourceId: 'providerResourceId',
// the properties below are optional
branch: 'branch',
};
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_securityagent as securityagent
integrated_repository_property = securityagent.CfnPentest.IntegratedRepositoryProperty(
integration_id="integrationId",
provider_resource_id="providerResourceId",
# the properties below are optional
branch="branch"
)
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.securityagent.*;
IntegratedRepositoryProperty integratedRepositoryProperty = IntegratedRepositoryProperty.builder()
.integrationId("integrationId")
.providerResourceId("providerResourceId")
// the properties below are optional
.branch("branch")
.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.SecurityAgent;
var integratedRepositoryProperty = new IntegratedRepositoryProperty {
IntegrationId = "integrationId",
ProviderResourceId = "providerResourceId",
// the properties below are optional
Branch = "branch"
};
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"
integratedRepositoryProperty := &IntegratedRepositoryProperty{
IntegrationId: jsii.String("integrationId"),
ProviderResourceId: jsii.String("providerResourceId"),
// the properties below are optional
Branch: jsii.String("branch"),
}
Properties
An optional override for the repository branch.
integrationIdstringintegration_idstrintegrationIdStringIntegrationIdstringIntegrationId*stringrequired#Unique identifier of the provider integration.
providerResourceIdstringprovider_resource_idstrproviderResourceIdStringProviderResourceIdstringProviderResourceId*stringrequired#Identifier of the resource within the provider integration.