1. Packages
  2. Packages
  3. Harness Provider
  4. API Docs
  5. fmeTrafficType
  6. Attribute
Viewing docs for Harness v0.13.0
published on Friday, May 22, 2026 by Pulumi
harness logo
Viewing docs for Harness v0.13.0
published on Friday, May 22, 2026 by Pulumi

    Create, update, and delete a Harness FME (Split) traffic type attribute. Import id format: org_id/project_id/traffic_type_id/attribute_id.

    Create Attribute Resource

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

    Constructor syntax

    new Attribute(name: string, args: AttributeArgs, opts?: CustomResourceOptions);
    @overload
    def Attribute(resource_name: str,
                  args: AttributeArgs,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def Attribute(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  data_type: Optional[str] = None,
                  display_name: Optional[str] = None,
                  identifier: Optional[str] = None,
                  org_id: Optional[str] = None,
                  project_id: Optional[str] = None,
                  traffic_type_id: Optional[str] = None,
                  description: Optional[str] = None,
                  is_searchable: Optional[bool] = None,
                  suggested_values: Optional[Sequence[str]] = None)
    func NewAttribute(ctx *Context, name string, args AttributeArgs, opts ...ResourceOption) (*Attribute, error)
    public Attribute(string name, AttributeArgs args, CustomResourceOptions? opts = null)
    public Attribute(String name, AttributeArgs args)
    public Attribute(String name, AttributeArgs args, CustomResourceOptions options)
    
    type: harness:fmeTrafficType:Attribute
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "harness_fmetraffictype_attribute" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args AttributeArgs
    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 AttributeArgs
    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 AttributeArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AttributeArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AttributeArgs
    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 attributeResource = new Harness.FmeTrafficType.Attribute("attributeResource", new()
    {
        DataType = "string",
        DisplayName = "string",
        Identifier = "string",
        OrgId = "string",
        ProjectId = "string",
        TrafficTypeId = "string",
        Description = "string",
        IsSearchable = false,
        SuggestedValues = new[]
        {
            "string",
        },
    });
    
    example, err := fmetraffictype.NewAttribute(ctx, "attributeResource", &fmetraffictype.AttributeArgs{
    	DataType:      pulumi.String("string"),
    	DisplayName:   pulumi.String("string"),
    	Identifier:    pulumi.String("string"),
    	OrgId:         pulumi.String("string"),
    	ProjectId:     pulumi.String("string"),
    	TrafficTypeId: pulumi.String("string"),
    	Description:   pulumi.String("string"),
    	IsSearchable:  pulumi.Bool(false),
    	SuggestedValues: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    resource "harness_fmetraffictype_attribute" "attributeResource" {
      data_type        = "string"
      display_name     = "string"
      identifier       = "string"
      org_id           = "string"
      project_id       = "string"
      traffic_type_id  = "string"
      description      = "string"
      is_searchable    = false
      suggested_values = ["string"]
    }
    
    var attributeResource = new Attribute("attributeResource", AttributeArgs.builder()
        .dataType("string")
        .displayName("string")
        .identifier("string")
        .orgId("string")
        .projectId("string")
        .trafficTypeId("string")
        .description("string")
        .isSearchable(false)
        .suggestedValues("string")
        .build());
    
    attribute_resource = harness.fmetraffictype.Attribute("attributeResource",
        data_type="string",
        display_name="string",
        identifier="string",
        org_id="string",
        project_id="string",
        traffic_type_id="string",
        description="string",
        is_searchable=False,
        suggested_values=["string"])
    
    const attributeResource = new harness.fmetraffictype.Attribute("attributeResource", {
        dataType: "string",
        displayName: "string",
        identifier: "string",
        orgId: "string",
        projectId: "string",
        trafficTypeId: "string",
        description: "string",
        isSearchable: false,
        suggestedValues: ["string"],
    });
    
    type: harness:fmeTrafficType:Attribute
    properties:
        dataType: string
        description: string
        displayName: string
        identifier: string
        isSearchable: false
        orgId: string
        projectId: string
        suggestedValues:
            - string
        trafficTypeId: string
    

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

    DataType string
    Data type: e.g. string, number, datetime, set (normalized to lowercase in state; Split may return uppercase). Config casing is ignored for diffs.
    DisplayName string
    Display name.
    Identifier string
    Attribute identifier (id) in Split.
    OrgId string
    Harness organization identifier.
    ProjectId string
    Harness project identifier.
    TrafficTypeId string
    Split traffic type ID.
    Description string
    Description.
    IsSearchable bool
    Whether the attribute is searchable.
    SuggestedValues List<string>
    Suggested values for set types.
    DataType string
    Data type: e.g. string, number, datetime, set (normalized to lowercase in state; Split may return uppercase). Config casing is ignored for diffs.
    DisplayName string
    Display name.
    Identifier string
    Attribute identifier (id) in Split.
    OrgId string
    Harness organization identifier.
    ProjectId string
    Harness project identifier.
    TrafficTypeId string
    Split traffic type ID.
    Description string
    Description.
    IsSearchable bool
    Whether the attribute is searchable.
    SuggestedValues []string
    Suggested values for set types.
    data_type string
    Data type: e.g. string, number, datetime, set (normalized to lowercase in state; Split may return uppercase). Config casing is ignored for diffs.
    display_name string
    Display name.
    identifier string
    Attribute identifier (id) in Split.
    org_id string
    Harness organization identifier.
    project_id string
    Harness project identifier.
    traffic_type_id string
    Split traffic type ID.
    description string
    Description.
    is_searchable bool
    Whether the attribute is searchable.
    suggested_values list(string)
    Suggested values for set types.
    dataType String
    Data type: e.g. string, number, datetime, set (normalized to lowercase in state; Split may return uppercase). Config casing is ignored for diffs.
    displayName String
    Display name.
    identifier String
    Attribute identifier (id) in Split.
    orgId String
    Harness organization identifier.
    projectId String
    Harness project identifier.
    trafficTypeId String
    Split traffic type ID.
    description String
    Description.
    isSearchable Boolean
    Whether the attribute is searchable.
    suggestedValues List<String>
    Suggested values for set types.
    dataType string
    Data type: e.g. string, number, datetime, set (normalized to lowercase in state; Split may return uppercase). Config casing is ignored for diffs.
    displayName string
    Display name.
    identifier string
    Attribute identifier (id) in Split.
    orgId string
    Harness organization identifier.
    projectId string
    Harness project identifier.
    trafficTypeId string
    Split traffic type ID.
    description string
    Description.
    isSearchable boolean
    Whether the attribute is searchable.
    suggestedValues string[]
    Suggested values for set types.
    data_type str
    Data type: e.g. string, number, datetime, set (normalized to lowercase in state; Split may return uppercase). Config casing is ignored for diffs.
    display_name str
    Display name.
    identifier str
    Attribute identifier (id) in Split.
    org_id str
    Harness organization identifier.
    project_id str
    Harness project identifier.
    traffic_type_id str
    Split traffic type ID.
    description str
    Description.
    is_searchable bool
    Whether the attribute is searchable.
    suggested_values Sequence[str]
    Suggested values for set types.
    dataType String
    Data type: e.g. string, number, datetime, set (normalized to lowercase in state; Split may return uppercase). Config casing is ignored for diffs.
    displayName String
    Display name.
    identifier String
    Attribute identifier (id) in Split.
    orgId String
    Harness organization identifier.
    projectId String
    Harness project identifier.
    trafficTypeId String
    Split traffic type ID.
    description String
    Description.
    isSearchable Boolean
    Whether the attribute is searchable.
    suggestedValues List<String>
    Suggested values for set types.

    Outputs

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

    AttributeId string
    The attribute ID returned by Split (same as id).
    Id string
    The provider-assigned unique ID for this managed resource.
    AttributeId string
    The attribute ID returned by Split (same as id).
    Id string
    The provider-assigned unique ID for this managed resource.
    attribute_id string
    The attribute ID returned by Split (same as id).
    id string
    The provider-assigned unique ID for this managed resource.
    attributeId String
    The attribute ID returned by Split (same as id).
    id String
    The provider-assigned unique ID for this managed resource.
    attributeId string
    The attribute ID returned by Split (same as id).
    id string
    The provider-assigned unique ID for this managed resource.
    attribute_id str
    The attribute ID returned by Split (same as id).
    id str
    The provider-assigned unique ID for this managed resource.
    attributeId String
    The attribute ID returned by Split (same as id).
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing Attribute Resource

    Get an existing Attribute 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?: AttributeState, opts?: CustomResourceOptions): Attribute
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            attribute_id: Optional[str] = None,
            data_type: Optional[str] = None,
            description: Optional[str] = None,
            display_name: Optional[str] = None,
            identifier: Optional[str] = None,
            is_searchable: Optional[bool] = None,
            org_id: Optional[str] = None,
            project_id: Optional[str] = None,
            suggested_values: Optional[Sequence[str]] = None,
            traffic_type_id: Optional[str] = None) -> Attribute
    func GetAttribute(ctx *Context, name string, id IDInput, state *AttributeState, opts ...ResourceOption) (*Attribute, error)
    public static Attribute Get(string name, Input<string> id, AttributeState? state, CustomResourceOptions? opts = null)
    public static Attribute get(String name, Output<String> id, AttributeState state, CustomResourceOptions options)
    resources:  _:    type: harness:fmeTrafficType:Attribute    get:      id: ${id}
    import {
      to = harness_fmetraffictype_attribute.example
      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:
    AttributeId string
    The attribute ID returned by Split (same as id).
    DataType string
    Data type: e.g. string, number, datetime, set (normalized to lowercase in state; Split may return uppercase). Config casing is ignored for diffs.
    Description string
    Description.
    DisplayName string
    Display name.
    Identifier string
    Attribute identifier (id) in Split.
    IsSearchable bool
    Whether the attribute is searchable.
    OrgId string
    Harness organization identifier.
    ProjectId string
    Harness project identifier.
    SuggestedValues List<string>
    Suggested values for set types.
    TrafficTypeId string
    Split traffic type ID.
    AttributeId string
    The attribute ID returned by Split (same as id).
    DataType string
    Data type: e.g. string, number, datetime, set (normalized to lowercase in state; Split may return uppercase). Config casing is ignored for diffs.
    Description string
    Description.
    DisplayName string
    Display name.
    Identifier string
    Attribute identifier (id) in Split.
    IsSearchable bool
    Whether the attribute is searchable.
    OrgId string
    Harness organization identifier.
    ProjectId string
    Harness project identifier.
    SuggestedValues []string
    Suggested values for set types.
    TrafficTypeId string
    Split traffic type ID.
    attribute_id string
    The attribute ID returned by Split (same as id).
    data_type string
    Data type: e.g. string, number, datetime, set (normalized to lowercase in state; Split may return uppercase). Config casing is ignored for diffs.
    description string
    Description.
    display_name string
    Display name.
    identifier string
    Attribute identifier (id) in Split.
    is_searchable bool
    Whether the attribute is searchable.
    org_id string
    Harness organization identifier.
    project_id string
    Harness project identifier.
    suggested_values list(string)
    Suggested values for set types.
    traffic_type_id string
    Split traffic type ID.
    attributeId String
    The attribute ID returned by Split (same as id).
    dataType String
    Data type: e.g. string, number, datetime, set (normalized to lowercase in state; Split may return uppercase). Config casing is ignored for diffs.
    description String
    Description.
    displayName String
    Display name.
    identifier String
    Attribute identifier (id) in Split.
    isSearchable Boolean
    Whether the attribute is searchable.
    orgId String
    Harness organization identifier.
    projectId String
    Harness project identifier.
    suggestedValues List<String>
    Suggested values for set types.
    trafficTypeId String
    Split traffic type ID.
    attributeId string
    The attribute ID returned by Split (same as id).
    dataType string
    Data type: e.g. string, number, datetime, set (normalized to lowercase in state; Split may return uppercase). Config casing is ignored for diffs.
    description string
    Description.
    displayName string
    Display name.
    identifier string
    Attribute identifier (id) in Split.
    isSearchable boolean
    Whether the attribute is searchable.
    orgId string
    Harness organization identifier.
    projectId string
    Harness project identifier.
    suggestedValues string[]
    Suggested values for set types.
    trafficTypeId string
    Split traffic type ID.
    attribute_id str
    The attribute ID returned by Split (same as id).
    data_type str
    Data type: e.g. string, number, datetime, set (normalized to lowercase in state; Split may return uppercase). Config casing is ignored for diffs.
    description str
    Description.
    display_name str
    Display name.
    identifier str
    Attribute identifier (id) in Split.
    is_searchable bool
    Whether the attribute is searchable.
    org_id str
    Harness organization identifier.
    project_id str
    Harness project identifier.
    suggested_values Sequence[str]
    Suggested values for set types.
    traffic_type_id str
    Split traffic type ID.
    attributeId String
    The attribute ID returned by Split (same as id).
    dataType String
    Data type: e.g. string, number, datetime, set (normalized to lowercase in state; Split may return uppercase). Config casing is ignored for diffs.
    description String
    Description.
    displayName String
    Display name.
    identifier String
    Attribute identifier (id) in Split.
    isSearchable Boolean
    Whether the attribute is searchable.
    orgId String
    Harness organization identifier.
    projectId String
    Harness project identifier.
    suggestedValues List<String>
    Suggested values for set types.
    trafficTypeId String
    Split traffic type ID.

    Package Details

    Repository
    harness pulumi/pulumi-harness
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the harness Terraform Provider.
    harness logo
    Viewing docs for Harness v0.13.0
    published on Friday, May 22, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial