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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnDatabase.DatabaseInputProperty
static final class
An implementation forCfnDatabase.DatabaseInputProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
Creates a set of default permissions on the table for principals.default String
A description of the database.default Object
CfnDatabase.DatabaseInputProperty.FederatedDatabase
.default String
The location of the database (for example, an HDFS path).default String
getName()
The name of the database.default Object
These key-value pairs define parameters and properties of the database.default Object
ADatabaseIdentifier
structure 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
ADatabaseIdentifier
structure that describes a target database for resource linking. -
builder
-