# DataSourceReference

A reference to a DataSource 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_quicksight as interfaces_quicksight } from 'aws-cdk-lib/interfaces';
const dataSourceReference: interfaces_quicksight.DataSourceReference = {
  awsAccountId: 'awsAccountId',
  dataSourceArn: 'dataSourceArn',
  dataSourceId: 'dataSourceId',
};
```

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_quicksight as interfaces_quicksight

data_source_reference = interfaces_quicksight.DataSourceReference(
    aws_account_id="awsAccountId",
    data_source_arn="dataSourceArn",
    data_source_id="dataSourceId"
)
```

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.quicksight.*;

DataSourceReference dataSourceReference = DataSourceReference.builder()
        .awsAccountId("awsAccountId")
        .dataSourceArn("dataSourceArn")
        .dataSourceId("dataSourceId")
        .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.QuickSight;

var dataSourceReference = new DataSourceReference {
    AwsAccountId = "awsAccountId",
    DataSourceArn = "dataSourceArn",
    DataSourceId = "dataSourceId"
};
```

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"

dataSourceReference := &DataSourceReference{
	AwsAccountId: jsii.String("awsAccountId"),
	DataSourceArn: jsii.String("dataSourceArn"),
	DataSourceId: jsii.String("dataSourceId"),
}
```

## Properties

- `awsAccountId`: string (required) — The AwsAccountId of the DataSource resource.

- `dataSourceArn`: string (required) — The ARN of the DataSource resource.

- `dataSourceId`: string (required) — The DataSourceId of the DataSource resource.
