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") .region("region") .build()) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier 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
AFederatedDatabase
structure that references an entity outside the AWS Glue Data Catalog .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.
- See Also:
-
getDescription
A description of the database.- See Also:
-
getFederatedDatabase
AFederatedDatabase
structure that references an entity outside the AWS Glue Data Catalog .- See Also:
-
getLocationUri
The location of the database (for example, an HDFS path).- See Also:
-
getName
The name of the database.For Hive compatibility, this is folded to lowercase when it is stored.
- See Also:
-
getParameters
These key-value pairs define parameters and properties of the database.- See Also:
-
getTargetDatabase
ADatabaseIdentifier
structure that describes a target database for resource linking.- See Also:
-
builder
-