TableWithColumnsResourceProperty
Struct External
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 .
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lakeformation as lakeformation } from 'aws-cdk-lib';
const tableWithColumnsResourceProperty: lakeformation.CfnPermissions.TableWithColumnsResourceProperty = {
catalogId: 'catalogId',
columnNames: ['columnNames'],
columnWildcard: {
excludedColumnNames: ['excludedColumnNames'],
},
databaseName: 'databaseName',
name: 'name',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_lakeformation as lakeformation
table_with_columns_resource_property = lakeformation.CfnPermissions.TableWithColumnsResourceProperty(
catalog_id="catalogId",
column_names=["columnNames"],
column_wildcard=lakeformation.CfnPermissions.ColumnWildcardProperty(
excluded_column_names=["excludedColumnNames"]
),
database_name="databaseName",
name="name"
)
java
// 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();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
tableWithColumnsResourceProperty := &TableWithColumnsResourceProperty{
CatalogId: jsii.String("catalogId"),
ColumnNames: []*string{
jsii.String("columnNames"),
},
ColumnWildcard: &ColumnWildcardProperty{
ExcludedColumnNames: []*string{
jsii.String("excludedColumnNames"),
},
},
DatabaseName: jsii.String("databaseName"),
Name: jsii.String("name"),
}
Properties
catalogIdoptionalstringcatalog_idoptionalstrcatalogIdoptionalStringCatalogIdoptionalstringCatalogIdoptional*string #The identifier for the Data Catalog .
By default, it is the account ID of the caller.
columnNamesoptionalstring[]column_namesoptionaltyping.List[str]columnNamesoptionalList<String>ColumnNamesoptionalstring[]ColumnNamesoptional*[]*string #The list of column names for the table.
At least one of ColumnNames or ColumnWildcard is required.
columnWildcardoptionalIResolvable | CfnPermissions.column_wildcardoptionaltyping.Union[IResolvable, ColumnWildcardProperty]columnWildcardoptionalIResolvableColumnWildcardoptionalIResolvableColumnWildcardoptionalinterface{} #A wildcard specified by a `ColumnWildcard` object.
At least one of ColumnNames or ColumnWildcard is required.
databaseNameoptionalstringdatabase_nameoptionalstrdatabaseNameoptionalStringDatabaseNameoptionalstringDatabaseNameoptional*string #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.
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.