interface ResourceProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.LakeFormation.CfnPermissions.ResourceProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awslakeformation#CfnPermissions_ResourceProperty |
![]() | software.amazon.awscdk.services.lakeformation.CfnPermissions.ResourceProperty |
![]() | aws_cdk.aws_lakeformation.CfnPermissions.ResourceProperty |
![]() | aws-cdk-lib » aws_lakeformation » CfnPermissions » ResourceProperty |
A structure for the resource.
Example
// 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';
const resourceProperty: lakeformation.CfnPermissions.ResourceProperty = {
databaseResource: {
catalogId: 'catalogId',
name: 'name',
},
dataLocationResource: {
catalogId: 'catalogId',
s3Resource: 's3Resource',
},
tableResource: {
catalogId: 'catalogId',
databaseName: 'databaseName',
name: 'name',
tableWildcard: { },
},
tableWithColumnsResource: {
catalogId: 'catalogId',
columnNames: ['columnNames'],
columnWildcard: {
excludedColumnNames: ['excludedColumnNames'],
},
databaseName: 'databaseName',
name: 'name',
},
};
Properties
Name | Type | Description |
---|---|---|
data | IResolvable | Data | A structure for a data location object where permissions are granted or revoked. |
database | IResolvable | Database | A structure for the database object. |
table | IResolvable | Table | A structure for the table object. |
table | IResolvable | Table | A structure for a table with columns object. |
dataLocationResource?
Type:
IResolvable
|
Data
(optional)
A structure for a data location object where permissions are granted or revoked.
databaseResource?
Type:
IResolvable
|
Database
(optional)
A structure for the database object.
tableResource?
Type:
IResolvable
|
Table
(optional)
A structure for the table object.
A table is a metadata definition that represents your data. You can Grant and Revoke table privileges to a principal.
tableWithColumnsResource?
Type:
IResolvable
|
Table
(optional)
A structure for a table with columns object.
This object is only used when granting a SELECT permission.