Show / Hide Table of Contents

Class CfnDatabase.DatabaseInputProperty

The structure used to create or update a database.

Inheritance
object
CfnDatabase.DatabaseInputProperty
Implements
CfnDatabase.IDatabaseInputProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.Glue
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnDatabase.DatabaseInputProperty : CfnDatabase.IDatabaseInputProperty
Syntax (vb)
Public Class CfnDatabase.DatabaseInputProperty Implements CfnDatabase.IDatabaseInputProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-database-databaseinput.html

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()

The structure used to create or update a database.

Properties

CreateTableDefaultPermissions

Creates a set of default permissions on the table for principals.

Description

A description of the database.

FederatedDatabase

A FederatedDatabase structure that references an entity outside the AWS Glue Data Catalog .

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 DatabaseIdentifier structure that describes a target database for resource linking.

Constructors

DatabaseInputProperty()

The structure used to create or update a database.

public DatabaseInputProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-database-databaseinput.html

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"
                 }
             };

Properties

CreateTableDefaultPermissions

Creates a set of default permissions on the table for principals.

public object? CreateTableDefaultPermissions { get; set; }
Property Value

object

Remarks

Used by AWS Lake Formation . Not used in the normal course of AWS Glue operations.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-database-databaseinput.html#cfn-glue-database-databaseinput-createtabledefaultpermissions

Description

A description of the database.

public string? Description { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-database-databaseinput.html#cfn-glue-database-databaseinput-description

FederatedDatabase

A FederatedDatabase structure that references an entity outside the AWS Glue Data Catalog .

public object? FederatedDatabase { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-database-databaseinput.html#cfn-glue-database-databaseinput-federateddatabase

LocationUri

The location of the database (for example, an HDFS path).

public string? LocationUri { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-database-databaseinput.html#cfn-glue-database-databaseinput-locationuri

Name

The name of the database.

public string? Name { get; set; }
Property Value

string

Remarks

For Hive compatibility, this is folded to lowercase when it is stored.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-database-databaseinput.html#cfn-glue-database-databaseinput-name

Parameters

These key-value pairs define parameters and properties of the database.

public object? Parameters { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-database-databaseinput.html#cfn-glue-database-databaseinput-parameters

TargetDatabase

A DatabaseIdentifier structure that describes a target database for resource linking.

public object? TargetDatabase { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-database-databaseinput.html#cfn-glue-database-databaseinput-targetdatabase

Implements

CfnDatabase.IDatabaseInputProperty
Back to top Generated by DocFX