PartitionArgs

data class PartitionArgs(val catalogId: Output<String>? = null, val databaseName: Output<String>? = null, val parameters: Output<Map<String, String>>? = null, val partitionValues: Output<List<String>>? = null, val storageDescriptor: Output<PartitionStorageDescriptorArgs>? = null, val tableName: Output<String>? = null) : ConvertibleToJava<PartitionArgs>

Provides a Glue Partition Resource.

Example Usage

resources:
example:
type: aws:glue:Partition
properties:
databaseName: some-database
tableName: some-table
values:
- some-value

Import

Using pulumi import, import Glue Partitions using the catalog ID (usually AWS account ID), database name, table name and partition values. For example:

$ pulumi import aws:glue/partition:Partition part 123456789012:MyDatabase:MyTable:val1#val2

Constructors

Link copied to clipboard
constructor(catalogId: Output<String>? = null, databaseName: Output<String>? = null, parameters: Output<Map<String, String>>? = null, partitionValues: Output<List<String>>? = null, storageDescriptor: Output<PartitionStorageDescriptorArgs>? = null, tableName: Output<String>? = null)

Properties

Link copied to clipboard
val catalogId: Output<String>? = null

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.

Link copied to clipboard
val databaseName: Output<String>? = null

Name of the metadata database where the table metadata resides. For Hive compatibility, this must be all lowercase.

Link copied to clipboard
val parameters: Output<Map<String, String>>? = null

Properties associated with this table, as a list of key-value pairs.

Link copied to clipboard
val partitionValues: Output<List<String>>? = null

The values that define the partition.

Link copied to clipboard

A storage descriptor object containing information about the physical storage of this table. You can refer to the Glue Developer Guide for a full explanation of this object.

Link copied to clipboard
val tableName: Output<String>? = null

Functions

Link copied to clipboard
open override fun toJava(): PartitionArgs