diff over all: npm run cdk -- diff
deploye over all: npm run cdk -- deploy
ddb-kinesis-athena: DynamoDb -> DynamoDb Streams -> Kinesis Data Streams -> Data Firehose -> S3 -> Glue Crawler -> Athena
diff: npm run cdk:ddb-kinesis-athena -- diff
deploy: npm run cdk:ddb-kinesis-athena -- deploy
ddb-kinesis-athena: DynamoDb -> EventBridge Pipe (DynamoDb Streams -> Data Firehose) -> S3 -> Glue Crawler -> Athena
diff: npm run cdk:ddb-pipe-athena -- diff
deploy: npm run cdk:ddb-pipe-athena -- deploy
The config file controls the deplyoement options.
The formats JSON
and Parquet
can be choosen
export const config: Config = {
...
kinesisFormat: 'JSON',
...
}
export const config: Config = {
...
kinesisFormat: 'PARQUET',
...
}
export const config: Config = {
...
isQuicksight: true,
...
}
cd cdk
QUICKSIGHT_USERNAME=<<Quicksight user name>> npx cdk deploy
see more information here: https://dev.to/aws-builders/example-how-to-analyze-dynamodb-item-changes-with-kinesis-and-athena-created-with-cdk-1o6p