Interface CfnDatabaseProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDatabaseProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-21T06:34:08.932Z")
@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") .region("region") .build()) .build()) // the properties below are optional .databaseName("databaseName") .build();
- See Also:
-
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.default String
The name of the catalog 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
- See Also:
-
getDatabaseInput
The metadata for the database.- See Also:
-
getDatabaseName
The name of the catalog database.- See Also:
-
builder
- Returns:
- a
CfnDatabaseProps.Builder
ofCfnDatabaseProps
-