@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)",
date="2022-05-13T01:13:35.036Z")
public interface CfnDatabaseProps
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; CfnDatabaseProps cfnDatabaseProps = CfnDatabaseProps.builder() .catalogId("catalogId") .databaseInput(DatabaseInputProperty.builder() .createTableDefaultPermissions(List.of(PrincipalPrivilegesProperty.builder() .permissions(List.of("permissions")) .principal(DataLakePrincipalProperty.builder() .dataLakePrincipalIdentifier("dataLakePrincipalIdentifier") .build()) .build())) .description("description") .locationUri("locationUri") .name("name") .parameters(parameters) .targetDatabase(DatabaseIdentifierProperty.builder() .catalogId("catalogId") .databaseName("databaseName") .build()) .build()) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnDatabaseProps.Builder
A builder for
CfnDatabaseProps |
static class |
CfnDatabaseProps.Jsii$Proxy
An implementation for
CfnDatabaseProps |
Modifier and Type | Method and Description |
---|---|
static CfnDatabaseProps.Builder |
builder() |
java.lang.String |
getCatalogId()
The AWS account ID for the account in which to create the catalog object.
|
java.lang.Object |
getDatabaseInput()
The metadata for the database.
|
java.lang.String getCatalogId()
To specify the account ID, you can use the
Ref
intrinsic function with theAWS::AccountId
pseudo parameter. For example:!Ref AWS::AccountId
java.lang.Object getDatabaseInput()
static CfnDatabaseProps.Builder builder()
CfnDatabaseProps.Builder
of CfnDatabaseProps