Interface CfnDatabaseProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDatabaseProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:37.482Z")
@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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDatabasePropsstatic final classAn implementation forCfnDatabaseProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnDatabaseProps.Builderbuilder()The AWS account ID for the account in which to create the catalog object.The metadata for the database.default StringThe 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
Refintrinsic function with theAWS::AccountIdpseudo parameter. For example:!Ref AWS::AccountId- See Also:
-
getDatabaseInput
The metadata for the database.Returns union: either
IResolvableorCfnDatabase.DatabaseInputProperty- See Also:
-
getDatabaseName
The name of the catalog database.- See Also:
-
builder
- Returns:
- a
CfnDatabaseProps.BuilderofCfnDatabaseProps
-