software.amazon.awscdk.services.redshift.alpha.TableDistStyle Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of redshift-alpha Show documentation
Show all versions of redshift-alpha Show documentation
The CDK Construct Library for AWS::Redshift
package software.amazon.awscdk.services.redshift.alpha;
/**
* (experimental) The data distribution style of a table.
*
* Example:
*
*
* Table.Builder.create(this, "Table")
* .tableColumns(List.of(Column.builder().name("col1").dataType("varchar(4)").distKey(true).build(), Column.builder().name("col2").dataType("float").build()))
* .cluster(cluster)
* .databaseName("databaseName")
* .distStyle(TableDistStyle.KEY)
* .build();
*
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.103.1 (build bef2dea)", date = "2024-10-10T18:25:33.211Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@software.amazon.jsii.Jsii(module = software.amazon.awscdk.services.redshift.alpha.$Module.class, fqn = "@aws-cdk/aws-redshift-alpha.TableDistStyle")
public enum TableDistStyle {
/**
* (experimental) Amazon Redshift assigns an optimal distribution style based on the table data.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
AUTO,
/**
* (experimental) The data in the table is spread evenly across the nodes in a cluster in a round-robin distribution.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
EVEN,
/**
* (experimental) The data is distributed by the values in the DISTKEY column.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
KEY,
/**
* (experimental) A copy of the entire table is distributed to every node.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
ALL,
}