published on Friday, May 22, 2026 by Pulumi
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:
- 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 stringId - Split traffic type ID.
- Description string
- Description.
- Is
Searchable bool - Whether the attribute is searchable.
- Suggested
Values List<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 stringId - Split traffic type ID.
- Description string
- Description.
- Is
Searchable bool - Whether the attribute is searchable.
- Suggested
Values []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_ stringid - Split traffic type ID.
- description string
- Description.
- is_
searchable bool - Whether the attribute is searchable.
- suggested_
values list(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 StringId - Split traffic type ID.
- description String
- Description.
- is
Searchable Boolean - Whether the attribute is searchable.
- suggested
Values List<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 stringId - Split traffic type ID.
- description string
- Description.
- is
Searchable boolean - Whether the attribute is searchable.
- suggested
Values 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_ strid - Split traffic type ID.
- description str
- Description.
- is_
searchable bool - Whether the attribute is searchable.
- suggested_
values Sequence[str] - 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 StringId - Split traffic type ID.
- description String
- Description.
- is
Searchable Boolean - Whether the attribute is searchable.
- suggested
Values 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:
- Attribute
Id 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.
- attribute_
id 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.
- attribute
Id 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.
- attribute
Id 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) -> Attributefunc 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.
- 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 stringId - 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 []string - Suggested values for set types.
- Traffic
Type stringId - 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_ stringid - 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 Boolean - 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 StringId - 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 boolean - Whether the attribute is searchable.
- org
Id string - Harness organization identifier.
- project
Id string - Harness project identifier.
- suggested
Values string[] - Suggested values for set types.
- traffic
Type stringId - 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_ strid - 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 Boolean - 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 StringId - Split traffic type ID.
Package Details
- Repository
- harness pulumi/pulumi-harness
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
harnessTerraform Provider.
published on Friday, May 22, 2026 by Pulumi