# IdentitySourceReference

A reference to a IdentitySource resource.

- Source: Generated at build time
- Type last changed: v2.224.0 · 13 Nov 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_verifiedpermissions as interfaces_verifiedpermissions } from 'aws-cdk-lib/interfaces';
const identitySourceReference: interfaces_verifiedpermissions.IdentitySourceReference = {
  identitySourceId: 'identitySourceId',
  policyStoreId: 'policyStoreId',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_verifiedpermissions as interfaces_verifiedpermissions

identity_source_reference = interfaces_verifiedpermissions.IdentitySourceReference(
    identity_source_id="identitySourceId",
    policy_store_id="policyStoreId"
)
```

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.interfaces.verifiedpermissions.*;

IdentitySourceReference identitySourceReference = IdentitySourceReference.builder()
        .identitySourceId("identitySourceId")
        .policyStoreId("policyStoreId")
        .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.Interfaces.VerifiedPermissions;

var identitySourceReference = new IdentitySourceReference {
    IdentitySourceId = "identitySourceId",
    PolicyStoreId = "policyStoreId"
};
```

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"

identitySourceReference := &IdentitySourceReference{
	IdentitySourceId: jsii.String("identitySourceId"),
	PolicyStoreId: jsii.String("policyStoreId"),
}
```

## Properties

- `identitySourceId`: string (required) — The IdentitySourceId of the IdentitySource resource.

- `policyStoreId`: string (required) — The PolicyStoreId of the IdentitySource resource.
