1. Packages
  2. Honeycombio Provider
  3. API Docs
  4. Column
Honeycomb 0.44.0 published on Monday, Dec 15, 2025 by honeycombio
honeycombio logo
Honeycomb 0.44.0 published on Monday, Dec 15, 2025 by honeycombio

    # Resource:<span pulumi-lang-nodejs=" honeycombio.Column

    " pulumi-lang-dotnet=" honeycombio.Column " pulumi-lang-go=" Column " pulumi-lang-python=" Column " pulumi-lang-yaml=" honeycombio.Column " pulumi-lang-java=" honeycombio.Column “> honeycombio.Column Provides a Honeycomb Column resource. This can be used to create, update, and delete columns in a dataset.

    Warning Deleting a column is a destructive and irreversible operation which also removes the data in the column.

    Version 0.38 and later of the Honeycomb Provider include a Feature Toggle which allows the column to be imported and updated automatically if there is a conflict during create instead of throwing an error. This is potentially dangerous if the type changes on the update – switching from string to boolean and causing dataloss, for example – and should be used with caution.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as honeycombio from "@pulumi/honeycombio";
    
    const config = new pulumi.Config();
    const dataset = config.require("dataset");
    const durationMs = new honeycombio.Column("duration_ms", {
        name: "duration_ms_log10",
        type: "float",
        description: "Duration of the trace",
        dataset: dataset,
    });
    
    import pulumi
    import pulumi_honeycombio as honeycombio
    
    config = pulumi.Config()
    dataset = config.require("dataset")
    duration_ms = honeycombio.Column("duration_ms",
        name="duration_ms_log10",
        type="float",
        description="Duration of the trace",
        dataset=dataset)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/honeycombio/honeycombio"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		cfg := config.New(ctx, "")
    		dataset := cfg.Require("dataset")
    		_, err := honeycombio.NewColumn(ctx, "duration_ms", &honeycombio.ColumnArgs{
    			Name:        pulumi.String("duration_ms_log10"),
    			Type:        pulumi.String("float"),
    			Description: pulumi.String("Duration of the trace"),
    			Dataset:     pulumi.String(dataset),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Honeycombio = Pulumi.Honeycombio;
    
    return await Deployment.RunAsync(() => 
    {
        var config = new Config();
        var dataset = config.Require("dataset");
        var durationMs = new Honeycombio.Column("duration_ms", new()
        {
            Name = "duration_ms_log10",
            Type = "float",
            Description = "Duration of the trace",
            Dataset = dataset,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.honeycombio.Column;
    import com.pulumi.honeycombio.ColumnArgs;
    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) {
            final var config = ctx.config();
            final var dataset = config.get("dataset");
            var durationMs = new Column("durationMs", ColumnArgs.builder()
                .name("duration_ms_log10")
                .type("float")
                .description("Duration of the trace")
                .dataset(dataset)
                .build());
    
        }
    }
    
    configuration:
      dataset:
        type: string
    resources:
      durationMs:
        type: honeycombio:Column
        name: duration_ms
        properties:
          name: duration_ms_log10
          type: float
          description: Duration of the trace
          dataset: ${dataset}
    

    Create Column Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Column(name: string, args: ColumnArgs, opts?: CustomResourceOptions);
    @overload
    def Column(resource_name: str,
               args: ColumnArgs,
               opts: Optional[ResourceOptions] = None)
    
    @overload
    def Column(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               dataset: Optional[str] = None,
               description: Optional[str] = None,
               hidden: Optional[bool] = None,
               name: Optional[str] = None,
               type: Optional[str] = None)
    func NewColumn(ctx *Context, name string, args ColumnArgs, opts ...ResourceOption) (*Column, error)
    public Column(string name, ColumnArgs args, CustomResourceOptions? opts = null)
    public Column(String name, ColumnArgs args)
    public Column(String name, ColumnArgs args, CustomResourceOptions options)
    
    type: honeycombio:Column
    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 ColumnArgs
    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 ColumnArgs
    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 ColumnArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ColumnArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ColumnArgs
    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 columnResource = new Honeycombio.Column("columnResource", new()
    {
        Dataset = "string",
        Description = "string",
        Hidden = false,
        Name = "string",
        Type = "string",
    });
    
    example, err := honeycombio.NewColumn(ctx, "columnResource", &honeycombio.ColumnArgs{
    	Dataset:     pulumi.String("string"),
    	Description: pulumi.String("string"),
    	Hidden:      pulumi.Bool(false),
    	Name:        pulumi.String("string"),
    	Type:        pulumi.String("string"),
    })
    
    var columnResource = new Column("columnResource", ColumnArgs.builder()
        .dataset("string")
        .description("string")
        .hidden(false)
        .name("string")
        .type("string")
        .build());
    
    column_resource = honeycombio.Column("columnResource",
        dataset="string",
        description="string",
        hidden=False,
        name="string",
        type="string")
    
    const columnResource = new honeycombio.Column("columnResource", {
        dataset: "string",
        description: "string",
        hidden: false,
        name: "string",
        type: "string",
    });
    
    type: honeycombio:Column
    properties:
        dataset: string
        description: string
        hidden: false
        name: string
        type: string
    

    Column 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 Column resource accepts the following input properties:

    Dataset string
    The dataset this Column belongs to.
    Description string
    The Column's description.
    Hidden bool
    Whether the Column is hidden or not.
    Name string
    The name of the Column.
    Type string
    The Column's type. Valid values are string, integer, float, boolean.
    Dataset string
    The dataset this Column belongs to.
    Description string
    The Column's description.
    Hidden bool
    Whether the Column is hidden or not.
    Name string
    The name of the Column.
    Type string
    The Column's type. Valid values are string, integer, float, boolean.
    dataset String
    The dataset this Column belongs to.
    description String
    The Column's description.
    hidden Boolean
    Whether the Column is hidden or not.
    name String
    The name of the Column.
    type String
    The Column's type. Valid values are string, integer, float, boolean.
    dataset string
    The dataset this Column belongs to.
    description string
    The Column's description.
    hidden boolean
    Whether the Column is hidden or not.
    name string
    The name of the Column.
    type string
    The Column's type. Valid values are string, integer, float, boolean.
    dataset str
    The dataset this Column belongs to.
    description str
    The Column's description.
    hidden bool
    Whether the Column is hidden or not.
    name str
    The name of the Column.
    type str
    The Column's type. Valid values are string, integer, float, boolean.
    dataset String
    The dataset this Column belongs to.
    description String
    The Column's description.
    hidden Boolean
    Whether the Column is hidden or not.
    name String
    The name of the Column.
    type String
    The Column's type. Valid values are string, integer, float, boolean.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Column resource produces the following output properties:

    CreatedAt string
    The time the Column was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastWrittenAt string
    The time the Column was last written to.
    UpdatedAt string
    The time the Column was last updated.
    CreatedAt string
    The time the Column was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastWrittenAt string
    The time the Column was last written to.
    UpdatedAt string
    The time the Column was last updated.
    createdAt String
    The time the Column was created.
    id String
    The provider-assigned unique ID for this managed resource.
    lastWrittenAt String
    The time the Column was last written to.
    updatedAt String
    The time the Column was last updated.
    createdAt string
    The time the Column was created.
    id string
    The provider-assigned unique ID for this managed resource.
    lastWrittenAt string
    The time the Column was last written to.
    updatedAt string
    The time the Column was last updated.
    created_at str
    The time the Column was created.
    id str
    The provider-assigned unique ID for this managed resource.
    last_written_at str
    The time the Column was last written to.
    updated_at str
    The time the Column was last updated.
    createdAt String
    The time the Column was created.
    id String
    The provider-assigned unique ID for this managed resource.
    lastWrittenAt String
    The time the Column was last written to.
    updatedAt String
    The time the Column was last updated.

    Look up Existing Column Resource

    Get an existing Column 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?: ColumnState, opts?: CustomResourceOptions): Column
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            created_at: Optional[str] = None,
            dataset: Optional[str] = None,
            description: Optional[str] = None,
            hidden: Optional[bool] = None,
            last_written_at: Optional[str] = None,
            name: Optional[str] = None,
            type: Optional[str] = None,
            updated_at: Optional[str] = None) -> Column
    func GetColumn(ctx *Context, name string, id IDInput, state *ColumnState, opts ...ResourceOption) (*Column, error)
    public static Column Get(string name, Input<string> id, ColumnState? state, CustomResourceOptions? opts = null)
    public static Column get(String name, Output<String> id, ColumnState state, CustomResourceOptions options)
    resources:  _:    type: honeycombio:Column    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.
    The following state arguments are supported:
    CreatedAt string
    The time the Column was created.
    Dataset string
    The dataset this Column belongs to.
    Description string
    The Column's description.
    Hidden bool
    Whether the Column is hidden or not.
    LastWrittenAt string
    The time the Column was last written to.
    Name string
    The name of the Column.
    Type string
    The Column's type. Valid values are string, integer, float, boolean.
    UpdatedAt string
    The time the Column was last updated.
    CreatedAt string
    The time the Column was created.
    Dataset string
    The dataset this Column belongs to.
    Description string
    The Column's description.
    Hidden bool
    Whether the Column is hidden or not.
    LastWrittenAt string
    The time the Column was last written to.
    Name string
    The name of the Column.
    Type string
    The Column's type. Valid values are string, integer, float, boolean.
    UpdatedAt string
    The time the Column was last updated.
    createdAt String
    The time the Column was created.
    dataset String
    The dataset this Column belongs to.
    description String
    The Column's description.
    hidden Boolean
    Whether the Column is hidden or not.
    lastWrittenAt String
    The time the Column was last written to.
    name String
    The name of the Column.
    type String
    The Column's type. Valid values are string, integer, float, boolean.
    updatedAt String
    The time the Column was last updated.
    createdAt string
    The time the Column was created.
    dataset string
    The dataset this Column belongs to.
    description string
    The Column's description.
    hidden boolean
    Whether the Column is hidden or not.
    lastWrittenAt string
    The time the Column was last written to.
    name string
    The name of the Column.
    type string
    The Column's type. Valid values are string, integer, float, boolean.
    updatedAt string
    The time the Column was last updated.
    created_at str
    The time the Column was created.
    dataset str
    The dataset this Column belongs to.
    description str
    The Column's description.
    hidden bool
    Whether the Column is hidden or not.
    last_written_at str
    The time the Column was last written to.
    name str
    The name of the Column.
    type str
    The Column's type. Valid values are string, integer, float, boolean.
    updated_at str
    The time the Column was last updated.
    createdAt String
    The time the Column was created.
    dataset String
    The dataset this Column belongs to.
    description String
    The Column's description.
    hidden Boolean
    Whether the Column is hidden or not.
    lastWrittenAt String
    The time the Column was last written to.
    name String
    The name of the Column.
    type String
    The Column's type. Valid values are string, integer, float, boolean.
    updatedAt String
    The time the Column was last updated.

    Import

    Columns can be imported using a combination of the dataset name and their name, e.g.

    $ pulumi import honeycombio:index/column:Column my_column my-dataset/duration_ms
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    honeycombio honeycombio/terraform-provider-honeycombio
    License
    Notes
    This Pulumi package is based on the honeycombio Terraform Provider.
    honeycombio logo
    Honeycomb 0.44.0 published on Monday, Dec 15, 2025 by honeycombio
      Meet Neo: Your AI Platform Teammate