Class CfnPermissionsProps
Properties for defining a CfnPermissions
.
Inheritance
System.Object
CfnPermissionsProps
Implements
Namespace: Amazon.CDK.AWS.LakeFormation
Assembly: Amazon.CDK.AWS.LakeFormation.dll
Syntax (csharp)
public class CfnPermissionsProps : Object, ICfnPermissionsProps
Syntax (vb)
Public Class CfnPermissionsProps
Inherits Object
Implements ICfnPermissionsProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.LakeFormation;
var cfnPermissionsProps = new CfnPermissionsProps {
DataLakePrincipal = new DataLakePrincipalProperty {
DataLakePrincipalIdentifier = "dataLakePrincipalIdentifier"
},
Resource = new ResourceProperty {
DatabaseResource = new DatabaseResourceProperty {
CatalogId = "catalogId",
Name = "name"
},
DataLocationResource = new DataLocationResourceProperty {
CatalogId = "catalogId",
S3Resource = "s3Resource"
},
TableResource = new TableResourceProperty {
CatalogId = "catalogId",
DatabaseName = "databaseName",
Name = "name",
TableWildcard = new TableWildcardProperty { }
},
TableWithColumnsResource = new TableWithColumnsResourceProperty {
CatalogId = "catalogId",
ColumnNames = new [] { "columnNames" },
ColumnWildcard = new ColumnWildcardProperty {
ExcludedColumnNames = new [] { "excludedColumnNames" }
},
DatabaseName = "databaseName",
Name = "name"
}
},
// the properties below are optional
Permissions = new [] { "permissions" },
PermissionsWithGrantOption = new [] { "permissionsWithGrantOption" }
};
Synopsis
Constructors
CfnPermissionsProps() |
Properties
DataLakePrincipal | The AWS Lake Formation principal. |
Permissions | The permissions granted or revoked. |
PermissionsWithGrantOption | Indicates the ability to grant permissions (as a subset of permissions granted). |
Resource | A structure for the resource. |
Constructors
CfnPermissionsProps()
public CfnPermissionsProps()
Properties
DataLakePrincipal
The AWS Lake Formation principal.
public object DataLakePrincipal { get; set; }
Property Value
System.Object
Remarks
Permissions
The permissions granted or revoked.
public string[] Permissions { get; set; }
Property Value
System.String[]
Remarks
PermissionsWithGrantOption
Indicates the ability to grant permissions (as a subset of permissions granted).
public string[] PermissionsWithGrantOption { get; set; }
Property Value
System.String[]
Remarks
Resource
A structure for the resource.
public object Resource { get; set; }
Property Value
System.Object