CfnPermissionsProps
- class aws_cdk.aws_lakeformation.CfnPermissionsProps(*, data_lake_principal, resource, permissions=None, permissions_with_grant_option=None)
Bases:
object
Properties for defining a
CfnPermissions
.- Parameters:
data_lake_principal (
Union
[IResolvable
,DataLakePrincipalProperty
,Dict
[str
,Any
]]) – The AWS Lake Formation principal.resource (
Union
[IResolvable
,ResourceProperty
,Dict
[str
,Any
]]) – A structure for the resource.permissions (
Optional
[Sequence
[str
]]) – The permissions granted or revoked.permissions_with_grant_option (
Optional
[Sequence
[str
]]) – Indicates the ability to grant permissions (as a subset of permissions granted).
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_lakeformation as lakeformation cfn_permissions_props = lakeformation.CfnPermissionsProps( data_lake_principal=lakeformation.CfnPermissions.DataLakePrincipalProperty( data_lake_principal_identifier="dataLakePrincipalIdentifier" ), resource=lakeformation.CfnPermissions.ResourceProperty( database_resource=lakeformation.CfnPermissions.DatabaseResourceProperty( catalog_id="catalogId", name="name" ), data_location_resource=lakeformation.CfnPermissions.DataLocationResourceProperty( catalog_id="catalogId", s3_resource="s3Resource" ), table_resource=lakeformation.CfnPermissions.TableResourceProperty( catalog_id="catalogId", database_name="databaseName", name="name", table_wildcard=lakeformation.CfnPermissions.TableWildcardProperty() ), table_with_columns_resource=lakeformation.CfnPermissions.TableWithColumnsResourceProperty( catalog_id="catalogId", column_names=["columnNames"], column_wildcard=lakeformation.CfnPermissions.ColumnWildcardProperty( excluded_column_names=["excludedColumnNames"] ), database_name="databaseName", name="name" ) ), # the properties below are optional permissions=["permissions"], permissions_with_grant_option=["permissionsWithGrantOption"] )
Attributes
- data_lake_principal
The AWS Lake Formation principal.
- permissions
The permissions granted or revoked.
- permissions_with_grant_option
Indicates the ability to grant permissions (as a subset of permissions granted).
- resource
A structure for the resource.