Class CfnPrincipalPermissionsPropsMixin.ResourceProperty
A structure for the resource.
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.LakeFormation.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnPrincipalPermissionsPropsMixin.ResourceProperty : CfnPrincipalPermissionsPropsMixin.IResourceProperty
Syntax (vb)
Public Class CfnPrincipalPermissionsPropsMixin.ResourceProperty Implements CfnPrincipalPermissionsPropsMixin.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.Mixins.Preview.AWS.LakeFormation.Mixins;
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",
Name = "name",
TableWildcard = tableWildcard
},
TableWithColumns = new TableWithColumnsResourceProperty {
CatalogId = "catalogId",
ColumnNames = new [] { "columnNames" },
ColumnWildcard = new ColumnWildcardProperty {
ExcludedColumnNames = new [] { "excludedColumnNames" }
},
DatabaseName = "databaseName",
Name = "name"
}
};
Synopsis
Constructors
| ResourceProperty() | A structure for the resource. |
Properties
| Catalog | The identifier for the Data Catalog. |
| DataCellsFilter | A data cell filter. |
| DataLocation | The location of an Amazon S3 path where permissions are granted or revoked. |
| Database | The database for the resource. |
| 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. |
Constructors
ResourceProperty()
A structure for the resource.
public ResourceProperty()
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.Mixins.Preview.AWS.LakeFormation.Mixins;
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",
Name = "name",
TableWildcard = tableWildcard
},
TableWithColumns = new TableWithColumnsResourceProperty {
CatalogId = "catalogId",
ColumnNames = new [] { "columnNames" },
ColumnWildcard = new ColumnWildcardProperty {
ExcludedColumnNames = new [] { "excludedColumnNames" }
},
DatabaseName = "databaseName",
Name = "name"
}
};
Properties
Catalog
The identifier for the Data Catalog.
public object? Catalog { get; set; }
Property Value
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.
DataCellsFilter
A data cell filter.
public object? DataCellsFilter { get; set; }
Property Value
Remarks
DataLocation
The location of an Amazon S3 path where permissions are granted or revoked.
public object? DataLocation { get; set; }
Property Value
Remarks
Database
The database for the resource.
public object? Database { get; set; }
Property Value
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.
Type union: either IResolvable or CfnPrincipalPermissionsPropsMixin.IDatabaseResourceProperty
LfTag
The LF-tag key and values attached to a resource.
public object? LfTag { get; set; }
Property Value
Remarks
LfTagPolicy
A list of LF-tag conditions that define a resource's LF-tag policy.
public object? LfTagPolicy { get; set; }
Property Value
Remarks
Table
The table for the resource.
public object? Table { get; set; }
Property Value
Remarks
A table is a metadata definition that represents your data. You can Grant and Revoke table privileges to a principal.
Type union: either IResolvable or CfnPrincipalPermissionsPropsMixin.ITableResourceProperty
TableWithColumns
The table with columns for the resource.
public object? TableWithColumns { get; set; }
Property Value
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.
Type union: either IResolvable or CfnPrincipalPermissionsPropsMixin.ITableWithColumnsResourceProperty