Class CfnDataCellsFilter
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.lakeformation.CfnDataCellsFilter
- All Implemented Interfaces:
IInspectable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.110.0 (build 336b265)",
date="2025-04-22T23:08:15.448Z")
@Stability(Stable)
public class CfnDataCellsFilter
extends CfnResource
implements IInspectable
A structure that represents a data cell filter with column-level, row-level, and/or cell-level security.
Data cell filters belong to a specific table in a Data Catalog . During a stack operation, AWS CloudFormation calls the AWS Lake Formation CreateDataCellsFilter API operation to create a DataCellsFilter resource, and calls the DeleteDataCellsFilter API operation to delete it.
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.*;
Object allRowsWildcard;
CfnDataCellsFilter cfnDataCellsFilter = CfnDataCellsFilter.Builder.create(this, "MyCfnDataCellsFilter")
.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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnDataCellsFilter.static interfaceA wildcard object, consisting of an optional list of excluded column names or indexes.static interfaceA PartiQL predicate.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnDataCellsFilter(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnDataCellsFilter(software.amazon.jsii.JsiiObjectRef objRef) CfnDataCellsFilter(software.constructs.Construct scope, String id, CfnDataCellsFilterProps props) -
Method Summary
Modifier and TypeMethodDescriptionAn array of UTF-8 strings.A wildcard with exclusions.UTF-8 string, not less than 1 or more than 255 bytes long, matching the single-line string pattern .getName()UTF-8 string, not less than 1 or more than 255 bytes long, matching the single-line string pattern .A PartiQL predicate.Catalog id string, not less than 1 or more than 255 bytes long, matching the single-line string pattern .UTF-8 string, not less than 1 or more than 255 bytes long, matching the single-line string pattern .voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetColumnNames(List<String> value) An array of UTF-8 strings.voidsetColumnWildcard(IResolvable value) A wildcard with exclusions.voidA wildcard with exclusions.voidsetDatabaseName(String value) UTF-8 string, not less than 1 or more than 255 bytes long, matching the single-line string pattern .voidUTF-8 string, not less than 1 or more than 255 bytes long, matching the single-line string pattern .voidsetRowFilter(IResolvable value) A PartiQL predicate.voidA PartiQL predicate.voidsetTableCatalogId(String value) Catalog id string, not less than 1 or more than 255 bytes long, matching the single-line string pattern .voidsetTableName(String value) UTF-8 string, not less than 1 or more than 255 bytes long, matching the single-line string pattern .Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnDataCellsFilter
protected CfnDataCellsFilter(software.amazon.jsii.JsiiObjectRef objRef) -
CfnDataCellsFilter
protected CfnDataCellsFilter(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnDataCellsFilter
@Stability(Stable) public CfnDataCellsFilter(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnDataCellsFilterProps props) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getDatabaseName
UTF-8 string, not less than 1 or more than 255 bytes long, matching the single-line string pattern . -
setDatabaseName
UTF-8 string, not less than 1 or more than 255 bytes long, matching the single-line string pattern . -
getName
UTF-8 string, not less than 1 or more than 255 bytes long, matching the single-line string pattern . -
setName
UTF-8 string, not less than 1 or more than 255 bytes long, matching the single-line string pattern . -
getTableCatalogId
Catalog id string, not less than 1 or more than 255 bytes long, matching the single-line string pattern . -
setTableCatalogId
Catalog id string, not less than 1 or more than 255 bytes long, matching the single-line string pattern . -
getTableName
UTF-8 string, not less than 1 or more than 255 bytes long, matching the single-line string pattern . -
setTableName
UTF-8 string, not less than 1 or more than 255 bytes long, matching the single-line string pattern . -
getColumnNames
An array of UTF-8 strings. -
setColumnNames
An array of UTF-8 strings. -
getColumnWildcard
A wildcard with exclusions. -
setColumnWildcard
A wildcard with exclusions. -
setColumnWildcard
@Stability(Stable) public void setColumnWildcard(@Nullable CfnDataCellsFilter.ColumnWildcardProperty value) A wildcard with exclusions. -
getRowFilter
A PartiQL predicate. -
setRowFilter
A PartiQL predicate. -
setRowFilter
A PartiQL predicate.
-