Interface CfnPermissionsProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPermissionsProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)",
date="2024-08-23T05:56:18.783Z")
@Stability(Stable)
public interface CfnPermissionsProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnPermissions
.
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.*; CfnPermissionsProps cfnPermissionsProps = CfnPermissionsProps.builder() .dataLakePrincipal(DataLakePrincipalProperty.builder() .dataLakePrincipalIdentifier("dataLakePrincipalIdentifier") .build()) .resource(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()) // the properties below are optional .permissions(List.of("permissions")) .permissionsWithGrantOption(List.of("permissionsWithGrantOption")) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnPermissionsProps
static final class
An implementation forCfnPermissionsProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnPermissionsProps.Builder
builder()
The AWS Lake Formation principal.The permissions granted or revoked.Indicates the ability to grant permissions (as a subset of permissions granted).A structure for the resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDataLakePrincipal
The AWS Lake Formation principal.- See Also:
-
getResource
A structure for the resource.- See Also:
-
getPermissions
The permissions granted or revoked.- See Also:
-
getPermissionsWithGrantOption
Indicates the ability to grant permissions (as a subset of permissions granted).- See Also:
-
builder
- Returns:
- a
CfnPermissionsProps.Builder
ofCfnPermissionsProps
-