Class CfnPermissions.TableWithColumnsResourceProperty
A structure for a table with columns object. This object is only used when granting a SELECT permission.
Inheritance
Namespace: Amazon.CDK.AWS.LakeFormation
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class TableWithColumnsResourceProperty : Object, CfnPermissions.ITableWithColumnsResourceProperty
Syntax (vb)
Public Class TableWithColumnsResourceProperty
Inherits Object
Implements CfnPermissions.ITableWithColumnsResourceProperty
Remarks
This object must take a value for at least one of ColumnsNames
, ColumnsIndexes
, or ColumnsWildcard
.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.LakeFormation;
var tableWithColumnsResourceProperty = new TableWithColumnsResourceProperty {
CatalogId = "catalogId",
ColumnNames = new [] { "columnNames" },
ColumnWildcard = new ColumnWildcardProperty {
ExcludedColumnNames = new [] { "excludedColumnNames" }
},
DatabaseName = "databaseName",
Name = "name"
};
Synopsis
Constructors
TableWithColumnsResourceProperty() |
Properties
CatalogId | The identifier for the Data Catalog . |
ColumnNames | The list of column names for the table. |
ColumnWildcard | A wildcard specified by a |
DatabaseName | The name of the database for the table with columns resource. |
Name | The name of the table resource. |
Constructors
TableWithColumnsResourceProperty()
public TableWithColumnsResourceProperty()
Properties
CatalogId
The identifier for the Data Catalog .
public string CatalogId { get; set; }
Property Value
System.String
Remarks
By default, it is the account ID of the caller.
ColumnNames
The list of column names for the table.
public string[] ColumnNames { get; set; }
Property Value
System.String[]
Remarks
At least one of ColumnNames
or ColumnWildcard
is required.
ColumnWildcard
A wildcard specified by a ColumnWildcard
object.
public object ColumnWildcard { get; set; }
Property Value
System.Object
Remarks
At least one of ColumnNames
or ColumnWildcard
is required.
DatabaseName
The name of the database for the table with columns resource.
public string DatabaseName { get; set; }
Property Value
System.String
Remarks
Unique to the Data Catalog. A database is a set of associated table definitions organized into a logical group. You can Grant and Revoke database privileges to a principal.
Name
The name of the table resource.
public string Name { get; set; }
Property Value
System.String
Remarks
A table is a metadata definition that represents your data. You can Grant and Revoke table privileges to a principal.