Partition

class Partition : KotlinCustomResource

Provides a Glue Partition Resource.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.glue.Partition;
import com.pulumi.aws.glue.PartitionArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new Partition("example", PartitionArgs.builder()
.databaseName("some-database")
.tableName("some-table")
.values("some-value")
.build());
}
}

Import

Glue Partitions can be imported with their catalog ID (usually AWS account ID), database name, table name and partition values e.g.,

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

Properties

Link copied to clipboard
val catalogId: Output<String>

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 creationTime: Output<String>

The time at which the partition was created.

Link copied to clipboard
val databaseName: Output<String>

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

Link copied to clipboard
val id: Output<String>
Link copied to clipboard

The last time at which the partition was accessed.

Link copied to clipboard

The last time at which column statistics were computed for this partition.

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

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

Link copied to clipboard

The values that define the partition.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
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>
Link copied to clipboard
val urn: Output<String>