Interface CfnDatabaseProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDatabaseProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:42.391Z")
@Stability(Stable)
public interface CfnDatabaseProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnDatabase
.
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") .federatedDatabase(FederatedDatabaseProperty.builder() .connectionName("connectionName") .identifier("identifier") .build()) .locationUri("locationUri") .name("name") .parameters(parameters) .targetDatabase(DatabaseIdentifierProperty.builder() .catalogId("catalogId") .databaseName("databaseName") .build()) .build()) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnDatabaseProps
static final class
An implementation forCfnDatabaseProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnDatabaseProps.Builder
builder()
The AWS account ID for the account in which to create the catalog object.The metadata for the database.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCatalogId
The AWS account ID for the account in which to create the catalog object.To specify the account ID, you can use the
Ref
intrinsic function with theAWS::AccountId
pseudo parameter. For example:!Ref AWS::AccountId
-
getDatabaseInput
The metadata for the database. -
builder
- Returns:
- a
CfnDatabaseProps.Builder
ofCfnDatabaseProps
-