Class CfnDatabase.DatabaseInputProperty
The structure used to create or update a database.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Glue
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class DatabaseInputProperty : Object, CfnDatabase.IDatabaseInputProperty
Syntax (vb)
Public Class DatabaseInputProperty
Inherits Object
Implements CfnDatabase.IDatabaseInputProperty
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.Glue;
var parameters;
var databaseInputProperty = new DatabaseInputProperty {
CreateTableDefaultPermissions = new [] { new PrincipalPrivilegesProperty {
Permissions = new [] { "permissions" },
Principal = new DataLakePrincipalProperty {
DataLakePrincipalIdentifier = "dataLakePrincipalIdentifier"
}
} },
Description = "description",
FederatedDatabase = new FederatedDatabaseProperty {
ConnectionName = "connectionName",
Identifier = "identifier"
},
LocationUri = "locationUri",
Name = "name",
Parameters = parameters,
TargetDatabase = new DatabaseIdentifierProperty {
CatalogId = "catalogId",
DatabaseName = "databaseName",
Region = "region"
}
};
Synopsis
Constructors
DatabaseInputProperty() |
Properties
CreateTableDefaultPermissions | Creates a set of default permissions on the table for principals. |
Description | A description of the database. |
FederatedDatabase | A |
LocationUri | The location of the database (for example, an HDFS path). |
Name | The name of the database. |
Parameters | These key-value pairs define parameters and properties of the database. |
TargetDatabase | A |
Constructors
DatabaseInputProperty()
public DatabaseInputProperty()
Properties
CreateTableDefaultPermissions
Creates a set of default permissions on the table for principals.
public object CreateTableDefaultPermissions { get; set; }
Property Value
System.Object
Remarks
Used by AWS Lake Formation . Not used in the normal course of AWS Glue operations.
Description
A description of the database.
public string Description { get; set; }
Property Value
System.String
Remarks
FederatedDatabase
A FederatedDatabase
structure that references an entity outside the AWS Glue Data Catalog .
public object FederatedDatabase { get; set; }
Property Value
System.Object
Remarks
LocationUri
The location of the database (for example, an HDFS path).
public string LocationUri { get; set; }
Property Value
System.String
Remarks
Name
The name of the database.
public string Name { get; set; }
Property Value
System.String
Remarks
For Hive compatibility, this is folded to lowercase when it is stored.
Parameters
These key-value pairs define parameters and properties of the database.
public object Parameters { get; set; }
Property Value
System.Object
Remarks
TargetDatabase
A DatabaseIdentifier
structure that describes a target database for resource linking.
public object TargetDatabase { get; set; }
Property Value
System.Object