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
The newest version!
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.104.0 (build e79254c)", date = "2024-11-15T10:25:09.587Z")
@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,
}