Class CfnPrincipalPermissionsMixinProps
Properties for CfnPrincipalPermissionsPropsMixin.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.LakeFormation
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnPrincipalPermissionsMixinProps : ICfnPrincipalPermissionsMixinProps
Syntax (vb)
Public Class CfnPrincipalPermissionsMixinProps Implements ICfnPrincipalPermissionsMixinProps
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.CfnPropertyMixins.AWS.LakeFormation;
var catalog;
var tableWildcard;
var cfnPrincipalPermissionsMixinProps = new CfnPrincipalPermissionsMixinProps {
Catalog = "catalog",
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",
Name = "name",
TableWildcard = tableWildcard
},
TableWithColumns = new TableWithColumnsResourceProperty {
CatalogId = "catalogId",
ColumnNames = new [] { "columnNames" },
ColumnWildcard = new ColumnWildcardProperty {
ExcludedColumnNames = new [] { "excludedColumnNames" }
},
DatabaseName = "databaseName",
Name = "name"
}
}
};
Synopsis
Constructors
| CfnPrincipalPermissionsMixinProps() | Properties for CfnPrincipalPermissionsPropsMixin. |
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
CfnPrincipalPermissionsMixinProps()
Properties for CfnPrincipalPermissionsPropsMixin.
public CfnPrincipalPermissionsMixinProps()
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.CfnPropertyMixins.AWS.LakeFormation;
var catalog;
var tableWildcard;
var cfnPrincipalPermissionsMixinProps = new CfnPrincipalPermissionsMixinProps {
Catalog = "catalog",
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",
Name = "name",
TableWildcard = tableWildcard
},
TableWithColumns = new TableWithColumnsResourceProperty {
CatalogId = "catalogId",
ColumnNames = new [] { "columnNames" },
ColumnWildcard = new ColumnWildcardProperty {
ExcludedColumnNames = new [] { "excludedColumnNames" }
},
DatabaseName = "databaseName",
Name = "name"
}
}
};
Properties
Catalog
The identifier for the Data Catalog .
public string? Catalog { get; set; }
Property Value
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
string[]
Remarks
PermissionsWithGrantOption
Indicates the ability to grant permissions (as a subset of permissions granted).
public string[]? PermissionsWithGrantOption { get; set; }
Property Value
string[]
Remarks
Principal
The principal to be granted a permission.
public object? Principal { get; set; }
Property Value
Remarks
Resource
The resource to be granted or revoked permissions.
public object? Resource { get; set; }