published on Thursday, May 14, 2026 by elastic
published on Thursday, May 14, 2026 by elastic
Manages Kibana Agent Builder workflows. See the Workflows documentation for more information.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as elasticstack from "@pulumi/elasticstack";
const myWorkflow = new elasticstack.KibanaAgentbuilderWorkflow("my_workflow", {configurationYaml: `name: My Workflow
description: An example workflow
enabled: true
triggers:
- type: manual
inputs:
- name: message
type: string
default: \\"hello world\\"
steps:
- name: hello_world_step
type: console
with:
message: \\"{{ inputs.message }}\\"
`});
import pulumi
import pulumi_elasticstack as elasticstack
my_workflow = elasticstack.KibanaAgentbuilderWorkflow("my_workflow", configuration_yaml="""name: My Workflow
description: An example workflow
enabled: true
triggers:
- type: manual
inputs:
- name: message
type: string
default: \"hello world\"
steps:
- name: hello_world_step
type: console
with:
message: \"{{ inputs.message }}\"
""")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/elasticstack/elasticstack"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := elasticstack.NewKibanaAgentbuilderWorkflow(ctx, "my_workflow", &elasticstack.KibanaAgentbuilderWorkflowArgs{
ConfigurationYaml: pulumi.String(`name: My Workflow
description: An example workflow
enabled: true
triggers:
- type: manual
inputs:
- name: message
type: string
default: \"hello world\"
steps:
- name: hello_world_step
type: console
with:
message: \"{{ inputs.message }}\"
`),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Elasticstack = Pulumi.Elasticstack;
return await Deployment.RunAsync(() =>
{
var myWorkflow = new Elasticstack.KibanaAgentbuilderWorkflow("my_workflow", new()
{
ConfigurationYaml = @"name: My Workflow
description: An example workflow
enabled: true
triggers:
- type: manual
inputs:
- name: message
type: string
default: \""hello world\""
steps:
- name: hello_world_step
type: console
with:
message: \""{{ inputs.message }}\""
",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.elasticstack.KibanaAgentbuilderWorkflow;
import com.pulumi.elasticstack.KibanaAgentbuilderWorkflowArgs;
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) {
var myWorkflow = new KibanaAgentbuilderWorkflow("myWorkflow", KibanaAgentbuilderWorkflowArgs.builder()
.configurationYaml("""
name: My Workflow
description: An example workflow
enabled: true
triggers:
- type: manual
inputs:
- name: message
type: string
default: \"hello world\"
steps:
- name: hello_world_step
type: console
with:
message: \"{{ inputs.message }}\"
""")
.build());
}
}
resources:
myWorkflow:
type: elasticstack:KibanaAgentbuilderWorkflow
name: my_workflow
properties:
configurationYaml: |
name: My Workflow
description: An example workflow
enabled: true
triggers:
- type: manual
inputs:
- name: message
type: string
default: \"hello world\"
steps:
- name: hello_world_step
type: console
with:
message: \"{{ inputs.message }}\"
Example coming soon!
Create KibanaAgentbuilderWorkflow Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new KibanaAgentbuilderWorkflow(name: string, args: KibanaAgentbuilderWorkflowArgs, opts?: CustomResourceOptions);@overload
def KibanaAgentbuilderWorkflow(resource_name: str,
args: KibanaAgentbuilderWorkflowArgs,
opts: Optional[ResourceOptions] = None)
@overload
def KibanaAgentbuilderWorkflow(resource_name: str,
opts: Optional[ResourceOptions] = None,
configuration_yaml: Optional[str] = None,
kibana_connections: Optional[Sequence[KibanaAgentbuilderWorkflowKibanaConnectionArgs]] = None,
space_id: Optional[str] = None,
workflow_id: Optional[str] = None)func NewKibanaAgentbuilderWorkflow(ctx *Context, name string, args KibanaAgentbuilderWorkflowArgs, opts ...ResourceOption) (*KibanaAgentbuilderWorkflow, error)public KibanaAgentbuilderWorkflow(string name, KibanaAgentbuilderWorkflowArgs args, CustomResourceOptions? opts = null)
public KibanaAgentbuilderWorkflow(String name, KibanaAgentbuilderWorkflowArgs args)
public KibanaAgentbuilderWorkflow(String name, KibanaAgentbuilderWorkflowArgs args, CustomResourceOptions options)
type: elasticstack:KibanaAgentbuilderWorkflow
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "elasticstack_kibanaagentbuilderworkflow" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args KibanaAgentbuilderWorkflowArgs
- 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 KibanaAgentbuilderWorkflowArgs
- 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 KibanaAgentbuilderWorkflowArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args KibanaAgentbuilderWorkflowArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args KibanaAgentbuilderWorkflowArgs
- 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 kibanaAgentbuilderWorkflowResource = new Elasticstack.KibanaAgentbuilderWorkflow("kibanaAgentbuilderWorkflowResource", new()
{
ConfigurationYaml = "string",
KibanaConnections = new[]
{
new Elasticstack.Inputs.KibanaAgentbuilderWorkflowKibanaConnectionArgs
{
ApiKey = "string",
BearerToken = "string",
CaCerts = new[]
{
"string",
},
Endpoints = new[]
{
"string",
},
Insecure = false,
Password = "string",
Username = "string",
},
},
SpaceId = "string",
WorkflowId = "string",
});
example, err := elasticstack.NewKibanaAgentbuilderWorkflow(ctx, "kibanaAgentbuilderWorkflowResource", &elasticstack.KibanaAgentbuilderWorkflowArgs{
ConfigurationYaml: pulumi.String("string"),
KibanaConnections: elasticstack.KibanaAgentbuilderWorkflowKibanaConnectionArray{
&elasticstack.KibanaAgentbuilderWorkflowKibanaConnectionArgs{
ApiKey: pulumi.String("string"),
BearerToken: pulumi.String("string"),
CaCerts: pulumi.StringArray{
pulumi.String("string"),
},
Endpoints: pulumi.StringArray{
pulumi.String("string"),
},
Insecure: pulumi.Bool(false),
Password: pulumi.String("string"),
Username: pulumi.String("string"),
},
},
SpaceId: pulumi.String("string"),
WorkflowId: pulumi.String("string"),
})
resource "elasticstack_kibanaagentbuilderworkflow" "kibanaAgentbuilderWorkflowResource" {
configuration_yaml = "string"
kibana_connections {
api_key = "string"
bearer_token = "string"
ca_certs = ["string"]
endpoints = ["string"]
insecure = false
password = "string"
username = "string"
}
space_id = "string"
workflow_id = "string"
}
var kibanaAgentbuilderWorkflowResource = new KibanaAgentbuilderWorkflow("kibanaAgentbuilderWorkflowResource", KibanaAgentbuilderWorkflowArgs.builder()
.configurationYaml("string")
.kibanaConnections(KibanaAgentbuilderWorkflowKibanaConnectionArgs.builder()
.apiKey("string")
.bearerToken("string")
.caCerts("string")
.endpoints("string")
.insecure(false)
.password("string")
.username("string")
.build())
.spaceId("string")
.workflowId("string")
.build());
kibana_agentbuilder_workflow_resource = elasticstack.KibanaAgentbuilderWorkflow("kibanaAgentbuilderWorkflowResource",
configuration_yaml="string",
kibana_connections=[{
"api_key": "string",
"bearer_token": "string",
"ca_certs": ["string"],
"endpoints": ["string"],
"insecure": False,
"password": "string",
"username": "string",
}],
space_id="string",
workflow_id="string")
const kibanaAgentbuilderWorkflowResource = new elasticstack.KibanaAgentbuilderWorkflow("kibanaAgentbuilderWorkflowResource", {
configurationYaml: "string",
kibanaConnections: [{
apiKey: "string",
bearerToken: "string",
caCerts: ["string"],
endpoints: ["string"],
insecure: false,
password: "string",
username: "string",
}],
spaceId: "string",
workflowId: "string",
});
type: elasticstack:KibanaAgentbuilderWorkflow
properties:
configurationYaml: string
kibanaConnections:
- apiKey: string
bearerToken: string
caCerts:
- string
endpoints:
- string
insecure: false
password: string
username: string
spaceId: string
workflowId: string
KibanaAgentbuilderWorkflow 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 KibanaAgentbuilderWorkflow resource accepts the following input properties:
- Configuration
Yaml string - The YAML configuration for the workflow.
- Kibana
Connections List<KibanaAgentbuilder Workflow Kibana Connection> - Kibana connection configuration block.
- Space
Id string - An identifier for the Kibana space. If not provided, the default space is used.
- Workflow
Id string - The workflow ID. If not provided, it will be auto-generated. IDs are
workflow-<UUIDv4>.
- Configuration
Yaml string - The YAML configuration for the workflow.
- Kibana
Connections []KibanaAgentbuilder Workflow Kibana Connection Args - Kibana connection configuration block.
- Space
Id string - An identifier for the Kibana space. If not provided, the default space is used.
- Workflow
Id string - The workflow ID. If not provided, it will be auto-generated. IDs are
workflow-<UUIDv4>.
- configuration_
yaml string - The YAML configuration for the workflow.
- kibana_
connections list(object) - Kibana connection configuration block.
- space_
id string - An identifier for the Kibana space. If not provided, the default space is used.
- workflow_
id string - The workflow ID. If not provided, it will be auto-generated. IDs are
workflow-<UUIDv4>.
- configuration
Yaml String - The YAML configuration for the workflow.
- kibana
Connections List<KibanaAgentbuilder Workflow Kibana Connection> - Kibana connection configuration block.
- space
Id String - An identifier for the Kibana space. If not provided, the default space is used.
- workflow
Id String - The workflow ID. If not provided, it will be auto-generated. IDs are
workflow-<UUIDv4>.
- configuration
Yaml string - The YAML configuration for the workflow.
- kibana
Connections KibanaAgentbuilder Workflow Kibana Connection[] - Kibana connection configuration block.
- space
Id string - An identifier for the Kibana space. If not provided, the default space is used.
- workflow
Id string - The workflow ID. If not provided, it will be auto-generated. IDs are
workflow-<UUIDv4>.
- configuration_
yaml str - The YAML configuration for the workflow.
- kibana_
connections Sequence[KibanaAgentbuilder Workflow Kibana Connection Args] - Kibana connection configuration block.
- space_
id str - An identifier for the Kibana space. If not provided, the default space is used.
- workflow_
id str - The workflow ID. If not provided, it will be auto-generated. IDs are
workflow-<UUIDv4>.
- configuration
Yaml String - The YAML configuration for the workflow.
- kibana
Connections List<Property Map> - Kibana connection configuration block.
- space
Id String - An identifier for the Kibana space. If not provided, the default space is used.
- workflow
Id String - The workflow ID. If not provided, it will be auto-generated. IDs are
workflow-<UUIDv4>.
Outputs
All input properties are implicitly available as output properties. Additionally, the KibanaAgentbuilderWorkflow resource produces the following output properties:
- Description string
- The workflow description (extracted from YAML configuration).
- Enabled bool
- Whether the workflow is enabled (extracted from YAML configuration).
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The workflow name (extracted from YAML configuration).
- Valid bool
- Whether the workflow configuration is valid.
- Description string
- The workflow description (extracted from YAML configuration).
- Enabled bool
- Whether the workflow is enabled (extracted from YAML configuration).
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The workflow name (extracted from YAML configuration).
- Valid bool
- Whether the workflow configuration is valid.
- description string
- The workflow description (extracted from YAML configuration).
- enabled bool
- Whether the workflow is enabled (extracted from YAML configuration).
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The workflow name (extracted from YAML configuration).
- valid bool
- Whether the workflow configuration is valid.
- description String
- The workflow description (extracted from YAML configuration).
- enabled Boolean
- Whether the workflow is enabled (extracted from YAML configuration).
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The workflow name (extracted from YAML configuration).
- valid Boolean
- Whether the workflow configuration is valid.
- description string
- The workflow description (extracted from YAML configuration).
- enabled boolean
- Whether the workflow is enabled (extracted from YAML configuration).
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The workflow name (extracted from YAML configuration).
- valid boolean
- Whether the workflow configuration is valid.
- description str
- The workflow description (extracted from YAML configuration).
- enabled bool
- Whether the workflow is enabled (extracted from YAML configuration).
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The workflow name (extracted from YAML configuration).
- valid bool
- Whether the workflow configuration is valid.
- description String
- The workflow description (extracted from YAML configuration).
- enabled Boolean
- Whether the workflow is enabled (extracted from YAML configuration).
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The workflow name (extracted from YAML configuration).
- valid Boolean
- Whether the workflow configuration is valid.
Look up Existing KibanaAgentbuilderWorkflow Resource
Get an existing KibanaAgentbuilderWorkflow 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?: KibanaAgentbuilderWorkflowState, opts?: CustomResourceOptions): KibanaAgentbuilderWorkflow@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
configuration_yaml: Optional[str] = None,
description: Optional[str] = None,
enabled: Optional[bool] = None,
kibana_connections: Optional[Sequence[KibanaAgentbuilderWorkflowKibanaConnectionArgs]] = None,
name: Optional[str] = None,
space_id: Optional[str] = None,
valid: Optional[bool] = None,
workflow_id: Optional[str] = None) -> KibanaAgentbuilderWorkflowfunc GetKibanaAgentbuilderWorkflow(ctx *Context, name string, id IDInput, state *KibanaAgentbuilderWorkflowState, opts ...ResourceOption) (*KibanaAgentbuilderWorkflow, error)public static KibanaAgentbuilderWorkflow Get(string name, Input<string> id, KibanaAgentbuilderWorkflowState? state, CustomResourceOptions? opts = null)public static KibanaAgentbuilderWorkflow get(String name, Output<String> id, KibanaAgentbuilderWorkflowState state, CustomResourceOptions options)resources: _: type: elasticstack:KibanaAgentbuilderWorkflow get: id: ${id}import {
to = elasticstack_kibanaagentbuilderworkflow.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.
- Configuration
Yaml string - The YAML configuration for the workflow.
- Description string
- The workflow description (extracted from YAML configuration).
- Enabled bool
- Whether the workflow is enabled (extracted from YAML configuration).
- Kibana
Connections List<KibanaAgentbuilder Workflow Kibana Connection> - Kibana connection configuration block.
- Name string
- The workflow name (extracted from YAML configuration).
- Space
Id string - An identifier for the Kibana space. If not provided, the default space is used.
- Valid bool
- Whether the workflow configuration is valid.
- Workflow
Id string - The workflow ID. If not provided, it will be auto-generated. IDs are
workflow-<UUIDv4>.
- Configuration
Yaml string - The YAML configuration for the workflow.
- Description string
- The workflow description (extracted from YAML configuration).
- Enabled bool
- Whether the workflow is enabled (extracted from YAML configuration).
- Kibana
Connections []KibanaAgentbuilder Workflow Kibana Connection Args - Kibana connection configuration block.
- Name string
- The workflow name (extracted from YAML configuration).
- Space
Id string - An identifier for the Kibana space. If not provided, the default space is used.
- Valid bool
- Whether the workflow configuration is valid.
- Workflow
Id string - The workflow ID. If not provided, it will be auto-generated. IDs are
workflow-<UUIDv4>.
- configuration_
yaml string - The YAML configuration for the workflow.
- description string
- The workflow description (extracted from YAML configuration).
- enabled bool
- Whether the workflow is enabled (extracted from YAML configuration).
- kibana_
connections list(object) - Kibana connection configuration block.
- name string
- The workflow name (extracted from YAML configuration).
- space_
id string - An identifier for the Kibana space. If not provided, the default space is used.
- valid bool
- Whether the workflow configuration is valid.
- workflow_
id string - The workflow ID. If not provided, it will be auto-generated. IDs are
workflow-<UUIDv4>.
- configuration
Yaml String - The YAML configuration for the workflow.
- description String
- The workflow description (extracted from YAML configuration).
- enabled Boolean
- Whether the workflow is enabled (extracted from YAML configuration).
- kibana
Connections List<KibanaAgentbuilder Workflow Kibana Connection> - Kibana connection configuration block.
- name String
- The workflow name (extracted from YAML configuration).
- space
Id String - An identifier for the Kibana space. If not provided, the default space is used.
- valid Boolean
- Whether the workflow configuration is valid.
- workflow
Id String - The workflow ID. If not provided, it will be auto-generated. IDs are
workflow-<UUIDv4>.
- configuration
Yaml string - The YAML configuration for the workflow.
- description string
- The workflow description (extracted from YAML configuration).
- enabled boolean
- Whether the workflow is enabled (extracted from YAML configuration).
- kibana
Connections KibanaAgentbuilder Workflow Kibana Connection[] - Kibana connection configuration block.
- name string
- The workflow name (extracted from YAML configuration).
- space
Id string - An identifier for the Kibana space. If not provided, the default space is used.
- valid boolean
- Whether the workflow configuration is valid.
- workflow
Id string - The workflow ID. If not provided, it will be auto-generated. IDs are
workflow-<UUIDv4>.
- configuration_
yaml str - The YAML configuration for the workflow.
- description str
- The workflow description (extracted from YAML configuration).
- enabled bool
- Whether the workflow is enabled (extracted from YAML configuration).
- kibana_
connections Sequence[KibanaAgentbuilder Workflow Kibana Connection Args] - Kibana connection configuration block.
- name str
- The workflow name (extracted from YAML configuration).
- space_
id str - An identifier for the Kibana space. If not provided, the default space is used.
- valid bool
- Whether the workflow configuration is valid.
- workflow_
id str - The workflow ID. If not provided, it will be auto-generated. IDs are
workflow-<UUIDv4>.
- configuration
Yaml String - The YAML configuration for the workflow.
- description String
- The workflow description (extracted from YAML configuration).
- enabled Boolean
- Whether the workflow is enabled (extracted from YAML configuration).
- kibana
Connections List<Property Map> - Kibana connection configuration block.
- name String
- The workflow name (extracted from YAML configuration).
- space
Id String - An identifier for the Kibana space. If not provided, the default space is used.
- valid Boolean
- Whether the workflow configuration is valid.
- workflow
Id String - The workflow ID. If not provided, it will be auto-generated. IDs are
workflow-<UUIDv4>.
Supporting Types
KibanaAgentbuilderWorkflowKibanaConnection, KibanaAgentbuilderWorkflowKibanaConnectionArgs
- Api
Key string - API Key to use for authentication to Kibana
- Bearer
Token string - Bearer Token to use for authentication to Kibana
- Ca
Certs List<string> - A list of paths to CA certificates to validate the certificate presented by the Kibana server.
- Endpoints List<string>
- Insecure bool
- Disable TLS certificate validation
- Password string
- Password to use for API authentication to Kibana.
- Username string
- Username to use for API authentication to Kibana.
- Api
Key string - API Key to use for authentication to Kibana
- Bearer
Token string - Bearer Token to use for authentication to Kibana
- Ca
Certs []string - A list of paths to CA certificates to validate the certificate presented by the Kibana server.
- Endpoints []string
- Insecure bool
- Disable TLS certificate validation
- Password string
- Password to use for API authentication to Kibana.
- Username string
- Username to use for API authentication to Kibana.
- api_
key string - API Key to use for authentication to Kibana
- bearer_
token string - Bearer Token to use for authentication to Kibana
- ca_
certs list(string) - A list of paths to CA certificates to validate the certificate presented by the Kibana server.
- endpoints list(string)
- insecure bool
- Disable TLS certificate validation
- password string
- Password to use for API authentication to Kibana.
- username string
- Username to use for API authentication to Kibana.
- api
Key String - API Key to use for authentication to Kibana
- bearer
Token String - Bearer Token to use for authentication to Kibana
- ca
Certs List<String> - A list of paths to CA certificates to validate the certificate presented by the Kibana server.
- endpoints List<String>
- insecure Boolean
- Disable TLS certificate validation
- password String
- Password to use for API authentication to Kibana.
- username String
- Username to use for API authentication to Kibana.
- api
Key string - API Key to use for authentication to Kibana
- bearer
Token string - Bearer Token to use for authentication to Kibana
- ca
Certs string[] - A list of paths to CA certificates to validate the certificate presented by the Kibana server.
- endpoints string[]
- insecure boolean
- Disable TLS certificate validation
- password string
- Password to use for API authentication to Kibana.
- username string
- Username to use for API authentication to Kibana.
- api_
key str - API Key to use for authentication to Kibana
- bearer_
token str - Bearer Token to use for authentication to Kibana
- ca_
certs Sequence[str] - A list of paths to CA certificates to validate the certificate presented by the Kibana server.
- endpoints Sequence[str]
- insecure bool
- Disable TLS certificate validation
- password str
- Password to use for API authentication to Kibana.
- username str
- Username to use for API authentication to Kibana.
- api
Key String - API Key to use for authentication to Kibana
- bearer
Token String - Bearer Token to use for authentication to Kibana
- ca
Certs List<String> - A list of paths to CA certificates to validate the certificate presented by the Kibana server.
- endpoints List<String>
- insecure Boolean
- Disable TLS certificate validation
- password String
- Password to use for API authentication to Kibana.
- username String
- Username to use for API authentication to Kibana.
Package Details
- Repository
- elasticstack elastic/terraform-provider-elasticstack
- License
- Notes
- This Pulumi package is based on the
elasticstackTerraform Provider.
published on Thursday, May 14, 2026 by elastic
