@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.536Z") @Stability(value=Stable) public interface CfnDatabaseProps extends software.amazon.jsii.JsiiSerializable
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() |
String |
getCatalogId()
The AWS account ID for the account in which to create the catalog object.
|
Object |
getDatabaseInput()
The metadata for the database.
|
@Stability(value=Stable) @NotNull String getCatalogId()
To specify the account ID, you can use the
Refintrinsic function with theAWS::AccountIdpseudo parameter. For example:!Ref AWS::AccountId
@Stability(value=Stable) @NotNull Object getDatabaseInput()
@Stability(value=Stable) static CfnDatabaseProps.Builder builder()
CfnDatabaseProps.Builder of CfnDatabasePropsCopyright © 2022. All rights reserved.