Class CatalogTableArgs


  • public final class CatalogTableArgs
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • catalogId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> catalogId()
        Returns:
        ID of the Glue Catalog and database to create the table in. If omitted, this defaults to the AWS Account ID plus the database name.
      • databaseName

        public com.pulumi.core.Output<java.lang.String> databaseName()
        Returns:
        Name of the metadata database where the table metadata resides. For Hive compatibility, this must be all lowercase.
      • description

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> description()
        Returns:
        Description of the table.
      • name

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
        Returns:
        Name of the table. For Hive compatibility, this must be entirely lowercase. The following arguments are optional:
      • openTableFormatInput

        public java.util.Optional<com.pulumi.core.Output<CatalogTableOpenTableFormatInputArgs>> openTableFormatInput()
        Returns:
        Configuration block for open table formats. See `openTableFormatInput` below.
      • owner

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> owner()
        Returns:
        Owner of the table.
      • parameters

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> parameters()
        Returns:
        Properties associated with this table, as a map of key-value pairs.
      • partitionIndices

        public java.util.Optional<com.pulumi.core.Output<java.util.List<CatalogTablePartitionIndexArgs>>> partitionIndices()
        Returns:
        Configuration block for a maximum of 3 partition indexes. See `partitionIndex` below.
      • partitionKeys

        public java.util.Optional<com.pulumi.core.Output<java.util.List<CatalogTablePartitionKeyArgs>>> partitionKeys()
        Returns:
        Configuration block of columns by which the table is partitioned. Only primitive types are supported as partition keys. See `partitionKeys` below.
      • region

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()
        Returns:
        Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
      • retention

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> retention()
        Returns:
        Retention time for this table.
      • storageDescriptor

        public java.util.Optional<com.pulumi.core.Output<CatalogTableStorageDescriptorArgs>> storageDescriptor()
        Returns:
        Configuration block for information about the physical storage of this table. For more information, refer to the [Glue Developer Guide](https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-catalog-tables.html#aws-glue-api-catalog-tables-StorageDescriptor). See `storageDescriptor` below.
      • tableType

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> tableType()
        Returns:
        Type of this table (EXTERNAL_TABLE, VIRTUAL_VIEW, etc.). While optional, some Athena DDL queries such as `ALTER TABLE` and `SHOW CREATE TABLE` will fail if this argument is empty.
      • targetTable

        public java.util.Optional<com.pulumi.core.Output<CatalogTableTargetTableArgs>> targetTable()
        Returns:
        Configuration block of a target table for resource linking. See `targetTable` below.
      • viewDefinition

        public java.util.Optional<com.pulumi.core.Output<CatalogTableViewDefinitionArgs>> viewDefinition()
        Returns:
        Structure that contains all the information that defines the view, including the dialect or dialects for the view, and the query. See `viewDefinition` below.
      • viewExpandedText

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> viewExpandedText()
        Returns:
        If the table is a view, the expanded text of the view; otherwise null.
      • viewOriginalText

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> viewOriginalText()
        Returns:
        If the table is a view, the original text of the view; otherwise null.