CfnDataCellsFilterProps Struct
Properties for defining a CfnDataCellsFilter.
| 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';
declare const allRowsWildcard: any;
const cfnDataCellsFilterProps: lakeformation.CfnDataCellsFilterProps = {
databaseName: 'databaseName',
name: 'name',
tableCatalogId: 'tableCatalogId',
tableName: 'tableName',
// the properties below are optional
columnNames: ['columnNames'],
columnWildcard: {
excludedColumnNames: ['excludedColumnNames'],
},
rowFilter: {
allRowsWildcard: allRowsWildcard,
filterExpression: 'filterExpression',
},
};
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
# all_rows_wildcard: Any
cfn_data_cells_filter_props = lakeformation.CfnDataCellsFilterProps(
database_name="databaseName",
name="name",
table_catalog_id="tableCatalogId",
table_name="tableName",
# the properties below are optional
column_names=["columnNames"],
column_wildcard=lakeformation.CfnDataCellsFilter.ColumnWildcardProperty(
excluded_column_names=["excludedColumnNames"]
),
row_filter=lakeformation.CfnDataCellsFilter.RowFilterProperty(
all_rows_wildcard=all_rows_wildcard,
filter_expression="filterExpression"
)
)
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.*;
Object allRowsWildcard;
CfnDataCellsFilterProps cfnDataCellsFilterProps = CfnDataCellsFilterProps.builder()
.databaseName("databaseName")
.name("name")
.tableCatalogId("tableCatalogId")
.tableName("tableName")
// the properties below are optional
.columnNames(List.of("columnNames"))
.columnWildcard(ColumnWildcardProperty.builder()
.excludedColumnNames(List.of("excludedColumnNames"))
.build())
.rowFilter(RowFilterProperty.builder()
.allRowsWildcard(allRowsWildcard)
.filterExpression("filterExpression")
.build())
.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 allRowsWildcard;
var cfnDataCellsFilterProps = new CfnDataCellsFilterProps {
DatabaseName = "databaseName",
Name = "name",
TableCatalogId = "tableCatalogId",
TableName = "tableName",
// the properties below are optional
ColumnNames = new [] { "columnNames" },
ColumnWildcard = new ColumnWildcardProperty {
ExcludedColumnNames = new [] { "excludedColumnNames" }
},
RowFilter = new RowFilterProperty {
AllRowsWildcard = allRowsWildcard,
FilterExpression = "filterExpression"
}
};
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"
var allRowsWildcard interface{}
cfnDataCellsFilterProps := &CfnDataCellsFilterProps{
DatabaseName: jsii.String("databaseName"),
Name: jsii.String("name"),
TableCatalogId: jsii.String("tableCatalogId"),
TableName: jsii.String("tableName"),
// the properties below are optional
ColumnNames: []*string{
jsii.String("columnNames"),
},
ColumnWildcard: &ColumnWildcardProperty{
ExcludedColumnNames: []*string{
jsii.String("excludedColumnNames"),
},
},
RowFilter: &RowFilterProperty{
AllRowsWildcard: allRowsWildcard,
FilterExpression: jsii.String("filterExpression"),
},
}
Properties
columnNamesoptionalstring[]column_namesoptionaltyping.List[str]columnNamesoptionalList<String>ColumnNamesoptionalstring[]ColumnNamesoptional*[]*string #An array of UTF-8 strings.
A list of column names.
columnWildcardoptionalIResolvable | CfnDataCellsFilter.column_wildcardoptionaltyping.Union[IResolvable, ColumnWildcardProperty]columnWildcardoptionalIResolvableColumnWildcardoptionalIResolvableColumnWildcardoptionalinterface{} #A wildcard with exclusions.
You must specify either a ColumnNames list or the ColumnWildCard .
databaseNamestringdatabase_namestrdatabaseNameStringDatabaseNamestringDatabaseName*string required #UTF-8 string, not less than 1 or more than 255 bytes long, matching the single-line string pattern .
A database in the Data Catalog .
UTF-8 string, not less than 1 or more than 255 bytes long, matching the single-line string pattern .
The name given by the user to the data filter cell.
rowFilteroptionalIResolvable | CfnDataCellsFilter.row_filteroptionaltyping.Union[IResolvable, RowFilterProperty]rowFilteroptionalIResolvableRowFilteroptionalIResolvableRowFilteroptionalinterface{} #A PartiQL predicate.
tableCatalogIdstringtable_catalog_idstrtableCatalogIdStringTableCatalogIdstringTableCatalogId*string required #Catalog id string, not less than 1 or more than 255 bytes long, matching the single-line string pattern .
The ID of the catalog to which the table belongs.
UTF-8 string, not less than 1 or more than 255 bytes long, matching the single-line string pattern .
A table in the database.