Skip to content

DataSource

Source: src/AWS/QuickSight/DataSource.ts

An Amazon QuickSight data source — a connection to an external data store that datasets read from.

QuickSight requires an active account subscription in the region. Without one, create operations fail with the typed QuickSightSubscriptionRequired error.

Athena Data Source

const source = yield* DataSource("analytics", {
name: "Athena Analytics",
type: "ATHENA",
dataSourceParameters: { AthenaParameters: { WorkGroup: "primary" } },
});

S3 Manifest Data Source

const source = yield* DataSource("s3-source", {
name: "S3 Sales Data",
type: "S3",
dataSourceParameters: {
S3Parameters: {
ManifestFileLocation: { Bucket: "my-bucket", Key: "manifest.json" },
},
},
});