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: