Interface ICfnPermissionsProps
Properties for defining a CfnPermissions
.
Namespace: Amazon.CDK.AWS.LakeFormation
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnPermissionsProps
Syntax (vb)
Public Interface 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
Properties
Data |
The AWS Lake Formation principal. |
Permissions | The permissions granted or revoked. |
Permissions |
Indicates the ability to grant permissions (as a subset of permissions granted). |
Resource | A structure for the resource. |
Properties
DataLakePrincipal
The AWS Lake Formation principal.
object DataLakePrincipal { get; }
Property Value
System.
Remarks
Permissions
The permissions granted or revoked.
virtual string[] Permissions { get; }
Property Value
System.
Remarks
PermissionsWithGrantOption
Indicates the ability to grant permissions (as a subset of permissions granted).
virtual string[] PermissionsWithGrantOption { get; }
Property Value
System.
Remarks
Resource
A structure for the resource.
object Resource { get; }
Property Value
System.