@aws-cdk/aws-redshift-alpha 2.27.0-alpha.0 → 2.28.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.jsii.tabl.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": "2",
3
- "toolVersion": "1.58.0",
3
+ "toolVersion": "1.60.1",
4
4
  "snippets": {
5
5
  "77425c7fd1ef15dd1574743be3c65278d07651c9c04e0bd9981eea74eda15594": {
6
6
  "translations": {
@@ -41,7 +41,8 @@
41
41
  "@aws-cdk/aws-redshift-alpha.ClusterProps",
42
42
  "@aws-cdk/aws-redshift-alpha.Login",
43
43
  "aws-cdk-lib.aws_ec2.IVpc",
44
- "aws-cdk-lib.aws_ec2.Vpc"
44
+ "aws-cdk-lib.aws_ec2.Vpc",
45
+ "constructs.Construct"
45
46
  ],
46
47
  "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Stack } from 'aws-cdk-lib';\nimport { Cluster } from '@aws-cdk/aws-redshift-alpha';\nimport { Construct } from 'constructs';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\n\nconst vpc = new ec2.Vpc(this, 'Vpc');\nconst cluster = new Cluster(this, 'Redshift', {\n masterUser: {\n masterUsername: 'admin',\n },\n vpc\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
47
48
  "syntaxKindCounter": {
@@ -61,7 +62,7 @@
61
62
  "282": 1,
62
63
  "290": 1
63
64
  },
64
- "fqnsFingerprint": "d883e521046814ffa708ae0270d659f51de78a8666365d0b99321f1806f03a6d"
65
+ "fqnsFingerprint": "704973ceabcd0c65f8267bb9d67bf1440c09b6bc223f94fe7b33ae438a5a99fa"
65
66
  },
66
67
  "585b6875877412a14dd2e8e16c2432d724a4db31d1a9f095692345f7966168b0": {
67
68
  "translations": {
@@ -200,7 +201,8 @@
200
201
  "@aws-cdk/aws-redshift-alpha.Login",
201
202
  "@aws-cdk/aws-redshift-alpha.User",
202
203
  "@aws-cdk/aws-redshift-alpha.UserProps",
203
- "aws-cdk-lib.aws_ec2.IVpc"
204
+ "aws-cdk-lib.aws_ec2.IVpc",
205
+ "constructs.Construct"
204
206
  ],
205
207
  "fullSource": "// Fixture with cluster already created\nimport { SecretValue, Stack } from 'aws-cdk-lib';\nimport { Vpc } from 'aws-cdk-lib/aws-ec2';\nimport { Cluster, Table, TableAction, TableDistStyle, TableSortStyle, User } from '@aws-cdk/aws-redshift-alpha';\nimport { Construct } from 'constructs';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n const vpc = new Vpc(this, 'Vpc');\n const cluster = new Cluster(this, 'Cluster', {\n vpc,\n masterUser: {\n masterUsername: 'admin',\n },\n });\n\n // Code snippet begins after !show marker below\n/// !show\nnew User(this, 'User', {\n cluster: cluster,\n databaseName: 'databaseName',\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
206
208
  "syntaxKindCounter": {
@@ -212,7 +214,7 @@
212
214
  "226": 1,
213
215
  "281": 2
214
216
  },
215
- "fqnsFingerprint": "16646384087b8047a43baf9174409e4aa6c2afab638b894e5af6120982a5ee40"
217
+ "fqnsFingerprint": "7576f8c15c9da5848e9073e52f7cb5576d7819af96d00cfef333e62f5433a6de"
216
218
  },
217
219
  "7cf073ffb5972e1259d951481763f8da403e1fee297039b18b7a0ef91445d9b9": {
218
220
  "translations": {
@@ -255,7 +257,8 @@
255
257
  "@aws-cdk/aws-redshift-alpha.UserProps",
256
258
  "aws-cdk-lib.aws_ec2.IVpc",
257
259
  "aws-cdk-lib.aws_kms.IKey",
258
- "aws-cdk-lib.aws_kms.Key"
260
+ "aws-cdk-lib.aws_kms.Key",
261
+ "constructs.Construct"
259
262
  ],
260
263
  "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\nimport * as kms from 'aws-cdk-lib/aws-kms';\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with cluster already created\nimport { SecretValue, Stack } from 'aws-cdk-lib';\nimport { Vpc } from 'aws-cdk-lib/aws-ec2';\nimport { Cluster, Table, TableAction, TableDistStyle, TableSortStyle, User } from '@aws-cdk/aws-redshift-alpha';\nimport { Construct } from 'constructs';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n const vpc = new Vpc(this, 'Vpc');\n const cluster = new Cluster(this, 'Cluster', {\n vpc,\n masterUser: {\n masterUsername: 'admin',\n },\n });\n\n // Code snippet begins after !show marker below\n/// !show\n\n\nconst encryptionKey = new kms.Key(this, 'Key');\nnew User(this, 'User', {\n encryptionKey: encryptionKey,\n cluster: cluster,\n databaseName: 'databaseName',\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
261
264
  "syntaxKindCounter": {
@@ -275,7 +278,7 @@
275
278
  "281": 3,
276
279
  "290": 1
277
280
  },
278
- "fqnsFingerprint": "b43c7f160818be932e93c95eb5d30c63dd41b426834613878e6e0a111a5c0e2c"
281
+ "fqnsFingerprint": "ef3c7f02c26df3aa2969a56441b37bf3845ac91ec63b5b82bec86c2ab51c9aac"
279
282
  },
280
283
  "8b226b5e5f30a1e1dd1cdf8a2c4bb393bf11672cb0f8390eba8f0d4ce86c2b29": {
281
284
  "translations": {
@@ -316,7 +319,8 @@
316
319
  "@aws-cdk/aws-redshift-alpha.Login",
317
320
  "@aws-cdk/aws-redshift-alpha.User",
318
321
  "@aws-cdk/aws-redshift-alpha.UserProps",
319
- "aws-cdk-lib.aws_ec2.IVpc"
322
+ "aws-cdk-lib.aws_ec2.IVpc",
323
+ "constructs.Construct"
320
324
  ],
321
325
  "fullSource": "// Fixture with cluster already created\nimport { SecretValue, Stack } from 'aws-cdk-lib';\nimport { Vpc } from 'aws-cdk-lib/aws-ec2';\nimport { Cluster, Table, TableAction, TableDistStyle, TableSortStyle, User } from '@aws-cdk/aws-redshift-alpha';\nimport { Construct } from 'constructs';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n const vpc = new Vpc(this, 'Vpc');\n const cluster = new Cluster(this, 'Cluster', {\n vpc,\n masterUser: {\n masterUsername: 'admin',\n },\n });\n\n // Code snippet begins after !show marker below\n/// !show\nnew User(this, 'User', {\n username: 'myuser',\n cluster: cluster,\n databaseName: 'databaseName',\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
322
326
  "syntaxKindCounter": {
@@ -328,7 +332,7 @@
328
332
  "226": 1,
329
333
  "281": 3
330
334
  },
331
- "fqnsFingerprint": "16646384087b8047a43baf9174409e4aa6c2afab638b894e5af6120982a5ee40"
335
+ "fqnsFingerprint": "7576f8c15c9da5848e9073e52f7cb5576d7819af96d00cfef333e62f5433a6de"
332
336
  },
333
337
  "51173779cc099a9ee0c91df2a0c3ca5d4940c309c4927477053b972d5c7012a7": {
334
338
  "translations": {
@@ -369,7 +373,8 @@
369
373
  "@aws-cdk/aws-redshift-alpha.Login",
370
374
  "@aws-cdk/aws-redshift-alpha.Table",
371
375
  "@aws-cdk/aws-redshift-alpha.TableProps",
372
- "aws-cdk-lib.aws_ec2.IVpc"
376
+ "aws-cdk-lib.aws_ec2.IVpc",
377
+ "constructs.Construct"
373
378
  ],
374
379
  "fullSource": "// Fixture with cluster already created\nimport { SecretValue, Stack } from 'aws-cdk-lib';\nimport { Vpc } from 'aws-cdk-lib/aws-ec2';\nimport { Cluster, Table, TableAction, TableDistStyle, TableSortStyle, User } from '@aws-cdk/aws-redshift-alpha';\nimport { Construct } from 'constructs';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n const vpc = new Vpc(this, 'Vpc');\n const cluster = new Cluster(this, 'Cluster', {\n vpc,\n masterUser: {\n masterUsername: 'admin',\n },\n });\n\n // Code snippet begins after !show marker below\n/// !show\nnew Table(this, 'Table', {\n tableColumns: [{ name: 'col1', dataType: 'varchar(4)' }, { name: 'col2', dataType: 'float' }],\n cluster: cluster,\n databaseName: 'databaseName',\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
375
380
  "syntaxKindCounter": {
@@ -382,7 +387,7 @@
382
387
  "226": 1,
383
388
  "281": 7
384
389
  },
385
- "fqnsFingerprint": "b327a9fcbf633f1548a8d577dd9b1d94d484d594e34e23d8fa60372290b2f2c6"
390
+ "fqnsFingerprint": "12958a2f1a5fbd1e011768ad810175233e53df0b5f6c6aa27d110edfcc9cbd4f"
386
391
  },
387
392
  "aad92f9790d1e46c93d01e7996a2c3516cc660f3bbcf1f752db71f9d7aec0844": {
388
393
  "translations": {
@@ -425,7 +430,8 @@
425
430
  "@aws-cdk/aws-redshift-alpha.TableDistStyle",
426
431
  "@aws-cdk/aws-redshift-alpha.TableDistStyle#KEY",
427
432
  "@aws-cdk/aws-redshift-alpha.TableProps",
428
- "aws-cdk-lib.aws_ec2.IVpc"
433
+ "aws-cdk-lib.aws_ec2.IVpc",
434
+ "constructs.Construct"
429
435
  ],
430
436
  "fullSource": "// Fixture with cluster already created\nimport { SecretValue, Stack } from 'aws-cdk-lib';\nimport { Vpc } from 'aws-cdk-lib/aws-ec2';\nimport { Cluster, Table, TableAction, TableDistStyle, TableSortStyle, User } from '@aws-cdk/aws-redshift-alpha';\nimport { Construct } from 'constructs';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n const vpc = new Vpc(this, 'Vpc');\n const cluster = new Cluster(this, 'Cluster', {\n vpc,\n masterUser: {\n masterUsername: 'admin',\n },\n });\n\n // Code snippet begins after !show marker below\n/// !show\nnew Table(this, 'Table', {\n tableColumns: [\n { name: 'col1', dataType: 'varchar(4)', distKey: true },\n { name: 'col2', dataType: 'float' },\n ],\n cluster: cluster,\n databaseName: 'databaseName',\n distStyle: TableDistStyle.KEY,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
431
437
  "syntaxKindCounter": {
@@ -440,7 +446,7 @@
440
446
  "226": 1,
441
447
  "281": 9
442
448
  },
443
- "fqnsFingerprint": "595704c3bf650d5980ae09f43716069977fa8928ca21a873729ea7904716c264"
449
+ "fqnsFingerprint": "f9efc790b6408fbdda64ed7d04290df8bc69cd7c284a05f89cc7dc278fb8bd7b"
444
450
  },
445
451
  "5dabd6075cf5a4e05b77f35019b5909e7f3107d296e8a29d7b241f560dfbaeb7": {
446
452
  "translations": {
@@ -483,7 +489,8 @@
483
489
  "@aws-cdk/aws-redshift-alpha.TableProps",
484
490
  "@aws-cdk/aws-redshift-alpha.TableSortStyle",
485
491
  "@aws-cdk/aws-redshift-alpha.TableSortStyle#COMPOUND",
486
- "aws-cdk-lib.aws_ec2.IVpc"
492
+ "aws-cdk-lib.aws_ec2.IVpc",
493
+ "constructs.Construct"
487
494
  ],
488
495
  "fullSource": "// Fixture with cluster already created\nimport { SecretValue, Stack } from 'aws-cdk-lib';\nimport { Vpc } from 'aws-cdk-lib/aws-ec2';\nimport { Cluster, Table, TableAction, TableDistStyle, TableSortStyle, User } from '@aws-cdk/aws-redshift-alpha';\nimport { Construct } from 'constructs';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n const vpc = new Vpc(this, 'Vpc');\n const cluster = new Cluster(this, 'Cluster', {\n vpc,\n masterUser: {\n masterUsername: 'admin',\n },\n });\n\n // Code snippet begins after !show marker below\n/// !show\nnew Table(this, 'Table', {\n tableColumns: [\n { name: 'col1', dataType: 'varchar(4)', sortKey: true },\n { name: 'col2', dataType: 'float', sortKey: true },\n ],\n cluster: cluster,\n databaseName: 'databaseName',\n sortStyle: TableSortStyle.COMPOUND,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
489
496
  "syntaxKindCounter": {
@@ -498,7 +505,7 @@
498
505
  "226": 1,
499
506
  "281": 10
500
507
  },
501
- "fqnsFingerprint": "09d8978a9fc9feef3c8a91be4c12cbf0c7cd81402961fd4a0fe7a49ebd41a904"
508
+ "fqnsFingerprint": "32de0f04abd3d455e58ccbade2d97d09d1caf0825b1d7e6e631a3012c7d5d43e"
502
509
  },
503
510
  "1480b6e1d343428ee577d62201289b975f6f40a5bde029a5216d1505fba1ce6b": {
504
511
  "translations": {
@@ -545,7 +552,8 @@
545
552
  "@aws-cdk/aws-redshift-alpha.TableProps",
546
553
  "@aws-cdk/aws-redshift-alpha.User",
547
554
  "@aws-cdk/aws-redshift-alpha.UserProps",
548
- "aws-cdk-lib.aws_ec2.IVpc"
555
+ "aws-cdk-lib.aws_ec2.IVpc",
556
+ "constructs.Construct"
549
557
  ],
550
558
  "fullSource": "// Fixture with cluster already created\nimport { SecretValue, Stack } from 'aws-cdk-lib';\nimport { Vpc } from 'aws-cdk-lib/aws-ec2';\nimport { Cluster, Table, TableAction, TableDistStyle, TableSortStyle, User } from '@aws-cdk/aws-redshift-alpha';\nimport { Construct } from 'constructs';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n const vpc = new Vpc(this, 'Vpc');\n const cluster = new Cluster(this, 'Cluster', {\n vpc,\n masterUser: {\n masterUsername: 'admin',\n },\n });\n\n // Code snippet begins after !show marker below\n/// !show\nconst user = new User(this, 'User', {\n cluster: cluster,\n databaseName: 'databaseName',\n});\nconst table = new Table(this, 'Table', {\n tableColumns: [{ name: 'col1', dataType: 'varchar(4)' }, { name: 'col2', dataType: 'float' }],\n cluster: cluster,\n databaseName: 'databaseName',\n});\n\ntable.grant(user, TableAction.DROP, TableAction.SELECT);\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
551
559
  "syntaxKindCounter": {
@@ -563,7 +571,7 @@
563
571
  "243": 2,
564
572
  "281": 9
565
573
  },
566
- "fqnsFingerprint": "b0e35dd12ed24a8dac1aa1e8decdea00e2ea88cc1f88357511173c05be17bd69"
574
+ "fqnsFingerprint": "fc22f95a25bed2c5f558f90460649abe8cca0e1bc4be400997275e677d27fd6d"
567
575
  },
568
576
  "b4379cc01ad5b391d08ae26db568d0016283c7d1b7af31f79f4e1566aa2437f3": {
569
577
  "translations": {
@@ -609,7 +617,8 @@
609
617
  "@aws-cdk/aws-redshift-alpha.TableProps",
610
618
  "@aws-cdk/aws-redshift-alpha.User",
611
619
  "@aws-cdk/aws-redshift-alpha.UserProps",
612
- "aws-cdk-lib.aws_ec2.IVpc"
620
+ "aws-cdk-lib.aws_ec2.IVpc",
621
+ "constructs.Construct"
613
622
  ],
614
623
  "fullSource": "// Fixture with cluster already created\nimport { SecretValue, Stack } from 'aws-cdk-lib';\nimport { Vpc } from 'aws-cdk-lib/aws-ec2';\nimport { Cluster, Table, TableAction, TableDistStyle, TableSortStyle, User } from '@aws-cdk/aws-redshift-alpha';\nimport { Construct } from 'constructs';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n const vpc = new Vpc(this, 'Vpc');\n const cluster = new Cluster(this, 'Cluster', {\n vpc,\n masterUser: {\n masterUsername: 'admin',\n },\n });\n\n // Code snippet begins after !show marker below\n/// !show\nconst databaseName = 'databaseName';\nconst username = 'myuser'\nconst tableName = 'mytable'\n\nconst user = new User(this, 'User', {\n username: username,\n cluster: cluster,\n databaseName: databaseName,\n});\nconst table = new Table(this, 'Table', {\n tableColumns: [{ name: 'col1', dataType: 'varchar(4)' }, { name: 'col2', dataType: 'float' }],\n cluster: cluster,\n databaseName: databaseName,\n});\ntable.grant(user, TableAction.INSERT);\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
615
624
  "syntaxKindCounter": {
@@ -627,7 +636,7 @@
627
636
  "243": 5,
628
637
  "281": 10
629
638
  },
630
- "fqnsFingerprint": "c30208cd37badf3aa87f456f4dee4bcdf6ed611f9ef87892ce992175e6f0eea0"
639
+ "fqnsFingerprint": "d0cba0a2e47ef4f8458e0cdcc56276973f515ad2274b0b2b62e5fae0ca932fad"
631
640
  },
632
641
  "4c475aa8a5033226be368837c77b941d105e17ad04c77aab59db06c8be9b9ac7": {
633
642
  "translations": {
@@ -677,7 +686,8 @@
677
686
  "@aws-cdk/aws-redshift-alpha.UserAttributes",
678
687
  "aws-cdk-lib.SecretValue",
679
688
  "aws-cdk-lib.SecretValue#unsafePlainText",
680
- "aws-cdk-lib.aws_ec2.IVpc"
689
+ "aws-cdk-lib.aws_ec2.IVpc",
690
+ "constructs.Construct"
681
691
  ],
682
692
  "fullSource": "// Fixture with cluster already created\nimport { SecretValue, Stack } from 'aws-cdk-lib';\nimport { Vpc } from 'aws-cdk-lib/aws-ec2';\nimport { Cluster, Table, TableAction, TableDistStyle, TableSortStyle, User } from '@aws-cdk/aws-redshift-alpha';\nimport { Construct } from 'constructs';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n const vpc = new Vpc(this, 'Vpc');\n const cluster = new Cluster(this, 'Cluster', {\n vpc,\n masterUser: {\n masterUsername: 'admin',\n },\n });\n\n // Code snippet begins after !show marker below\n/// !show\nconst databaseName = 'databaseName';\nconst username = 'myuser'\nconst tableName = 'mytable'\n\nconst user = User.fromUserAttributes(this, 'User', {\n username: username,\n password: SecretValue.unsafePlainText('NOT_FOR_PRODUCTION'),\n cluster: cluster,\n databaseName: databaseName,\n});\nconst table = Table.fromTableAttributes(this, 'Table', {\n tableName: tableName,\n tableColumns: [{ name: 'col1', dataType: 'varchar(4)' }, { name: 'col2', dataType: 'float' }],\n cluster: cluster,\n databaseName: 'databaseName',\n});\ntable.grant(user, TableAction.INSERT);\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
683
693
  "syntaxKindCounter": {
@@ -694,7 +704,7 @@
694
704
  "243": 5,
695
705
  "281": 12
696
706
  },
697
- "fqnsFingerprint": "198a39fe4c97c2abe14c269c0b7385f8a841d9d7bc23be924ee36145e0e35712"
707
+ "fqnsFingerprint": "579425d7b61837dcd5f9e5bf142e9477262502b81b1fba6112aab1fc32285d5d"
698
708
  },
699
709
  "ea7697f36a541ca083e3f22fdf5be6a1d19936e9af89c79f4491e89041cc4c86": {
700
710
  "translations": {
@@ -787,7 +797,8 @@
787
797
  "@aws-cdk/aws-redshift-alpha.User#secret",
788
798
  "@aws-cdk/aws-redshift-alpha.UserProps",
789
799
  "aws-cdk-lib.aws_ec2.IVpc",
790
- "aws-cdk-lib.aws_secretsmanager.ISecret"
800
+ "aws-cdk-lib.aws_secretsmanager.ISecret",
801
+ "constructs.Construct"
791
802
  ],
792
803
  "fullSource": "// Fixture with cluster already created\nimport { SecretValue, Stack } from 'aws-cdk-lib';\nimport { Vpc } from 'aws-cdk-lib/aws-ec2';\nimport { Cluster, Table, TableAction, TableDistStyle, TableSortStyle, User } from '@aws-cdk/aws-redshift-alpha';\nimport { Construct } from 'constructs';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n const vpc = new Vpc(this, 'Vpc');\n const cluster = new Cluster(this, 'Cluster', {\n vpc,\n masterUser: {\n masterUsername: 'admin',\n },\n });\n\n // Code snippet begins after !show marker below\n/// !show\n\nconst user = new User(this, 'User', {\n cluster: cluster,\n databaseName: 'databaseName',\n});\ncluster.addRotationMultiUser('MultiUserRotation', {\n secret: user.secret,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
793
804
  "syntaxKindCounter": {
@@ -804,7 +815,7 @@
804
815
  "243": 1,
805
816
  "281": 3
806
817
  },
807
- "fqnsFingerprint": "5e712cab93662ff36584e5cc198e11e86097f0fb81d3909de6a022232db5bc3b"
818
+ "fqnsFingerprint": "33d57076fcd7dc5d3cb09965d7fdd3ef6bdf88cf8d0660fd2de974bdbca7f52d"
808
819
  },
809
820
  "00e955f4e1ddfc2b0815c24fae2e7cff3ac6ffe45bcf8e64b556074b9678e53f": {
810
821
  "translations": {
@@ -844,7 +855,8 @@
844
855
  "@aws-cdk/aws-redshift-alpha.ClusterProps",
845
856
  "@aws-cdk/aws-redshift-alpha.Login",
846
857
  "aws-cdk-lib.aws_ec2.IVpc",
847
- "aws-cdk-lib.aws_ec2.Vpc"
858
+ "aws-cdk-lib.aws_ec2.Vpc",
859
+ "constructs.Construct"
848
860
  ],
849
861
  "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Stack } from 'aws-cdk-lib';\nimport { Cluster } from '@aws-cdk/aws-redshift-alpha';\nimport { Construct } from 'constructs';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\n\nconst vpc = new ec2.Vpc(this, 'Vpc');\nconst cluster = new Cluster(this, 'Redshift', {\n masterUser: {\n masterUsername: 'admin',\n },\n vpc\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
850
862
  "syntaxKindCounter": {
@@ -864,7 +876,7 @@
864
876
  "282": 1,
865
877
  "290": 1
866
878
  },
867
- "fqnsFingerprint": "d883e521046814ffa708ae0270d659f51de78a8666365d0b99321f1806f03a6d"
879
+ "fqnsFingerprint": "704973ceabcd0c65f8267bb9d67bf1440c09b6bc223f94fe7b33ae438a5a99fa"
868
880
  },
869
881
  "d6c41af477f219a992322c044392d17fe1bf965cae8a8110aa4110e61ca2f64f": {
870
882
  "translations": {
@@ -960,7 +972,8 @@
960
972
  "didCompile": true,
961
973
  "fqnsReferenced": [
962
974
  "@aws-cdk/aws-redshift-alpha.ClusterParameterGroup",
963
- "@aws-cdk/aws-redshift-alpha.ClusterParameterGroupProps"
975
+ "@aws-cdk/aws-redshift-alpha.ClusterParameterGroupProps",
976
+ "constructs.Construct"
964
977
  ],
965
978
  "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as redshift_alpha from '@aws-cdk/aws-redshift-alpha';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"constructs\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst clusterParameterGroup = new redshift_alpha.ClusterParameterGroup(this, 'MyClusterParameterGroup', {\n parameters: {\n parametersKey: 'parameters',\n },\n\n // the properties below are optional\n description: 'description',\n});\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
966
979
  "syntaxKindCounter": {
@@ -979,7 +992,7 @@
979
992
  "281": 3,
980
993
  "290": 1
981
994
  },
982
- "fqnsFingerprint": "775f59eade40a5e01c64aff288ab7922fc78756d7958fa6c0a0b35a1f56b11e3"
995
+ "fqnsFingerprint": "ba2e9fe4ec0bb4575015b1fa55ef8bce13adbff3933b3d369ec11d86f43cff83"
983
996
  },
984
997
  "668d0c5fe079c3e36b822c3c1f1c479f3b651c6374572bcc88da7ece64888418": {
985
998
  "translations": {
@@ -1073,7 +1086,8 @@
1073
1086
  "@aws-cdk/aws-redshift-alpha.ClusterProps",
1074
1087
  "@aws-cdk/aws-redshift-alpha.Login",
1075
1088
  "aws-cdk-lib.aws_ec2.IVpc",
1076
- "aws-cdk-lib.aws_ec2.Vpc"
1089
+ "aws-cdk-lib.aws_ec2.Vpc",
1090
+ "constructs.Construct"
1077
1091
  ],
1078
1092
  "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Stack } from 'aws-cdk-lib';\nimport { Cluster } from '@aws-cdk/aws-redshift-alpha';\nimport { Construct } from 'constructs';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\n\nconst vpc = new ec2.Vpc(this, 'Vpc');\nconst cluster = new Cluster(this, 'Redshift', {\n masterUser: {\n masterUsername: 'admin',\n },\n vpc\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
1079
1093
  "syntaxKindCounter": {
@@ -1093,7 +1107,7 @@
1093
1107
  "282": 1,
1094
1108
  "290": 1
1095
1109
  },
1096
- "fqnsFingerprint": "d883e521046814ffa708ae0270d659f51de78a8666365d0b99321f1806f03a6d"
1110
+ "fqnsFingerprint": "704973ceabcd0c65f8267bb9d67bf1440c09b6bc223f94fe7b33ae438a5a99fa"
1097
1111
  },
1098
1112
  "51118bb4d5c3de88213dac23d2877a4e785360769254185a9eb4e89b0a0d989a": {
1099
1113
  "translations": {
@@ -1136,7 +1150,8 @@
1136
1150
  "aws-cdk-lib.aws_ec2.IVpc",
1137
1151
  "aws-cdk-lib.aws_ec2.SubnetSelection",
1138
1152
  "aws-cdk-lib.aws_ec2.SubnetType",
1139
- "aws-cdk-lib.aws_ec2.SubnetType#PRIVATE_ISOLATED"
1153
+ "aws-cdk-lib.aws_ec2.SubnetType#PRIVATE_ISOLATED",
1154
+ "constructs.Construct"
1140
1155
  ],
1141
1156
  "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as redshift_alpha from '@aws-cdk/aws-redshift-alpha';\nimport * as cdk from 'aws-cdk-lib';\nimport { aws_ec2 as ec2 } from 'aws-cdk-lib';\n\ndeclare const subnet: ec2.Subnet;\ndeclare const subnetFilter: ec2.SubnetFilter;\ndeclare const vpc: ec2.Vpc;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"constructs\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst clusterSubnetGroup = new redshift_alpha.ClusterSubnetGroup(this, 'MyClusterSubnetGroup', {\n description: 'description',\n vpc: vpc,\n\n // the properties below are optional\n removalPolicy: cdk.RemovalPolicy.DESTROY,\n vpcSubnets: {\n availabilityZones: ['availabilityZones'],\n onePerAz: false,\n subnetFilters: [subnetFilter],\n subnetGroupName: 'subnetGroupName',\n subnets: [subnet],\n subnetType: ec2.SubnetType.PRIVATE_ISOLATED,\n },\n});\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
1142
1157
  "syntaxKindCounter": {
@@ -1162,7 +1177,7 @@
1162
1177
  "281": 10,
1163
1178
  "290": 1
1164
1179
  },
1165
- "fqnsFingerprint": "14559e0f1397e3ed2cc01a0b77c04d7ed068b01e98c1d240f5b8698e34234e08"
1180
+ "fqnsFingerprint": "b790f2879cb51e5f1ac219805b6a23ae668bedb85f930a0fa1e06554f9abfa92"
1166
1181
  },
1167
1182
  "cacf629afc7210cdf46232db41dea37b5ea7283b293ab5c51b1a6383b15dd69f": {
1168
1183
  "translations": {
@@ -1380,7 +1395,8 @@
1380
1395
  "fqnsReferenced": [
1381
1396
  "@aws-cdk/aws-redshift-alpha.DatabaseSecret",
1382
1397
  "@aws-cdk/aws-redshift-alpha.DatabaseSecretProps",
1383
- "aws-cdk-lib.aws_kms.IKey"
1398
+ "aws-cdk-lib.aws_kms.IKey",
1399
+ "constructs.Construct"
1384
1400
  ],
1385
1401
  "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as redshift_alpha from '@aws-cdk/aws-redshift-alpha';\nimport { aws_kms as kms } from 'aws-cdk-lib';\n\ndeclare const key: kms.Key;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"constructs\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst databaseSecret = new redshift_alpha.DatabaseSecret(this, 'MyDatabaseSecret', {\n username: 'username',\n\n // the properties below are optional\n encryptionKey: key,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
1386
1402
  "syntaxKindCounter": {
@@ -1404,7 +1420,7 @@
1404
1420
  "281": 2,
1405
1421
  "290": 1
1406
1422
  },
1407
- "fqnsFingerprint": "64d6e2ab607e032c83837e15ae08d7f14bff0d63f5f1e0cd5b993bb46c6a5ce3"
1423
+ "fqnsFingerprint": "10d65e821ff48cad584fb4b8db669e966fce5c3fddd1e829296b1603d9168126"
1408
1424
  },
1409
1425
  "137822026ba7f09588c483e8a9294bef457823e48fb16bab283aafb4229bdc3d": {
1410
1426
  "translations": {
@@ -1559,7 +1575,8 @@
1559
1575
  "@aws-cdk/aws-redshift-alpha.User#secret",
1560
1576
  "@aws-cdk/aws-redshift-alpha.UserProps",
1561
1577
  "aws-cdk-lib.aws_ec2.IVpc",
1562
- "aws-cdk-lib.aws_secretsmanager.ISecret"
1578
+ "aws-cdk-lib.aws_secretsmanager.ISecret",
1579
+ "constructs.Construct"
1563
1580
  ],
1564
1581
  "fullSource": "// Fixture with cluster already created\nimport { SecretValue, Stack } from 'aws-cdk-lib';\nimport { Vpc } from 'aws-cdk-lib/aws-ec2';\nimport { Cluster, Table, TableAction, TableDistStyle, TableSortStyle, User } from '@aws-cdk/aws-redshift-alpha';\nimport { Construct } from 'constructs';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n const vpc = new Vpc(this, 'Vpc');\n const cluster = new Cluster(this, 'Cluster', {\n vpc,\n masterUser: {\n masterUsername: 'admin',\n },\n });\n\n // Code snippet begins after !show marker below\n/// !show\n\nconst user = new User(this, 'User', {\n cluster: cluster,\n databaseName: 'databaseName',\n});\ncluster.addRotationMultiUser('MultiUserRotation', {\n secret: user.secret,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
1565
1582
  "syntaxKindCounter": {
@@ -1576,7 +1593,7 @@
1576
1593
  "243": 1,
1577
1594
  "281": 3
1578
1595
  },
1579
- "fqnsFingerprint": "5e712cab93662ff36584e5cc198e11e86097f0fb81d3909de6a022232db5bc3b"
1596
+ "fqnsFingerprint": "33d57076fcd7dc5d3cb09965d7fdd3ef6bdf88cf8d0660fd2de974bdbca7f52d"
1580
1597
  },
1581
1598
  "ad6779b5715455f5ffcbd38817eb41157a6f5e479549a17625678b92df020204": {
1582
1599
  "translations": {
@@ -1620,7 +1637,8 @@
1620
1637
  "@aws-cdk/aws-redshift-alpha.User#secret",
1621
1638
  "@aws-cdk/aws-redshift-alpha.UserProps",
1622
1639
  "aws-cdk-lib.aws_ec2.IVpc",
1623
- "aws-cdk-lib.aws_secretsmanager.ISecret"
1640
+ "aws-cdk-lib.aws_secretsmanager.ISecret",
1641
+ "constructs.Construct"
1624
1642
  ],
1625
1643
  "fullSource": "// Fixture with cluster already created\nimport { SecretValue, Stack } from 'aws-cdk-lib';\nimport { Vpc } from 'aws-cdk-lib/aws-ec2';\nimport { Cluster, Table, TableAction, TableDistStyle, TableSortStyle, User } from '@aws-cdk/aws-redshift-alpha';\nimport { Construct } from 'constructs';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n const vpc = new Vpc(this, 'Vpc');\n const cluster = new Cluster(this, 'Cluster', {\n vpc,\n masterUser: {\n masterUsername: 'admin',\n },\n });\n\n // Code snippet begins after !show marker below\n/// !show\n\nconst user = new User(this, 'User', {\n cluster: cluster,\n databaseName: 'databaseName',\n});\ncluster.addRotationMultiUser('MultiUserRotation', {\n secret: user.secret,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
1626
1644
  "syntaxKindCounter": {
@@ -1637,7 +1655,7 @@
1637
1655
  "243": 1,
1638
1656
  "281": 3
1639
1657
  },
1640
- "fqnsFingerprint": "5e712cab93662ff36584e5cc198e11e86097f0fb81d3909de6a022232db5bc3b"
1658
+ "fqnsFingerprint": "33d57076fcd7dc5d3cb09965d7fdd3ef6bdf88cf8d0660fd2de974bdbca7f52d"
1641
1659
  },
1642
1660
  "2b20eccb399b788ea8ecc892abfae9f31369b856fbe61ed42c4bd8fac0a5bb1c": {
1643
1661
  "translations": {
@@ -1679,7 +1697,8 @@
1679
1697
  "@aws-cdk/aws-redshift-alpha.TableDistStyle",
1680
1698
  "@aws-cdk/aws-redshift-alpha.TableDistStyle#KEY",
1681
1699
  "@aws-cdk/aws-redshift-alpha.TableProps",
1682
- "aws-cdk-lib.aws_ec2.IVpc"
1700
+ "aws-cdk-lib.aws_ec2.IVpc",
1701
+ "constructs.Construct"
1683
1702
  ],
1684
1703
  "fullSource": "// Fixture with cluster already created\nimport { SecretValue, Stack } from 'aws-cdk-lib';\nimport { Vpc } from 'aws-cdk-lib/aws-ec2';\nimport { Cluster, Table, TableAction, TableDistStyle, TableSortStyle, User } from '@aws-cdk/aws-redshift-alpha';\nimport { Construct } from 'constructs';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n const vpc = new Vpc(this, 'Vpc');\n const cluster = new Cluster(this, 'Cluster', {\n vpc,\n masterUser: {\n masterUsername: 'admin',\n },\n });\n\n // Code snippet begins after !show marker below\n/// !show\nnew Table(this, 'Table', {\n tableColumns: [\n { name: 'col1', dataType: 'varchar(4)', distKey: true },\n { name: 'col2', dataType: 'float' },\n ],\n cluster: cluster,\n databaseName: 'databaseName',\n distStyle: TableDistStyle.KEY,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
1685
1704
  "syntaxKindCounter": {
@@ -1694,7 +1713,7 @@
1694
1713
  "226": 1,
1695
1714
  "281": 9
1696
1715
  },
1697
- "fqnsFingerprint": "595704c3bf650d5980ae09f43716069977fa8928ca21a873729ea7904716c264"
1716
+ "fqnsFingerprint": "f9efc790b6408fbdda64ed7d04290df8bc69cd7c284a05f89cc7dc278fb8bd7b"
1698
1717
  },
1699
1718
  "91729184329521792ab5572ab15ce150ce589686a01c22a256663eaf6c6aae16": {
1700
1719
  "translations": {
@@ -1739,7 +1758,8 @@
1739
1758
  "@aws-cdk/aws-redshift-alpha.TableProps",
1740
1759
  "@aws-cdk/aws-redshift-alpha.User",
1741
1760
  "@aws-cdk/aws-redshift-alpha.UserProps",
1742
- "aws-cdk-lib.aws_ec2.IVpc"
1761
+ "aws-cdk-lib.aws_ec2.IVpc",
1762
+ "constructs.Construct"
1743
1763
  ],
1744
1764
  "fullSource": "// Fixture with cluster already created\nimport { SecretValue, Stack } from 'aws-cdk-lib';\nimport { Vpc } from 'aws-cdk-lib/aws-ec2';\nimport { Cluster, Table, TableAction, TableDistStyle, TableSortStyle, User } from '@aws-cdk/aws-redshift-alpha';\nimport { Construct } from 'constructs';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n const vpc = new Vpc(this, 'Vpc');\n const cluster = new Cluster(this, 'Cluster', {\n vpc,\n masterUser: {\n masterUsername: 'admin',\n },\n });\n\n // Code snippet begins after !show marker below\n/// !show\nconst databaseName = 'databaseName';\nconst username = 'myuser'\nconst tableName = 'mytable'\n\nconst user = new User(this, 'User', {\n username: username,\n cluster: cluster,\n databaseName: databaseName,\n});\nconst table = new Table(this, 'Table', {\n tableColumns: [{ name: 'col1', dataType: 'varchar(4)' }, { name: 'col2', dataType: 'float' }],\n cluster: cluster,\n databaseName: databaseName,\n});\ntable.grant(user, TableAction.INSERT);\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
1745
1765
  "syntaxKindCounter": {
@@ -1757,7 +1777,7 @@
1757
1777
  "243": 5,
1758
1778
  "281": 10
1759
1779
  },
1760
- "fqnsFingerprint": "c30208cd37badf3aa87f456f4dee4bcdf6ed611f9ef87892ce992175e6f0eea0"
1780
+ "fqnsFingerprint": "d0cba0a2e47ef4f8458e0cdcc56276973f515ad2274b0b2b62e5fae0ca932fad"
1761
1781
  },
1762
1782
  "01eb515e25d8cf30dd33a23151a9c98a9c6ced1abdff144b661dfb415078489a": {
1763
1783
  "translations": {
@@ -1806,7 +1826,8 @@
1806
1826
  "@aws-cdk/aws-redshift-alpha.UserAttributes",
1807
1827
  "aws-cdk-lib.SecretValue",
1808
1828
  "aws-cdk-lib.SecretValue#unsafePlainText",
1809
- "aws-cdk-lib.aws_ec2.IVpc"
1829
+ "aws-cdk-lib.aws_ec2.IVpc",
1830
+ "constructs.Construct"
1810
1831
  ],
1811
1832
  "fullSource": "// Fixture with cluster already created\nimport { SecretValue, Stack } from 'aws-cdk-lib';\nimport { Vpc } from 'aws-cdk-lib/aws-ec2';\nimport { Cluster, Table, TableAction, TableDistStyle, TableSortStyle, User } from '@aws-cdk/aws-redshift-alpha';\nimport { Construct } from 'constructs';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n const vpc = new Vpc(this, 'Vpc');\n const cluster = new Cluster(this, 'Cluster', {\n vpc,\n masterUser: {\n masterUsername: 'admin',\n },\n });\n\n // Code snippet begins after !show marker below\n/// !show\nconst databaseName = 'databaseName';\nconst username = 'myuser'\nconst tableName = 'mytable'\n\nconst user = User.fromUserAttributes(this, 'User', {\n username: username,\n password: SecretValue.unsafePlainText('NOT_FOR_PRODUCTION'),\n cluster: cluster,\n databaseName: databaseName,\n});\nconst table = Table.fromTableAttributes(this, 'Table', {\n tableName: tableName,\n tableColumns: [{ name: 'col1', dataType: 'varchar(4)' }, { name: 'col2', dataType: 'float' }],\n cluster: cluster,\n databaseName: 'databaseName',\n});\ntable.grant(user, TableAction.INSERT);\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
1812
1833
  "syntaxKindCounter": {
@@ -1823,7 +1844,7 @@
1823
1844
  "243": 5,
1824
1845
  "281": 12
1825
1846
  },
1826
- "fqnsFingerprint": "198a39fe4c97c2abe14c269c0b7385f8a841d9d7bc23be924ee36145e0e35712"
1847
+ "fqnsFingerprint": "579425d7b61837dcd5f9e5bf142e9477262502b81b1fba6112aab1fc32285d5d"
1827
1848
  },
1828
1849
  "a0a5aed3be3356c67a02e5502202634478962191b5543456299f752646eeb729": {
1829
1850
  "translations": {
@@ -1865,7 +1886,8 @@
1865
1886
  "@aws-cdk/aws-redshift-alpha.TableDistStyle",
1866
1887
  "@aws-cdk/aws-redshift-alpha.TableDistStyle#KEY",
1867
1888
  "@aws-cdk/aws-redshift-alpha.TableProps",
1868
- "aws-cdk-lib.aws_ec2.IVpc"
1889
+ "aws-cdk-lib.aws_ec2.IVpc",
1890
+ "constructs.Construct"
1869
1891
  ],
1870
1892
  "fullSource": "// Fixture with cluster already created\nimport { SecretValue, Stack } from 'aws-cdk-lib';\nimport { Vpc } from 'aws-cdk-lib/aws-ec2';\nimport { Cluster, Table, TableAction, TableDistStyle, TableSortStyle, User } from '@aws-cdk/aws-redshift-alpha';\nimport { Construct } from 'constructs';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n const vpc = new Vpc(this, 'Vpc');\n const cluster = new Cluster(this, 'Cluster', {\n vpc,\n masterUser: {\n masterUsername: 'admin',\n },\n });\n\n // Code snippet begins after !show marker below\n/// !show\nnew Table(this, 'Table', {\n tableColumns: [\n { name: 'col1', dataType: 'varchar(4)', distKey: true },\n { name: 'col2', dataType: 'float' },\n ],\n cluster: cluster,\n databaseName: 'databaseName',\n distStyle: TableDistStyle.KEY,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
1871
1893
  "syntaxKindCounter": {
@@ -1880,7 +1902,7 @@
1880
1902
  "226": 1,
1881
1903
  "281": 9
1882
1904
  },
1883
- "fqnsFingerprint": "595704c3bf650d5980ae09f43716069977fa8928ca21a873729ea7904716c264"
1905
+ "fqnsFingerprint": "f9efc790b6408fbdda64ed7d04290df8bc69cd7c284a05f89cc7dc278fb8bd7b"
1884
1906
  },
1885
1907
  "7ad9117d90fbe2a452185442e885e420097c162f2973db550809c3b5bff11d00": {
1886
1908
  "translations": {
@@ -1922,7 +1944,8 @@
1922
1944
  "@aws-cdk/aws-redshift-alpha.TableDistStyle",
1923
1945
  "@aws-cdk/aws-redshift-alpha.TableDistStyle#KEY",
1924
1946
  "@aws-cdk/aws-redshift-alpha.TableProps",
1925
- "aws-cdk-lib.aws_ec2.IVpc"
1947
+ "aws-cdk-lib.aws_ec2.IVpc",
1948
+ "constructs.Construct"
1926
1949
  ],
1927
1950
  "fullSource": "// Fixture with cluster already created\nimport { SecretValue, Stack } from 'aws-cdk-lib';\nimport { Vpc } from 'aws-cdk-lib/aws-ec2';\nimport { Cluster, Table, TableAction, TableDistStyle, TableSortStyle, User } from '@aws-cdk/aws-redshift-alpha';\nimport { Construct } from 'constructs';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n const vpc = new Vpc(this, 'Vpc');\n const cluster = new Cluster(this, 'Cluster', {\n vpc,\n masterUser: {\n masterUsername: 'admin',\n },\n });\n\n // Code snippet begins after !show marker below\n/// !show\nnew Table(this, 'Table', {\n tableColumns: [\n { name: 'col1', dataType: 'varchar(4)', distKey: true },\n { name: 'col2', dataType: 'float' },\n ],\n cluster: cluster,\n databaseName: 'databaseName',\n distStyle: TableDistStyle.KEY,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
1928
1951
  "syntaxKindCounter": {
@@ -1937,7 +1960,7 @@
1937
1960
  "226": 1,
1938
1961
  "281": 9
1939
1962
  },
1940
- "fqnsFingerprint": "595704c3bf650d5980ae09f43716069977fa8928ca21a873729ea7904716c264"
1963
+ "fqnsFingerprint": "f9efc790b6408fbdda64ed7d04290df8bc69cd7c284a05f89cc7dc278fb8bd7b"
1941
1964
  },
1942
1965
  "7233d53f95d6c8e89498a7df318041aa7a223d09479f71a86b787c9bd8b89ce0": {
1943
1966
  "translations": {
@@ -1979,7 +2002,8 @@
1979
2002
  "@aws-cdk/aws-redshift-alpha.TableProps",
1980
2003
  "@aws-cdk/aws-redshift-alpha.TableSortStyle",
1981
2004
  "@aws-cdk/aws-redshift-alpha.TableSortStyle#COMPOUND",
1982
- "aws-cdk-lib.aws_ec2.IVpc"
2005
+ "aws-cdk-lib.aws_ec2.IVpc",
2006
+ "constructs.Construct"
1983
2007
  ],
1984
2008
  "fullSource": "// Fixture with cluster already created\nimport { SecretValue, Stack } from 'aws-cdk-lib';\nimport { Vpc } from 'aws-cdk-lib/aws-ec2';\nimport { Cluster, Table, TableAction, TableDistStyle, TableSortStyle, User } from '@aws-cdk/aws-redshift-alpha';\nimport { Construct } from 'constructs';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n const vpc = new Vpc(this, 'Vpc');\n const cluster = new Cluster(this, 'Cluster', {\n vpc,\n masterUser: {\n masterUsername: 'admin',\n },\n });\n\n // Code snippet begins after !show marker below\n/// !show\nnew Table(this, 'Table', {\n tableColumns: [\n { name: 'col1', dataType: 'varchar(4)', sortKey: true },\n { name: 'col2', dataType: 'float', sortKey: true },\n ],\n cluster: cluster,\n databaseName: 'databaseName',\n sortStyle: TableSortStyle.COMPOUND,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
1985
2009
  "syntaxKindCounter": {
@@ -1994,7 +2018,7 @@
1994
2018
  "226": 1,
1995
2019
  "281": 10
1996
2020
  },
1997
- "fqnsFingerprint": "09d8978a9fc9feef3c8a91be4c12cbf0c7cd81402961fd4a0fe7a49ebd41a904"
2021
+ "fqnsFingerprint": "32de0f04abd3d455e58ccbade2d97d09d1caf0825b1d7e6e631a3012c7d5d43e"
1998
2022
  },
1999
2023
  "2d7b7b533f236044c567e80a258f91cf3d90d6c3b93458d9f9ac992379cda6b1": {
2000
2024
  "translations": {
@@ -2038,7 +2062,8 @@
2038
2062
  "@aws-cdk/aws-redshift-alpha.User#secret",
2039
2063
  "@aws-cdk/aws-redshift-alpha.UserProps",
2040
2064
  "aws-cdk-lib.aws_ec2.IVpc",
2041
- "aws-cdk-lib.aws_secretsmanager.ISecret"
2065
+ "aws-cdk-lib.aws_secretsmanager.ISecret",
2066
+ "constructs.Construct"
2042
2067
  ],
2043
2068
  "fullSource": "// Fixture with cluster already created\nimport { SecretValue, Stack } from 'aws-cdk-lib';\nimport { Vpc } from 'aws-cdk-lib/aws-ec2';\nimport { Cluster, Table, TableAction, TableDistStyle, TableSortStyle, User } from '@aws-cdk/aws-redshift-alpha';\nimport { Construct } from 'constructs';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n const vpc = new Vpc(this, 'Vpc');\n const cluster = new Cluster(this, 'Cluster', {\n vpc,\n masterUser: {\n masterUsername: 'admin',\n },\n });\n\n // Code snippet begins after !show marker below\n/// !show\n\nconst user = new User(this, 'User', {\n cluster: cluster,\n databaseName: 'databaseName',\n});\ncluster.addRotationMultiUser('MultiUserRotation', {\n secret: user.secret,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
2044
2069
  "syntaxKindCounter": {
@@ -2055,7 +2080,7 @@
2055
2080
  "243": 1,
2056
2081
  "281": 3
2057
2082
  },
2058
- "fqnsFingerprint": "5e712cab93662ff36584e5cc198e11e86097f0fb81d3909de6a022232db5bc3b"
2083
+ "fqnsFingerprint": "33d57076fcd7dc5d3cb09965d7fdd3ef6bdf88cf8d0660fd2de974bdbca7f52d"
2059
2084
  },
2060
2085
  "2cf21a315059ce9a0656d5b8594fd78fe86ffe7b8fb88234f7e2e2f1443706ce": {
2061
2086
  "translations": {
@@ -2104,7 +2129,8 @@
2104
2129
  "@aws-cdk/aws-redshift-alpha.UserAttributes",
2105
2130
  "aws-cdk-lib.SecretValue",
2106
2131
  "aws-cdk-lib.SecretValue#unsafePlainText",
2107
- "aws-cdk-lib.aws_ec2.IVpc"
2132
+ "aws-cdk-lib.aws_ec2.IVpc",
2133
+ "constructs.Construct"
2108
2134
  ],
2109
2135
  "fullSource": "// Fixture with cluster already created\nimport { SecretValue, Stack } from 'aws-cdk-lib';\nimport { Vpc } from 'aws-cdk-lib/aws-ec2';\nimport { Cluster, Table, TableAction, TableDistStyle, TableSortStyle, User } from '@aws-cdk/aws-redshift-alpha';\nimport { Construct } from 'constructs';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n const vpc = new Vpc(this, 'Vpc');\n const cluster = new Cluster(this, 'Cluster', {\n vpc,\n masterUser: {\n masterUsername: 'admin',\n },\n });\n\n // Code snippet begins after !show marker below\n/// !show\nconst databaseName = 'databaseName';\nconst username = 'myuser'\nconst tableName = 'mytable'\n\nconst user = User.fromUserAttributes(this, 'User', {\n username: username,\n password: SecretValue.unsafePlainText('NOT_FOR_PRODUCTION'),\n cluster: cluster,\n databaseName: databaseName,\n});\nconst table = Table.fromTableAttributes(this, 'Table', {\n tableName: tableName,\n tableColumns: [{ name: 'col1', dataType: 'varchar(4)' }, { name: 'col2', dataType: 'float' }],\n cluster: cluster,\n databaseName: 'databaseName',\n});\ntable.grant(user, TableAction.INSERT);\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
2110
2136
  "syntaxKindCounter": {
@@ -2121,7 +2147,7 @@
2121
2147
  "243": 5,
2122
2148
  "281": 12
2123
2149
  },
2124
- "fqnsFingerprint": "198a39fe4c97c2abe14c269c0b7385f8a841d9d7bc23be924ee36145e0e35712"
2150
+ "fqnsFingerprint": "579425d7b61837dcd5f9e5bf142e9477262502b81b1fba6112aab1fc32285d5d"
2125
2151
  },
2126
2152
  "802e3b6844c974c2034052a3e9bbbc164947a7bf6c3797ce958bdbfb4962f43f": {
2127
2153
  "translations": {
@@ -2165,7 +2191,8 @@
2165
2191
  "@aws-cdk/aws-redshift-alpha.User#secret",
2166
2192
  "@aws-cdk/aws-redshift-alpha.UserProps",
2167
2193
  "aws-cdk-lib.aws_ec2.IVpc",
2168
- "aws-cdk-lib.aws_secretsmanager.ISecret"
2194
+ "aws-cdk-lib.aws_secretsmanager.ISecret",
2195
+ "constructs.Construct"
2169
2196
  ],
2170
2197
  "fullSource": "// Fixture with cluster already created\nimport { SecretValue, Stack } from 'aws-cdk-lib';\nimport { Vpc } from 'aws-cdk-lib/aws-ec2';\nimport { Cluster, Table, TableAction, TableDistStyle, TableSortStyle, User } from '@aws-cdk/aws-redshift-alpha';\nimport { Construct } from 'constructs';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n const vpc = new Vpc(this, 'Vpc');\n const cluster = new Cluster(this, 'Cluster', {\n vpc,\n masterUser: {\n masterUsername: 'admin',\n },\n });\n\n // Code snippet begins after !show marker below\n/// !show\n\nconst user = new User(this, 'User', {\n cluster: cluster,\n databaseName: 'databaseName',\n});\ncluster.addRotationMultiUser('MultiUserRotation', {\n secret: user.secret,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
2171
2198
  "syntaxKindCounter": {
@@ -2182,7 +2209,7 @@
2182
2209
  "243": 1,
2183
2210
  "281": 3
2184
2211
  },
2185
- "fqnsFingerprint": "5e712cab93662ff36584e5cc198e11e86097f0fb81d3909de6a022232db5bc3b"
2212
+ "fqnsFingerprint": "33d57076fcd7dc5d3cb09965d7fdd3ef6bdf88cf8d0660fd2de974bdbca7f52d"
2186
2213
  }
2187
2214
  }
2188
2215
  }