DataSourceReference Struct
A reference to a DataSource resource.
Example
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
# 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
// 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();
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"
};
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
The AwsAccountId of the DataSource resource.
dataSourceArnstringdata_source_arnstrdataSourceArnStringDataSourceArnstringDataSourceArn*stringrequired#The ARN of the DataSource resource.
The DataSourceId of the DataSource resource.