1. Packages
  2. AWS Classic
  3. API Docs
  4. glue
  5. Partition

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi

aws.glue.Partition

Explore with Pulumi AI

aws logo

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi

    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
        {
            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{
    		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()
            .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={
            "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,
        })
    
    const partitionResource = new aws.glue.Partition("partitionResource", {
        databaseName: "string",
        partitionValues: ["string"],
        tableName: "string",
        catalogId: "string",
        parameters: {
            string: "string",
        },
        storageDescriptor: {
            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:
            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

    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 PartitionStorageDescriptor
    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 PartitionStorageDescriptorArgs
    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 PartitionStorageDescriptor
    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 PartitionStorageDescriptor
    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 PartitionStorageDescriptorArgs
    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.
    LastAccessedTime string
    The last time at which the partition was accessed.
    LastAnalyzedTime string
    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.
    LastAccessedTime string
    The last time at which the partition was accessed.
    LastAnalyzedTime string
    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.
    lastAccessedTime String
    The last time at which the partition was accessed.
    lastAnalyzedTime String
    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.
    lastAccessedTime string
    The last time at which the partition was accessed.
    lastAnalyzedTime string
    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_time str
    The last time at which the partition was accessed.
    last_analyzed_time str
    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.
    lastAccessedTime String
    The last time at which the partition was accessed.
    lastAnalyzedTime String
    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) -> Partition
    func 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)
    Resource lookup is not supported in YAML
    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.
    The following state arguments are supported:
    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.
    LastAccessedTime string
    The last time at which the partition was accessed.
    LastAnalyzedTime string
    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 PartitionStorageDescriptor
    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.
    LastAccessedTime string
    The last time at which the partition was accessed.
    LastAnalyzedTime string
    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 PartitionStorageDescriptorArgs
    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.
    lastAccessedTime String
    The last time at which the partition was accessed.
    lastAnalyzedTime String
    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 PartitionStorageDescriptor
    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.
    lastAccessedTime string
    The last time at which the partition was accessed.
    lastAnalyzedTime string
    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 PartitionStorageDescriptor
    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_time str
    The last time at which the partition was accessed.
    last_analyzed_time str
    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 PartitionStorageDescriptorArgs
    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.
    lastAccessedTime String
    The last time at which the partition was accessed.
    lastAnalyzedTime String
    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

    BucketColumns List<string>
    A list of reducer grouping columns, clustering columns, and bucketing columns in the table.
    Columns List<PartitionStorageDescriptorColumn>
    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.
    NumberOfBuckets int
    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.
    SerDeInfo PartitionStorageDescriptorSerDeInfo
    Serialization/deserialization (SerDe) information.
    SkewedInfo PartitionStorageDescriptorSkewedInfo
    Information about values that appear very frequently in a column (skewed values).
    SortColumns List<PartitionStorageDescriptorSortColumn>
    A list of Order objects specifying the sort order of each bucket in the table.
    StoredAsSubDirectories bool
    True if the table data is stored in subdirectories, or False if not.
    BucketColumns []string
    A list of reducer grouping columns, clustering columns, and bucketing columns in the table.
    Columns []PartitionStorageDescriptorColumn
    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.
    NumberOfBuckets int
    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.
    SerDeInfo PartitionStorageDescriptorSerDeInfo
    Serialization/deserialization (SerDe) information.
    SkewedInfo PartitionStorageDescriptorSkewedInfo
    Information about values that appear very frequently in a column (skewed values).
    SortColumns []PartitionStorageDescriptorSortColumn
    A list of Order objects specifying the sort order of each bucket in the table.
    StoredAsSubDirectories bool
    True if the table data is stored in subdirectories, or False if not.
    bucketColumns List<String>
    A list of reducer grouping columns, clustering columns, and bucketing columns in the table.
    columns List<PartitionStorageDescriptorColumn>
    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.
    numberOfBuckets Integer
    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.
    serDeInfo PartitionStorageDescriptorSerDeInfo
    Serialization/deserialization (SerDe) information.
    skewedInfo PartitionStorageDescriptorSkewedInfo
    Information about values that appear very frequently in a column (skewed values).
    sortColumns List<PartitionStorageDescriptorSortColumn>
    A list of Order objects specifying the sort order of each bucket in the table.
    storedAsSubDirectories Boolean
    True if the table data is stored in subdirectories, or False if not.
    bucketColumns string[]
    A list of reducer grouping columns, clustering columns, and bucketing columns in the table.
    columns PartitionStorageDescriptorColumn[]
    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.
    numberOfBuckets number
    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.
    serDeInfo PartitionStorageDescriptorSerDeInfo
    Serialization/deserialization (SerDe) information.
    skewedInfo PartitionStorageDescriptorSkewedInfo
    Information about values that appear very frequently in a column (skewed values).
    sortColumns PartitionStorageDescriptorSortColumn[]
    A list of Order objects specifying the sort order of each bucket in the table.
    storedAsSubDirectories boolean
    True if the table data is stored in subdirectories, or False if not.
    bucket_columns Sequence[str]
    A list of reducer grouping columns, clustering columns, and bucketing columns in the table.
    columns Sequence[PartitionStorageDescriptorColumn]
    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_buckets int
    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_info PartitionStorageDescriptorSerDeInfo
    Serialization/deserialization (SerDe) information.
    skewed_info PartitionStorageDescriptorSkewedInfo
    Information about values that appear very frequently in a column (skewed values).
    sort_columns Sequence[PartitionStorageDescriptorSortColumn]
    A list of Order objects specifying the sort order of each bucket in the table.
    stored_as_sub_directories bool
    True if the table data is stored in subdirectories, or False if not.
    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.
    numberOfBuckets Number
    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.
    serDeInfo Property Map
    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.
    storedAsSubDirectories Boolean
    True if the table data is stored in subdirectories, or False if not.

    PartitionStorageDescriptorColumn, PartitionStorageDescriptorColumnArgs

    Name string
    Comment string
    Type string
    Name string
    Comment string
    Type string
    name String
    comment String
    type String
    name string
    comment string
    type string
    name str
    comment str
    type str
    name String
    comment String
    type String

    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

    SkewedColumnNames List<string>
    A list of names of columns that contain skewed values.
    SkewedColumnValueLocationMaps Dictionary<string, string>
    A list of values that appear so frequently as to be considered skewed.
    SkewedColumnValues List<string>
    A map of skewed values to the columns that contain them.
    SkewedColumnNames []string
    A list of names of columns that contain skewed values.
    SkewedColumnValueLocationMaps map[string]string
    A list of values that appear so frequently as to be considered skewed.
    SkewedColumnValues []string
    A map of skewed values to the columns that contain them.
    skewedColumnNames List<String>
    A list of names of columns that contain skewed values.
    skewedColumnValueLocationMaps Map<String,String>
    A list of values that appear so frequently as to be considered skewed.
    skewedColumnValues List<String>
    A map of skewed values to the columns that contain them.
    skewedColumnNames string[]
    A list of names of columns that contain skewed values.
    skewedColumnValueLocationMaps {[key: string]: string}
    A list of values that appear so frequently as to be considered skewed.
    skewedColumnValues string[]
    A map of skewed values to the columns that contain them.
    skewed_column_names Sequence[str]
    A list of names of columns that contain skewed values.
    skewed_column_value_location_maps Mapping[str, str]
    A list of values that appear so frequently as to be considered skewed.
    skewed_column_values Sequence[str]
    A map of skewed values to the columns that contain them.
    skewedColumnNames List<String>
    A list of names of columns that contain skewed values.
    skewedColumnValueLocationMaps Map<String>
    A list of values that appear so frequently as to be considered skewed.
    skewedColumnValues List<String>
    A map of skewed values to the columns that contain them.

    PartitionStorageDescriptorSortColumn, PartitionStorageDescriptorSortColumnArgs

    Column string
    The name of the column.
    SortOrder int
    Indicates that the column is sorted in ascending order (== 1), or in descending order (==0).
    Column string
    The name of the column.
    SortOrder int
    Indicates that the column is sorted in ascending order (== 1), or in descending order (==0).
    column String
    The name of the column.
    sortOrder Integer
    Indicates that the column is sorted in ascending order (== 1), or in descending order (==0).
    column string
    The name of the column.
    sortOrder number
    Indicates that the column is sorted in ascending order (== 1), or in descending order (==0).
    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).
    column String
    The name of the column.
    sortOrder Number
    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 aws Terraform Provider.
    aws logo

    Try AWS Native preview for resources not in the classic version.

    AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi