aws.glue.Partition
Explore with Pulumi AI
Provides a Glue Partition Resource.
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
resources:
  example:
    type: aws:glue:Partition
    properties:
      databaseName: some-database
      tableName: some-table
      values:
        - some-value
Create Partition Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Partition(name: string, args: PartitionArgs, opts?: CustomResourceOptions);@overload
def Partition(resource_name: str,
              args: PartitionArgs,
              opts: Optional[ResourceOptions] = None)
@overload
def Partition(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              database_name: Optional[str] = None,
              partition_values: Optional[Sequence[str]] = None,
              table_name: Optional[str] = None,
              catalog_id: Optional[str] = None,
              parameters: Optional[Mapping[str, str]] = None,
              storage_descriptor: Optional[PartitionStorageDescriptorArgs] = None)func NewPartition(ctx *Context, name string, args PartitionArgs, opts ...ResourceOption) (*Partition, error)public Partition(string name, PartitionArgs args, CustomResourceOptions? opts = null)
public Partition(String name, PartitionArgs args)
public Partition(String name, PartitionArgs args, CustomResourceOptions options)
type: aws:glue:Partition
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args PartitionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args PartitionArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args PartitionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PartitionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PartitionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var partitionResource = new Aws.Glue.Partition("partitionResource", new()
{
    DatabaseName = "string",
    PartitionValues = new[]
    {
        "string",
    },
    TableName = "string",
    CatalogId = "string",
    Parameters = 
    {
        { "string", "string" },
    },
    StorageDescriptor = new Aws.Glue.Inputs.PartitionStorageDescriptorArgs
    {
        AdditionalLocations = new[]
        {
            "string",
        },
        BucketColumns = new[]
        {
            "string",
        },
        Columns = new[]
        {
            new Aws.Glue.Inputs.PartitionStorageDescriptorColumnArgs
            {
                Name = "string",
                Comment = "string",
                Type = "string",
            },
        },
        Compressed = false,
        InputFormat = "string",
        Location = "string",
        NumberOfBuckets = 0,
        OutputFormat = "string",
        Parameters = 
        {
            { "string", "string" },
        },
        SerDeInfo = new Aws.Glue.Inputs.PartitionStorageDescriptorSerDeInfoArgs
        {
            Name = "string",
            Parameters = 
            {
                { "string", "string" },
            },
            SerializationLibrary = "string",
        },
        SkewedInfo = new Aws.Glue.Inputs.PartitionStorageDescriptorSkewedInfoArgs
        {
            SkewedColumnNames = new[]
            {
                "string",
            },
            SkewedColumnValueLocationMaps = 
            {
                { "string", "string" },
            },
            SkewedColumnValues = new[]
            {
                "string",
            },
        },
        SortColumns = new[]
        {
            new Aws.Glue.Inputs.PartitionStorageDescriptorSortColumnArgs
            {
                Column = "string",
                SortOrder = 0,
            },
        },
        StoredAsSubDirectories = false,
    },
});
example, err := glue.NewPartition(ctx, "partitionResource", &glue.PartitionArgs{
	DatabaseName: pulumi.String("string"),
	PartitionValues: pulumi.StringArray{
		pulumi.String("string"),
	},
	TableName: pulumi.String("string"),
	CatalogId: pulumi.String("string"),
	Parameters: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	StorageDescriptor: &glue.PartitionStorageDescriptorArgs{
		AdditionalLocations: pulumi.StringArray{
			pulumi.String("string"),
		},
		BucketColumns: pulumi.StringArray{
			pulumi.String("string"),
		},
		Columns: glue.PartitionStorageDescriptorColumnArray{
			&glue.PartitionStorageDescriptorColumnArgs{
				Name:    pulumi.String("string"),
				Comment: pulumi.String("string"),
				Type:    pulumi.String("string"),
			},
		},
		Compressed:      pulumi.Bool(false),
		InputFormat:     pulumi.String("string"),
		Location:        pulumi.String("string"),
		NumberOfBuckets: pulumi.Int(0),
		OutputFormat:    pulumi.String("string"),
		Parameters: pulumi.StringMap{
			"string": pulumi.String("string"),
		},
		SerDeInfo: &glue.PartitionStorageDescriptorSerDeInfoArgs{
			Name: pulumi.String("string"),
			Parameters: pulumi.StringMap{
				"string": pulumi.String("string"),
			},
			SerializationLibrary: pulumi.String("string"),
		},
		SkewedInfo: &glue.PartitionStorageDescriptorSkewedInfoArgs{
			SkewedColumnNames: pulumi.StringArray{
				pulumi.String("string"),
			},
			SkewedColumnValueLocationMaps: pulumi.StringMap{
				"string": pulumi.String("string"),
			},
			SkewedColumnValues: pulumi.StringArray{
				pulumi.String("string"),
			},
		},
		SortColumns: glue.PartitionStorageDescriptorSortColumnArray{
			&glue.PartitionStorageDescriptorSortColumnArgs{
				Column:    pulumi.String("string"),
				SortOrder: pulumi.Int(0),
			},
		},
		StoredAsSubDirectories: pulumi.Bool(false),
	},
})
var partitionResource = new Partition("partitionResource", PartitionArgs.builder()
    .databaseName("string")
    .partitionValues("string")
    .tableName("string")
    .catalogId("string")
    .parameters(Map.of("string", "string"))
    .storageDescriptor(PartitionStorageDescriptorArgs.builder()
        .additionalLocations("string")
        .bucketColumns("string")
        .columns(PartitionStorageDescriptorColumnArgs.builder()
            .name("string")
            .comment("string")
            .type("string")
            .build())
        .compressed(false)
        .inputFormat("string")
        .location("string")
        .numberOfBuckets(0)
        .outputFormat("string")
        .parameters(Map.of("string", "string"))
        .serDeInfo(PartitionStorageDescriptorSerDeInfoArgs.builder()
            .name("string")
            .parameters(Map.of("string", "string"))
            .serializationLibrary("string")
            .build())
        .skewedInfo(PartitionStorageDescriptorSkewedInfoArgs.builder()
            .skewedColumnNames("string")
            .skewedColumnValueLocationMaps(Map.of("string", "string"))
            .skewedColumnValues("string")
            .build())
        .sortColumns(PartitionStorageDescriptorSortColumnArgs.builder()
            .column("string")
            .sortOrder(0)
            .build())
        .storedAsSubDirectories(false)
        .build())
    .build());
partition_resource = aws.glue.Partition("partitionResource",
    database_name="string",
    partition_values=["string"],
    table_name="string",
    catalog_id="string",
    parameters={
        "string": "string",
    },
    storage_descriptor={
        "additional_locations": ["string"],
        "bucket_columns": ["string"],
        "columns": [{
            "name": "string",
            "comment": "string",
            "type": "string",
        }],
        "compressed": False,
        "input_format": "string",
        "location": "string",
        "number_of_buckets": 0,
        "output_format": "string",
        "parameters": {
            "string": "string",
        },
        "ser_de_info": {
            "name": "string",
            "parameters": {
                "string": "string",
            },
            "serialization_library": "string",
        },
        "skewed_info": {
            "skewed_column_names": ["string"],
            "skewed_column_value_location_maps": {
                "string": "string",
            },
            "skewed_column_values": ["string"],
        },
        "sort_columns": [{
            "column": "string",
            "sort_order": 0,
        }],
        "stored_as_sub_directories": False,
    })
const partitionResource = new aws.glue.Partition("partitionResource", {
    databaseName: "string",
    partitionValues: ["string"],
    tableName: "string",
    catalogId: "string",
    parameters: {
        string: "string",
    },
    storageDescriptor: {
        additionalLocations: ["string"],
        bucketColumns: ["string"],
        columns: [{
            name: "string",
            comment: "string",
            type: "string",
        }],
        compressed: false,
        inputFormat: "string",
        location: "string",
        numberOfBuckets: 0,
        outputFormat: "string",
        parameters: {
            string: "string",
        },
        serDeInfo: {
            name: "string",
            parameters: {
                string: "string",
            },
            serializationLibrary: "string",
        },
        skewedInfo: {
            skewedColumnNames: ["string"],
            skewedColumnValueLocationMaps: {
                string: "string",
            },
            skewedColumnValues: ["string"],
        },
        sortColumns: [{
            column: "string",
            sortOrder: 0,
        }],
        storedAsSubDirectories: false,
    },
});
type: aws:glue:Partition
properties:
    catalogId: string
    databaseName: string
    parameters:
        string: string
    partitionValues:
        - string
    storageDescriptor:
        additionalLocations:
            - string
        bucketColumns:
            - string
        columns:
            - comment: string
              name: string
              type: string
        compressed: false
        inputFormat: string
        location: string
        numberOfBuckets: 0
        outputFormat: string
        parameters:
            string: string
        serDeInfo:
            name: string
            parameters:
                string: string
            serializationLibrary: string
        skewedInfo:
            skewedColumnNames:
                - string
            skewedColumnValueLocationMaps:
                string: string
            skewedColumnValues:
                - string
        sortColumns:
            - column: string
              sortOrder: 0
        storedAsSubDirectories: false
    tableName: string
Partition Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Partition resource accepts the following input properties:
- DatabaseName string
- Name of the metadata database where the table metadata resides. For Hive compatibility, this must be all lowercase.
- PartitionValues List<string>
- The values that define the partition.
- TableName string
- CatalogId 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.
- Parameters Dictionary<string, string>
- Properties associated with this table, as a list of key-value pairs.
- StorageDescriptor PartitionStorage Descriptor 
- 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.
- DatabaseName string
- Name of the metadata database where the table metadata resides. For Hive compatibility, this must be all lowercase.
- PartitionValues []string
- The values that define the partition.
- TableName string
- CatalogId 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.
- Parameters map[string]string
- Properties associated with this table, as a list of key-value pairs.
- StorageDescriptor PartitionStorage Descriptor Args 
- 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.
- databaseName String
- Name of the metadata database where the table metadata resides. For Hive compatibility, this must be all lowercase.
- partitionValues List<String>
- The values that define the partition.
- tableName String
- catalogId 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.
- parameters Map<String,String>
- Properties associated with this table, as a list of key-value pairs.
- storageDescriptor PartitionStorage Descriptor 
- 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.
- databaseName string
- Name of the metadata database where the table metadata resides. For Hive compatibility, this must be all lowercase.
- partitionValues string[]
- The values that define the partition.
- tableName string
- catalogId 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.
- parameters {[key: string]: string}
- Properties associated with this table, as a list of key-value pairs.
- storageDescriptor PartitionStorage Descriptor 
- 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.
- database_name str
- Name of the metadata database where the table metadata resides. For Hive compatibility, this must be all lowercase.
- partition_values Sequence[str]
- The values that define the partition.
- table_name str
- catalog_id str
- 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.
- parameters Mapping[str, str]
- Properties associated with this table, as a list of key-value pairs.
- storage_descriptor PartitionStorage Descriptor Args 
- 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.
- databaseName String
- Name of the metadata database where the table metadata resides. For Hive compatibility, this must be all lowercase.
- partitionValues List<String>
- The values that define the partition.
- tableName String
- catalogId 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.
- parameters Map<String>
- Properties associated with this table, as a list of key-value pairs.
- storageDescriptor Property Map
- 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the Partition resource produces the following output properties:
- CreationTime string
- The time at which the partition was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- LastAccessed stringTime 
- The last time at which the partition was accessed.
- LastAnalyzed stringTime 
- The last time at which column statistics were computed for this partition.
- CreationTime string
- The time at which the partition was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- LastAccessed stringTime 
- The last time at which the partition was accessed.
- LastAnalyzed stringTime 
- The last time at which column statistics were computed for this partition.
- creationTime String
- The time at which the partition was created.
- id String
- The provider-assigned unique ID for this managed resource.
- lastAccessed StringTime 
- The last time at which the partition was accessed.
- lastAnalyzed StringTime 
- The last time at which column statistics were computed for this partition.
- creationTime string
- The time at which the partition was created.
- id string
- The provider-assigned unique ID for this managed resource.
- lastAccessed stringTime 
- The last time at which the partition was accessed.
- lastAnalyzed stringTime 
- The last time at which column statistics were computed for this partition.
- creation_time str
- The time at which the partition was created.
- id str
- The provider-assigned unique ID for this managed resource.
- last_accessed_ strtime 
- The last time at which the partition was accessed.
- last_analyzed_ strtime 
- The last time at which column statistics were computed for this partition.
- creationTime String
- The time at which the partition was created.
- id String
- The provider-assigned unique ID for this managed resource.
- lastAccessed StringTime 
- The last time at which the partition was accessed.
- lastAnalyzed StringTime 
- The last time at which column statistics were computed for this partition.
Look up Existing Partition Resource
Get an existing Partition resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: PartitionState, opts?: CustomResourceOptions): Partition@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        catalog_id: Optional[str] = None,
        creation_time: Optional[str] = None,
        database_name: Optional[str] = None,
        last_accessed_time: Optional[str] = None,
        last_analyzed_time: Optional[str] = None,
        parameters: Optional[Mapping[str, str]] = None,
        partition_values: Optional[Sequence[str]] = None,
        storage_descriptor: Optional[PartitionStorageDescriptorArgs] = None,
        table_name: Optional[str] = None) -> Partitionfunc GetPartition(ctx *Context, name string, id IDInput, state *PartitionState, opts ...ResourceOption) (*Partition, error)public static Partition Get(string name, Input<string> id, PartitionState? state, CustomResourceOptions? opts = null)public static Partition get(String name, Output<String> id, PartitionState state, CustomResourceOptions options)resources:  _:    type: aws:glue:Partition    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- CatalogId 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.
- CreationTime string
- The time at which the partition was created.
- DatabaseName string
- Name of the metadata database where the table metadata resides. For Hive compatibility, this must be all lowercase.
- LastAccessed stringTime 
- The last time at which the partition was accessed.
- LastAnalyzed stringTime 
- The last time at which column statistics were computed for this partition.
- Parameters Dictionary<string, string>
- Properties associated with this table, as a list of key-value pairs.
- PartitionValues List<string>
- The values that define the partition.
- StorageDescriptor PartitionStorage Descriptor 
- 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.
- TableName string
- CatalogId 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.
- CreationTime string
- The time at which the partition was created.
- DatabaseName string
- Name of the metadata database where the table metadata resides. For Hive compatibility, this must be all lowercase.
- LastAccessed stringTime 
- The last time at which the partition was accessed.
- LastAnalyzed stringTime 
- The last time at which column statistics were computed for this partition.
- Parameters map[string]string
- Properties associated with this table, as a list of key-value pairs.
- PartitionValues []string
- The values that define the partition.
- StorageDescriptor PartitionStorage Descriptor Args 
- 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.
- TableName string
- catalogId 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.
- creationTime String
- The time at which the partition was created.
- databaseName String
- Name of the metadata database where the table metadata resides. For Hive compatibility, this must be all lowercase.
- lastAccessed StringTime 
- The last time at which the partition was accessed.
- lastAnalyzed StringTime 
- The last time at which column statistics were computed for this partition.
- parameters Map<String,String>
- Properties associated with this table, as a list of key-value pairs.
- partitionValues List<String>
- The values that define the partition.
- storageDescriptor PartitionStorage Descriptor 
- 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.
- tableName String
- catalogId 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.
- creationTime string
- The time at which the partition was created.
- databaseName string
- Name of the metadata database where the table metadata resides. For Hive compatibility, this must be all lowercase.
- lastAccessed stringTime 
- The last time at which the partition was accessed.
- lastAnalyzed stringTime 
- The last time at which column statistics were computed for this partition.
- parameters {[key: string]: string}
- Properties associated with this table, as a list of key-value pairs.
- partitionValues string[]
- The values that define the partition.
- storageDescriptor PartitionStorage Descriptor 
- 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.
- tableName string
- catalog_id str
- 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.
- creation_time str
- The time at which the partition was created.
- database_name str
- Name of the metadata database where the table metadata resides. For Hive compatibility, this must be all lowercase.
- last_accessed_ strtime 
- The last time at which the partition was accessed.
- last_analyzed_ strtime 
- The last time at which column statistics were computed for this partition.
- parameters Mapping[str, str]
- Properties associated with this table, as a list of key-value pairs.
- partition_values Sequence[str]
- The values that define the partition.
- storage_descriptor PartitionStorage Descriptor Args 
- 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.
- table_name str
- catalogId 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.
- creationTime String
- The time at which the partition was created.
- databaseName String
- Name of the metadata database where the table metadata resides. For Hive compatibility, this must be all lowercase.
- lastAccessed StringTime 
- The last time at which the partition was accessed.
- lastAnalyzed StringTime 
- The last time at which column statistics were computed for this partition.
- parameters Map<String>
- Properties associated with this table, as a list of key-value pairs.
- partitionValues List<String>
- The values that define the partition.
- storageDescriptor Property Map
- 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.
- tableName String
Supporting Types
PartitionStorageDescriptor, PartitionStorageDescriptorArgs      
- AdditionalLocations List<string>
- List of locations that point to the path where a Delta table is located.
- BucketColumns List<string>
- A list of reducer grouping columns, clustering columns, and bucketing columns in the table.
- Columns
List<PartitionStorage Descriptor Column> 
- A list of the Columns in the table.
- Compressed bool
- True if the data in the table is compressed, or False if not.
- InputFormat string
- The input format: SequenceFileInputFormat (binary), or TextInputFormat, or a custom format.
- Location string
- The physical location of the table. By default this takes the form of the warehouse location, followed by the database location in the warehouse, followed by the table name.
- NumberOf intBuckets 
- Must be specified if the table contains any dimension columns.
- OutputFormat string
- The output format: SequenceFileOutputFormat (binary), or IgnoreKeyTextOutputFormat, or a custom format.
- Parameters Dictionary<string, string>
- User-supplied properties in key-value form.
- SerDe PartitionInfo Storage Descriptor Ser De Info 
- Serialization/deserialization (SerDe) information.
- SkewedInfo PartitionStorage Descriptor Skewed Info 
- Information about values that appear very frequently in a column (skewed values).
- SortColumns List<PartitionStorage Descriptor Sort Column> 
- A list of Order objects specifying the sort order of each bucket in the table.
- StoredAs boolSub Directories 
- True if the table data is stored in subdirectories, or False if not.
- AdditionalLocations []string
- List of locations that point to the path where a Delta table is located.
- BucketColumns []string
- A list of reducer grouping columns, clustering columns, and bucketing columns in the table.
- Columns
[]PartitionStorage Descriptor Column 
- A list of the Columns in the table.
- Compressed bool
- True if the data in the table is compressed, or False if not.
- InputFormat string
- The input format: SequenceFileInputFormat (binary), or TextInputFormat, or a custom format.
- Location string
- The physical location of the table. By default this takes the form of the warehouse location, followed by the database location in the warehouse, followed by the table name.
- NumberOf intBuckets 
- Must be specified if the table contains any dimension columns.
- OutputFormat string
- The output format: SequenceFileOutputFormat (binary), or IgnoreKeyTextOutputFormat, or a custom format.
- Parameters map[string]string
- User-supplied properties in key-value form.
- SerDe PartitionInfo Storage Descriptor Ser De Info 
- Serialization/deserialization (SerDe) information.
- SkewedInfo PartitionStorage Descriptor Skewed Info 
- Information about values that appear very frequently in a column (skewed values).
- SortColumns []PartitionStorage Descriptor Sort Column 
- A list of Order objects specifying the sort order of each bucket in the table.
- StoredAs boolSub Directories 
- True if the table data is stored in subdirectories, or False if not.
- additionalLocations List<String>
- List of locations that point to the path where a Delta table is located.
- bucketColumns List<String>
- A list of reducer grouping columns, clustering columns, and bucketing columns in the table.
- columns
List<PartitionStorage Descriptor Column> 
- A list of the Columns in the table.
- compressed Boolean
- True if the data in the table is compressed, or False if not.
- inputFormat String
- The input format: SequenceFileInputFormat (binary), or TextInputFormat, or a custom format.
- location String
- The physical location of the table. By default this takes the form of the warehouse location, followed by the database location in the warehouse, followed by the table name.
- numberOf IntegerBuckets 
- Must be specified if the table contains any dimension columns.
- outputFormat String
- The output format: SequenceFileOutputFormat (binary), or IgnoreKeyTextOutputFormat, or a custom format.
- parameters Map<String,String>
- User-supplied properties in key-value form.
- serDe PartitionInfo Storage Descriptor Ser De Info 
- Serialization/deserialization (SerDe) information.
- skewedInfo PartitionStorage Descriptor Skewed Info 
- Information about values that appear very frequently in a column (skewed values).
- sortColumns List<PartitionStorage Descriptor Sort Column> 
- A list of Order objects specifying the sort order of each bucket in the table.
- storedAs BooleanSub Directories 
- True if the table data is stored in subdirectories, or False if not.
- additionalLocations string[]
- List of locations that point to the path where a Delta table is located.
- bucketColumns string[]
- A list of reducer grouping columns, clustering columns, and bucketing columns in the table.
- columns
PartitionStorage Descriptor Column[] 
- A list of the Columns in the table.
- compressed boolean
- True if the data in the table is compressed, or False if not.
- inputFormat string
- The input format: SequenceFileInputFormat (binary), or TextInputFormat, or a custom format.
- location string
- The physical location of the table. By default this takes the form of the warehouse location, followed by the database location in the warehouse, followed by the table name.
- numberOf numberBuckets 
- Must be specified if the table contains any dimension columns.
- outputFormat string
- The output format: SequenceFileOutputFormat (binary), or IgnoreKeyTextOutputFormat, or a custom format.
- parameters {[key: string]: string}
- User-supplied properties in key-value form.
- serDe PartitionInfo Storage Descriptor Ser De Info 
- Serialization/deserialization (SerDe) information.
- skewedInfo PartitionStorage Descriptor Skewed Info 
- Information about values that appear very frequently in a column (skewed values).
- sortColumns PartitionStorage Descriptor Sort Column[] 
- A list of Order objects specifying the sort order of each bucket in the table.
- storedAs booleanSub Directories 
- True if the table data is stored in subdirectories, or False if not.
- additional_locations Sequence[str]
- List of locations that point to the path where a Delta table is located.
- bucket_columns Sequence[str]
- A list of reducer grouping columns, clustering columns, and bucketing columns in the table.
- columns
Sequence[PartitionStorage Descriptor Column] 
- A list of the Columns in the table.
- compressed bool
- True if the data in the table is compressed, or False if not.
- input_format str
- The input format: SequenceFileInputFormat (binary), or TextInputFormat, or a custom format.
- location str
- The physical location of the table. By default this takes the form of the warehouse location, followed by the database location in the warehouse, followed by the table name.
- number_of_ intbuckets 
- Must be specified if the table contains any dimension columns.
- output_format str
- The output format: SequenceFileOutputFormat (binary), or IgnoreKeyTextOutputFormat, or a custom format.
- parameters Mapping[str, str]
- User-supplied properties in key-value form.
- ser_de_ Partitioninfo Storage Descriptor Ser De Info 
- Serialization/deserialization (SerDe) information.
- skewed_info PartitionStorage Descriptor Skewed Info 
- Information about values that appear very frequently in a column (skewed values).
- sort_columns Sequence[PartitionStorage Descriptor Sort Column] 
- A list of Order objects specifying the sort order of each bucket in the table.
- stored_as_ boolsub_ directories 
- True if the table data is stored in subdirectories, or False if not.
- additionalLocations List<String>
- List of locations that point to the path where a Delta table is located.
- bucketColumns List<String>
- A list of reducer grouping columns, clustering columns, and bucketing columns in the table.
- columns List<Property Map>
- A list of the Columns in the table.
- compressed Boolean
- True if the data in the table is compressed, or False if not.
- inputFormat String
- The input format: SequenceFileInputFormat (binary), or TextInputFormat, or a custom format.
- location String
- The physical location of the table. By default this takes the form of the warehouse location, followed by the database location in the warehouse, followed by the table name.
- numberOf NumberBuckets 
- Must be specified if the table contains any dimension columns.
- outputFormat String
- The output format: SequenceFileOutputFormat (binary), or IgnoreKeyTextOutputFormat, or a custom format.
- parameters Map<String>
- User-supplied properties in key-value form.
- serDe Property MapInfo 
- Serialization/deserialization (SerDe) information.
- skewedInfo Property Map
- Information about values that appear very frequently in a column (skewed values).
- sortColumns List<Property Map>
- A list of Order objects specifying the sort order of each bucket in the table.
- storedAs BooleanSub Directories 
- True if the table data is stored in subdirectories, or False if not.
PartitionStorageDescriptorColumn, PartitionStorageDescriptorColumnArgs        
PartitionStorageDescriptorSerDeInfo, PartitionStorageDescriptorSerDeInfoArgs            
- Name string
- Name of the SerDe.
- Parameters Dictionary<string, string>
- A map of initialization parameters for the SerDe, in key-value form.
- SerializationLibrary string
- Usually the class that implements the SerDe. An example is: org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe.
- Name string
- Name of the SerDe.
- Parameters map[string]string
- A map of initialization parameters for the SerDe, in key-value form.
- SerializationLibrary string
- Usually the class that implements the SerDe. An example is: org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe.
- name String
- Name of the SerDe.
- parameters Map<String,String>
- A map of initialization parameters for the SerDe, in key-value form.
- serializationLibrary String
- Usually the class that implements the SerDe. An example is: org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe.
- name string
- Name of the SerDe.
- parameters {[key: string]: string}
- A map of initialization parameters for the SerDe, in key-value form.
- serializationLibrary string
- Usually the class that implements the SerDe. An example is: org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe.
- name str
- Name of the SerDe.
- parameters Mapping[str, str]
- A map of initialization parameters for the SerDe, in key-value form.
- serialization_library str
- Usually the class that implements the SerDe. An example is: org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe.
- name String
- Name of the SerDe.
- parameters Map<String>
- A map of initialization parameters for the SerDe, in key-value form.
- serializationLibrary String
- Usually the class that implements the SerDe. An example is: org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe.
PartitionStorageDescriptorSkewedInfo, PartitionStorageDescriptorSkewedInfoArgs          
- SkewedColumn List<string>Names 
- A list of names of columns that contain skewed values.
- SkewedColumn Dictionary<string, string>Value Location Maps 
- A list of values that appear so frequently as to be considered skewed.
- SkewedColumn List<string>Values 
- A map of skewed values to the columns that contain them.
- SkewedColumn []stringNames 
- A list of names of columns that contain skewed values.
- SkewedColumn map[string]stringValue Location Maps 
- A list of values that appear so frequently as to be considered skewed.
- SkewedColumn []stringValues 
- A map of skewed values to the columns that contain them.
- skewedColumn List<String>Names 
- A list of names of columns that contain skewed values.
- skewedColumn Map<String,String>Value Location Maps 
- A list of values that appear so frequently as to be considered skewed.
- skewedColumn List<String>Values 
- A map of skewed values to the columns that contain them.
- skewedColumn string[]Names 
- A list of names of columns that contain skewed values.
- skewedColumn {[key: string]: string}Value Location Maps 
- A list of values that appear so frequently as to be considered skewed.
- skewedColumn string[]Values 
- A map of skewed values to the columns that contain them.
- skewed_column_ Sequence[str]names 
- A list of names of columns that contain skewed values.
- skewed_column_ Mapping[str, str]value_ location_ maps 
- A list of values that appear so frequently as to be considered skewed.
- skewed_column_ Sequence[str]values 
- A map of skewed values to the columns that contain them.
- skewedColumn List<String>Names 
- A list of names of columns that contain skewed values.
- skewedColumn Map<String>Value Location Maps 
- A list of values that appear so frequently as to be considered skewed.
- skewedColumn List<String>Values 
- A map of skewed values to the columns that contain them.
PartitionStorageDescriptorSortColumn, PartitionStorageDescriptorSortColumnArgs          
- column str
- The name of the column.
- sort_order int
- Indicates that the column is sorted in ascending order (== 1), or in descending order (==0).
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
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the awsTerraform Provider.