Skip to content

Create Catalog

glue_create_catalog R Documentation

Creates a new catalog in the Glue Data Catalog

Description

Creates a new catalog in the Glue Data Catalog.

Usage

glue_create_catalog(Name, CatalogInput, Tags)

Arguments

Name

[required] The name of the catalog to create.

CatalogInput

[required] A CatalogInput object that defines the metadata for the catalog.

Tags

A map array of key-value pairs, not more than 50 pairs. Each key is a UTF-8 string, not less than 1 or more than 128 bytes long. Each value is a UTF-8 string, not more than 256 bytes long. The tags you assign to the catalog.

Value

An empty list.

Request syntax

svc$create_catalog(
  Name = "string",
  CatalogInput = list(
    Description = "string",
    FederatedCatalog = list(
      Identifier = "string",
      ConnectionName = "string"
    ),
    Parameters = list(
      "string"
    ),
    TargetRedshiftCatalog = list(
      CatalogArn = "string"
    ),
    CatalogProperties = list(
      DataLakeAccessProperties = list(
        DataLakeAccess = TRUE|FALSE,
        DataTransferRole = "string",
        KmsKey = "string",
        CatalogType = "string"
      ),
      CustomProperties = list(
        "string"
      )
    ),
    CreateTableDefaultPermissions = list(
      list(
        Principal = list(
          DataLakePrincipalIdentifier = "string"
        ),
        Permissions = list(
          "ALL"|"SELECT"|"ALTER"|"DROP"|"DELETE"|"INSERT"|"CREATE_DATABASE"|"CREATE_TABLE"|"DATA_LOCATION_ACCESS"
        )
      )
    ),
    CreateDatabaseDefaultPermissions = list(
      list(
        Principal = list(
          DataLakePrincipalIdentifier = "string"
        ),
        Permissions = list(
          "ALL"|"SELECT"|"ALTER"|"DROP"|"DELETE"|"INSERT"|"CREATE_DATABASE"|"CREATE_TABLE"|"DATA_LOCATION_ACCESS"
        )
      )
    )
  ),
  Tags = list(
    "string"
  )
)