Interface CfnDatabase.DatabaseInputProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDatabase.DatabaseInputProperty.Jsii$Proxy
- Enclosing class:
- CfnDatabase
@Stability(Stable)
public static interface CfnDatabase.DatabaseInputProperty
extends software.amazon.jsii.JsiiSerializable
The structure used to create or update a database.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.glue.*;
Object parameters;
DatabaseInputProperty databaseInputProperty = DatabaseInputProperty.builder()
.createTableDefaultPermissions(List.of(PrincipalPrivilegesProperty.builder()
.permissions(List.of("permissions"))
.principal(DataLakePrincipalProperty.builder()
.dataLakePrincipalIdentifier("dataLakePrincipalIdentifier")
.build())
.build()))
.description("description")
.federatedDatabase(FederatedDatabaseProperty.builder()
.connectionName("connectionName")
.identifier("identifier")
.build())
.locationUri("locationUri")
.name("name")
.parameters(parameters)
.targetDatabase(DatabaseIdentifierProperty.builder()
.catalogId("catalogId")
.databaseName("databaseName")
.build())
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDatabase.DatabaseInputPropertystatic final classAn implementation forCfnDatabase.DatabaseInputProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectCreates a set of default permissions on the table for principals.default StringA description of the database.default ObjectCfnDatabase.DatabaseInputProperty.FederatedDatabase.default StringThe location of the database (for example, an HDFS path).default StringgetName()The name of the database.default ObjectThese key-value pairs define parameters and properties of the database.default ObjectADatabaseIdentifierstructure that describes a target database for resource linking.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCreateTableDefaultPermissions
Creates a set of default permissions on the table for principals.Used by AWS Lake Formation . Not used in the normal course of AWS Glue operations.
-
getDescription
A description of the database. -
getFederatedDatabase
CfnDatabase.DatabaseInputProperty.FederatedDatabase. -
getLocationUri
The location of the database (for example, an HDFS path). -
getName
The name of the database.For Hive compatibility, this is folded to lowercase when it is stored.
-
getParameters
These key-value pairs define parameters and properties of the database. -
getTargetDatabase
ADatabaseIdentifierstructure that describes a target database for resource linking. -
builder
-