# IntegratedRepositoryProperty

A repository connected via a provider integration.

- Source: Generated at build time
- Type last changed: v2.268.0 · 2 Sep 2026

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
};
```

Golang:

```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

- `branch`: string — An optional override for the repository branch.

- `integrationId`: string (required) — Unique identifier of the provider integration.

- `providerResourceId`: string (required) — Identifier of the resource within the provider integration.
