Interface CfnPrincipalPermissions.TableWithColumnsResourceProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPrincipalPermissions.TableWithColumnsResourceProperty.Jsii$Proxy
- Enclosing class:
CfnPrincipalPermissions
@Stability(Stable)
public static interface CfnPrincipalPermissions.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") .databaseName("databaseName") .name("name") // the properties below are optional .columnNames(List.of("columnNames")) .columnWildcard(ColumnWildcardProperty.builder() .excludedColumnNames(List.of("excludedColumnNames")) .build()) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnPrincipalPermissions.TableWithColumnsResourceProperty
static final class
An implementation forCfnPrincipalPermissions.TableWithColumnsResourceProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The identifier for the Data Catalog where the location is registered with AWS Lake Formation .The list of column names for the table.default Object
A wildcard specified by aColumnWildcard
object.The name of the database for the table with columns resource.getName()
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 where the location is registered with AWS Lake Formation .- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
getColumnNames
The list of column names for the table.At least one of
ColumnNames
orColumnWildcard
is required.- See Also:
-
getColumnWildcard
A wildcard specified by aColumnWildcard
object.At least one of
ColumnNames
orColumnWildcard
is required.- See Also:
-
builder
@Stability(Stable) static CfnPrincipalPermissions.TableWithColumnsResourceProperty.Builder builder()
-