Interface CfnPermissions.IResourceProperty
A structure for the resource.
Namespace: Amazon.CDK.AWS.LakeFormation
Assembly: Amazon.CDK.Lib.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 resourceProperty = new ResourceProperty {
DatabaseResource = new DatabaseResourceProperty {
CatalogId = "catalogId",
Name = "name"
},
DataLocationResource = new DataLocationResourceProperty {
CatalogId = "catalogId",
S3Resource = "s3Resource"
},
TableResource = new TableResourceProperty {
CatalogId = "catalogId",
DatabaseName = "databaseName",
Name = "name",
TableWildcard = new TableWildcardProperty { }
},
TableWithColumnsResource = new TableWithColumnsResourceProperty {
CatalogId = "catalogId",
ColumnNames = new [] { "columnNames" },
ColumnWildcard = new ColumnWildcardProperty {
ExcludedColumnNames = new [] { "excludedColumnNames" }
},
DatabaseName = "databaseName",
Name = "name"
}
};
Synopsis
Properties
Database |
A structure for the database object. |
Data |
A structure for a data location object where permissions are granted or revoked. |
Table |
A structure for the table object. |
Table |
A structure for a table with columns object. |
Properties
DatabaseResource
A structure for the database object.
virtual object DatabaseResource { get; }
Property Value
System.
Remarks
DataLocationResource
A structure for a data location object where permissions are granted or revoked.
virtual object DataLocationResource { get; }
Property Value
System.
Remarks
TableResource
A structure for the table object.
virtual object TableResource { get; }
Property Value
System.
Remarks
A table is a metadata definition that represents your data. You can Grant and Revoke table privileges to a principal.
TableWithColumnsResource
A structure for a table with columns object.
virtual object TableWithColumnsResource { get; }
Property Value
System.
Remarks
This object is only used when granting a SELECT permission.