Interface CfnPrincipalPermissions.IResourceProperty
A structure for the resource.
Namespace: Amazon.CDK.AWS.LakeFormation
Assembly: Amazon.CDK.AWS.LakeFormation.dll
Syntax (csharp)
public interface IResourceProperty
Syntax (vb)
Public Interface IResourceProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// 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 catalog;
var tableWildcard;
var resourceProperty = new ResourceProperty {
Catalog = catalog,
Database = new DatabaseResourceProperty {
CatalogId = "catalogId",
Name = "name"
},
DataCellsFilter = new DataCellsFilterResourceProperty {
DatabaseName = "databaseName",
Name = "name",
TableCatalogId = "tableCatalogId",
TableName = "tableName"
},
DataLocation = new DataLocationResourceProperty {
CatalogId = "catalogId",
ResourceArn = "resourceArn"
},
LfTag = new LFTagKeyResourceProperty {
CatalogId = "catalogId",
TagKey = "tagKey",
TagValues = new [] { "tagValues" }
},
LfTagPolicy = new LFTagPolicyResourceProperty {
CatalogId = "catalogId",
Expression = new [] { new LFTagProperty {
TagKey = "tagKey",
TagValues = new [] { "tagValues" }
} },
ResourceType = "resourceType"
},
Table = new TableResourceProperty {
CatalogId = "catalogId",
DatabaseName = "databaseName",
// the properties below are optional
Name = "name",
TableWildcard = tableWildcard
},
TableWithColumns = new TableWithColumnsResourceProperty {
CatalogId = "catalogId",
DatabaseName = "databaseName",
Name = "name",
// the properties below are optional
ColumnNames = new [] { "columnNames" },
ColumnWildcard = new ColumnWildcardProperty {
ExcludedColumnNames = new [] { "excludedColumnNames" }
}
}
};
Synopsis
Properties
Catalog | The identifier for the Data Catalog. |
Database | The database for the resource. |
DataCellsFilter | A data cell filter. |
DataLocation | The location of an Amazon S3 path where permissions are granted or revoked. |
LfTag | The LF-tag key and values attached to a resource. |
LfTagPolicy | A list of LF-tag conditions that define a resource's LF-tag policy. |
Table | The table for the resource. |
TableWithColumns | The table with columns for the resource. |
Properties
Catalog
The identifier for the Data Catalog.
virtual object Catalog { get; }
Property Value
System.Object
Remarks
By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your AWS Lake Formation environment.
Database
The database for the resource.
virtual object Database { get; }
Property Value
System.Object
Remarks
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 permissions to a principal.
DataCellsFilter
A data cell filter.
virtual object DataCellsFilter { get; }
Property Value
System.Object
Remarks
DataLocation
The location of an Amazon S3 path where permissions are granted or revoked.
virtual object DataLocation { get; }
Property Value
System.Object
Remarks
LfTag
The LF-tag key and values attached to a resource.
virtual object LfTag { get; }
Property Value
System.Object
Remarks
LfTagPolicy
A list of LF-tag conditions that define a resource's LF-tag policy.
virtual object LfTagPolicy { get; }
Property Value
System.Object
Remarks
Table
The table for the resource.
virtual object Table { get; }
Property Value
System.Object
Remarks
A table is a metadata definition that represents your data. You can Grant and Revoke table privileges to a principal.
TableWithColumns
The table with columns for the resource.
virtual object TableWithColumns { get; }
Property Value
System.Object
Remarks
A principal with permissions to this resource can select metadata from the columns of a table in the Data Catalog and the underlying data in Amazon S3.