Interface TableProps
- All Superinterfaces:
DatabaseOptions,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
TableProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:50.384Z")
@Stability(Experimental)
public interface TableProps
extends software.amazon.jsii.JsiiSerializable, DatabaseOptions
(experimental) Properties for configuring a Redshift 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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forTablePropsstatic final classAn implementation forTableProps -
Method Summary
Modifier and TypeMethodDescriptionstatic TableProps.Builderbuilder()default TableDistStyle(experimental) The distribution style of the table.default RemovalPolicy(experimental) The policy to apply when this resource is removed from the application.default TableSortStyle(experimental) The sort style of the table.(experimental) The columns of the table.default String(experimental) A comment to attach to the table.default String(experimental) The name of the table.default Duration(experimental) Handler timeout duration.Methods inherited from interface software.amazon.awscdk.services.redshift.alpha.DatabaseOptions
getAdminUser, getCluster, getDatabaseNameMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getTableColumns
(experimental) The columns of the table. -
getDistStyle
(experimental) The distribution style of the table.Default: TableDistStyle.AUTO
-
getRemovalPolicy
(experimental) The policy to apply when this resource is removed from the application.Default: cdk.RemovalPolicy.Retain
-
getSortStyle
(experimental) The sort style of the table.Default: TableSortStyle.AUTO if no sort key is specified, TableSortStyle.COMPOUND if a sort key is specified
-
getTableComment
(experimental) A comment to attach to the table.Default: - no comment
-
getTableName
(experimental) The name of the table.Default: - a name is generated
-
getTimeout
(experimental) Handler timeout duration.Valid values are between 1 second and 15 minutes.
Default: - 1 minute
-
builder
- Returns:
- a
TableProps.BuilderofTableProps
-