enum TableDistStyle
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.AWS.Redshift.Alpha.TableDistStyle | 
|  Go | github.com/aws/aws-cdk-go/awscdkredshiftalpha/v2#TableDistStyle | 
|  Java | software.amazon.awscdk.services.redshift.alpha.TableDistStyle | 
|  Python | aws_cdk.aws_redshift_alpha.TableDistStyle | 
|  TypeScript (source) | @aws-cdk/aws-redshift-alphaยปTableDistStyle | 
The data distribution style of a table.
Example
new Table(this, 'Table', {
  tableColumns: [
    { name: 'col1', dataType: 'varchar(4)', distKey: true },
    { name: 'col2', dataType: 'float' },
  ],
  cluster: cluster,
  databaseName: 'databaseName',
  distStyle: TableDistStyle.KEY,
});
Members
| Name | Description | 
|---|---|
| AUTO | Amazon Redshift assigns an optimal distribution style based on the table data. | 
| EVEN | The data in the table is spread evenly across the nodes in a cluster in a round-robin distribution. | 
| KEY | The data is distributed by the values in the DISTKEY column. | 
| ALL | A copy of the entire table is distributed to every node. | 
AUTO
Amazon Redshift assigns an optimal distribution style based on the table data.
EVEN
The data in the table is spread evenly across the nodes in a cluster in a round-robin distribution.
KEY
The data is distributed by the values in the DISTKEY column.
ALL
A copy of the entire table is distributed to every node.
