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();
 
  • Method Details

    • getCatalogId

      @Stability(Stable) @NotNull String 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 the AWS::AccountId pseudo parameter. For example: !Ref AWS::AccountId

    • getDatabaseInput

      @Stability(Stable) @NotNull Object getDatabaseInput()
      The metadata for the database.
    • builder

      @Stability(Stable) static CfnDatabaseProps.Builder builder()
      Returns:
      a CfnDatabaseProps.Builder of CfnDatabaseProps