Class CfnPrincipalPermissionsProps
Properties for defining a CfnPrincipalPermissions
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.LakeFormation
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnPrincipalPermissionsProps : Object, ICfnPrincipalPermissionsProps
Syntax (vb)
Public Class CfnPrincipalPermissionsProps
Inherits Object
Implements ICfnPrincipalPermissionsProps
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 catalog;
var tableWildcard;
var cfnPrincipalPermissionsProps = new CfnPrincipalPermissionsProps {
Permissions = new [] { "permissions" },
PermissionsWithGrantOption = new [] { "permissionsWithGrantOption" },
Principal = new DataLakePrincipalProperty {
DataLakePrincipalIdentifier = "dataLakePrincipalIdentifier"
},
Resource = new ResourceProperty {
Catalog = catalog,
Database = new DatabaseResourceProperty {
CatalogId = "catalogId",
Name = "name"
},
DataCellsFilter = new DataCellsFilterResourceProperty {
DatabaseName = "databaseName",
Name = "name",
TableCatalogId = "tableCatalogId",
TableName = "tableName"
},
DataLocation = new DataLocationResourceProperty {
CatalogId = "catalogId",
ResourceArn = "resourceArn"
},
LfTag = new LFTagKeyResourceProperty {
CatalogId = "catalogId",
TagKey = "tagKey",
TagValues = new [] { "tagValues" }
},
LfTagPolicy = new LFTagPolicyResourceProperty {
CatalogId = "catalogId",
Expression = new [] { new LFTagProperty {
TagKey = "tagKey",
TagValues = new [] { "tagValues" }
} },
ResourceType = "resourceType"
},
Table = new TableResourceProperty {
CatalogId = "catalogId",
DatabaseName = "databaseName",
// the properties below are optional
Name = "name",
TableWildcard = tableWildcard
},
TableWithColumns = new TableWithColumnsResourceProperty {
CatalogId = "catalogId",
DatabaseName = "databaseName",
Name = "name",
// the properties below are optional
ColumnNames = new [] { "columnNames" },
ColumnWildcard = new ColumnWildcardProperty {
ExcludedColumnNames = new [] { "excludedColumnNames" }
}
}
},
// the properties below are optional
Catalog = "catalog"
};
Synopsis
Constructors
CfnPrincipalPermissionsProps() |
Properties
Catalog | The identifier for the Data Catalog . |
Permissions | The permissions granted or revoked. |
PermissionsWithGrantOption | Indicates the ability to grant permissions (as a subset of permissions granted). |
Principal | The principal to be granted a permission. |
Resource | The resource to be granted or revoked permissions. |
Constructors
CfnPrincipalPermissionsProps()
public CfnPrincipalPermissionsProps()
Properties
Catalog
The identifier for the Data Catalog .
public string Catalog { get; set; }
Property Value
System.String
Remarks
By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your Lake Formation environment.
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
Principal
The principal to be granted a permission.
public object Principal { get; set; }
Property Value
System.Object
Remarks
Resource
The resource to be granted or revoked permissions.
public object Resource { get; set; }
Property Value
System.Object