Interface CfnPermissions.ResourceProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPermissions.ResourceProperty.Jsii$Proxy
- Enclosing class:
CfnPermissions
@Stability(Stable)
public static interface CfnPermissions.ResourceProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.lakeformation.*;
ResourceProperty resourceProperty = ResourceProperty.builder()
.databaseResource(DatabaseResourceProperty.builder()
.catalogId("catalogId")
.name("name")
.build())
.dataLocationResource(DataLocationResourceProperty.builder()
.catalogId("catalogId")
.s3Resource("s3Resource")
.build())
.tableResource(TableResourceProperty.builder()
.catalogId("catalogId")
.databaseName("databaseName")
.name("name")
.tableWildcard(TableWildcardProperty.builder().build())
.build())
.tableWithColumnsResource(TableWithColumnsResourceProperty.builder()
.catalogId("catalogId")
.columnNames(List.of("columnNames"))
.columnWildcard(ColumnWildcardProperty.builder()
.excludedColumnNames(List.of("excludedColumnNames"))
.build())
.databaseName("databaseName")
.name("name")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnPermissions.ResourcePropertystatic final classAn implementation forCfnPermissions.ResourceProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectA structure for the database object.default ObjectA structure for a data location object where permissions are granted or revoked.default ObjectA structure for the table object.default ObjectA structure for a table with columns object.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDatabaseResource
A structure for the database object.Returns union: either
IResolvableorCfnPermissions.DatabaseResourceProperty- See Also:
-
getDataLocationResource
A structure for a data location object where permissions are granted or revoked.Returns union: either
IResolvableorCfnPermissions.DataLocationResourceProperty- See Also:
-
getTableResource
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.
Returns union: either
IResolvableorCfnPermissions.TableResourceProperty- See Also:
-
getTableWithColumnsResource
A structure for a table with columns object.This object is only used when granting a SELECT permission.
Returns union: either
IResolvableorCfnPermissions.TableWithColumnsResourceProperty- See Also:
-
builder
-