@Generated(value="jsii-pacmak/1.39.0 (build 8af72c2)", date="2021-10-14T05:49:11.599Z") @Stability(value=Experimental) public class Table extends Construct implements ITable
| Modifier and Type | Class and Description |
|---|---|
static class |
Table.Builder
(experimental) A fluent builder for
Table. |
software.amazon.jsii.JsiiObject.InitializationModeITable.Jsii$Default, ITable.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
Table(software.constructs.Construct scope,
String id,
TableProps props) |
protected |
Table(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
Table(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
void |
applyRemovalPolicy(RemovalPolicy policy)
(experimental) Apply the given removal policy to this resource.
|
static ITable |
fromTableAttributes(software.constructs.Construct scope,
String id,
TableAttributes attrs)
(experimental) Specify a Redshift table using a table name and schema that already exists.
|
ICluster |
getCluster()
(experimental) The cluster where the table is located.
|
String |
getDatabaseName()
(experimental) The name of the database where the table is located.
|
List<Column> |
getTableColumns()
(experimental) The columns of the table.
|
String |
getTableName()
(experimental) Name of the table.
|
void |
grant(IUser user,
TableAction... actions)
(experimental) Grant a user privilege to access this table.
|
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetNodeprotected Table(software.amazon.jsii.JsiiObjectRef objRef)
protected Table(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public Table(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
TableProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.@Stability(value=Experimental) @NotNull public static ITable fromTableAttributes(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull TableAttributes attrs)
scope - This parameter is required.id - This parameter is required.attrs - This parameter is required.@Stability(value=Experimental)
public void applyRemovalPolicy(@NotNull
RemovalPolicy policy)
The Removal Policy controls what happens to this resource when it stops being managed by CloudFormation, either because you've removed it from the CDK application or because you've made a change that requires the resource to be replaced.
The resource can be destroyed (RemovalPolicy.DESTROY), or left in your AWS
account for data recovery and cleanup later (RemovalPolicy.RETAIN).
This resource is retained by default.
policy - This parameter is required.@Stability(value=Experimental)
public void grant(@NotNull
IUser user,
@NotNull
TableAction... actions)
@Stability(value=Experimental) @NotNull public ICluster getCluster()
getCluster in interface ITable@Stability(value=Experimental) @NotNull public String getDatabaseName()
getDatabaseName in interface ITable@Stability(value=Experimental) @NotNull public List<Column> getTableColumns()
getTableColumns in interface ITable@Stability(value=Experimental) @NotNull public String getTableName()
getTableName in interface ITableCopyright © 2021. All rights reserved.