File tree Expand file tree Collapse file tree 2 files changed +15
-4
lines changed Expand file tree Collapse file tree 2 files changed +15
-4
lines changed Original file line number Diff line number Diff line change @@ -22,9 +22,9 @@ world-population.csv file in data directory taken from https://data.worldbank.or
2222License: CC BY-4.0
2323
2424## Build
25-
25+
2626To build this app, you need to be in this example's root folder. Then run the following:
27-
27+
2828``` bash
2929npm install -g aws-cdk
3030npm install
@@ -44,11 +44,23 @@ npm run build
44441 . Create a quicksight account [ by following these instructions] ( https://docs.aws.amazon.com/quicksight/latest/user/signing-up.html ) .
45452 . Use the arn of the quicksight account and pass it to cdk using a context ` cdk deploy --context quicksightAccountArn=<arn> `
4646
47+ The Quicksight account arn should look like this 'arn:aws:quicksight:\< region>:\< accountid>: user /\< namespace>/\< username>'
48+
49+ #### \< region>
50+ The aws region that contains the quicksight resources.
51+ #### \< accountid>
52+ This is your AWS account id.
53+ #### \< namespace>
54+ You can create a separate namespace, but if you haven't created one it should be 'default'.
55+ #### \< username>
56+ You can find the username in Quicksight. It should be the same as your IAM Account name
57+ and if you are using a role it will be added to the name as well like: \< role>/\< username>
58+
4759## Useful commands
4860
4961* ` npm run build ` compile typescript to js
5062* ` npm run watch ` watch for changes and compile
5163* ` npm run test ` perform the jest unit tests
5264* ` npx cdk deploy ` deploy this stack to your default AWS account/region
5365* ` npx cdk diff ` compare deployed stack with current state
54- * ` npx cdk synth ` emits the synthesized CloudFormation template
66+ * ` npx cdk synth ` emits the synthesized CloudFormation template
Original file line number Diff line number Diff line change 77 "scripts" : {
88 "build" : " tsc" ,
99 "watch" : " tsc -w" ,
10- "test" : " jest" ,
1110 "cdk" : " cdk"
1211 },
1312 "devDependencies" : {
You can’t perform that action at this time.
0 commit comments