UNPKG

@aws-cdk/aws-redshift-alpha

Version:

The CDK Construct Library for AWS::Redshift

32 lines (31 loc) 955 B
import { Column, TableDistStyle, TableSortStyle } from '../table'; export interface DatabaseQueryHandlerProps { readonly handler: string; readonly clusterName: string; readonly adminUserArn: string; readonly databaseName: string; } export interface UserHandlerProps { readonly username: string; readonly passwordSecretArn: string; } export interface TableHandlerProps { readonly tableName: { readonly prefix: string; readonly generateSuffix: string; }; readonly tableColumns: Column[]; readonly distStyle?: TableDistStyle; readonly sortStyle: TableSortStyle; readonly tableComment?: string; readonly useColumnIds: boolean; } export interface TablePrivilege { readonly tableId: string; readonly tableName: string; readonly actions: string[]; } export interface UserTablePrivilegesHandlerProps { readonly username: string; readonly tablePrivileges: TablePrivilege[]; }