Interface CfnPermissions.TableWithColumnsResourceProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPermissions.TableWithColumnsResourceProperty.Jsii$Proxy
- Enclosing class:
- CfnPermissions
@Stability(Stable)
public static interface CfnPermissions.TableWithColumnsResourceProperty
extends software.amazon.jsii.JsiiSerializable
A structure for a table with columns object. This object is only used when granting a SELECT permission.
This object must take a value for at least one of ColumnsNames , ColumnsIndexes , or ColumnsWildcard .
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.lakeformation.*;
TableWithColumnsResourceProperty tableWithColumnsResourceProperty = TableWithColumnsResourceProperty.builder()
.catalogId("catalogId")
.columnNames(List.of("columnNames"))
.columnWildcard(ColumnWildcardProperty.builder()
.excludedColumnNames(List.of("excludedColumnNames"))
.build())
.databaseName("databaseName")
.name("name")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnPermissions.TableWithColumnsResourcePropertystatic final classAn implementation forCfnPermissions.TableWithColumnsResourceProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe identifier for the Data Catalog .The list of column names for the table.default ObjectA wildcard specified by aColumnWildcardobject.default StringThe name of the database for the table with columns resource.default StringgetName()The name of the table resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCatalogId
The identifier for the Data Catalog .By default, it is the account ID of the caller.
-
getColumnNames
The list of column names for the table.At least one of
ColumnNamesorColumnWildcardis required. -
getColumnWildcard
A wildcard specified by aColumnWildcardobject.At least one of
ColumnNamesorColumnWildcardis required. -
getDatabaseName
The name of the database for the table with columns resource.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.
-
getName
The name of the table resource.A table is a metadata definition that represents your data. You can Grant and Revoke table privileges to a principal.
-
builder
-