interface ResourceProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.LakeFormation.CfnPermissionsPropsMixin.ResourceProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awslakeformation#CfnPermissionsPropsMixin_ResourceProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.lakeformation.CfnPermissionsPropsMixin.ResourceProperty |
Python | aws_cdk.cfn_property_mixins.aws_lakeformation.CfnPermissionsPropsMixin.ResourceProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_lakeformation » CfnPermissionsPropsMixin » 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/cfn-property-mixins';
const resourceProperty: lakeformation.CfnPermissionsPropsMixin.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.

.NET
Go
Java
Python
TypeScript