Viewing docs for elasticstack 0.15.0
published on Thursday, May 14, 2026 by elastic
published on Thursday, May 14, 2026 by elastic
Viewing docs for elasticstack 0.15.0
published on Thursday, May 14, 2026 by elastic
published on Thursday, May 14, 2026 by elastic
Reads an Agent Builder workflow by ID. See https://www.elastic.co/guide/en/kibana/current/agent-builder-api.html
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as elasticstack from "@pulumi/elasticstack";
const doc = new elasticstack.KibanaAgentbuilderWorkflow("doc", {configurationYaml: `name: Doc Workflow
description: Example workflow used by the datasource lookup below
enabled: true
triggers:
- type: manual
inputs: []
steps:
- name: noop
type: console
with:
message: \\"ok\\"
`});
const test = elasticstack.getKibanaAgentbuilderWorkflowOutput({
id: doc.id,
});
import pulumi
import pulumi_elasticstack as elasticstack
doc = elasticstack.KibanaAgentbuilderWorkflow("doc", configuration_yaml="""name: Doc Workflow
description: Example workflow used by the datasource lookup below
enabled: true
triggers:
- type: manual
inputs: []
steps:
- name: noop
type: console
with:
message: \"ok\"
""")
test = elasticstack.get_kibana_agentbuilder_workflow_output(id=doc.id)
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 {
doc, err := elasticstack.NewKibanaAgentbuilderWorkflow(ctx, "doc", &elasticstack.KibanaAgentbuilderWorkflowArgs{
ConfigurationYaml: pulumi.String(`name: Doc Workflow
description: Example workflow used by the datasource lookup below
enabled: true
triggers:
- type: manual
inputs: []
steps:
- name: noop
type: console
with:
message: \"ok\"
`),
})
if err != nil {
return err
}
_ = elasticstack.LookupKibanaAgentbuilderWorkflowOutput(ctx, elasticstack.GetKibanaAgentbuilderWorkflowOutputArgs{
Id: doc.ID(),
}, nil)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Elasticstack = Pulumi.Elasticstack;
return await Deployment.RunAsync(() =>
{
var doc = new Elasticstack.KibanaAgentbuilderWorkflow("doc", new()
{
ConfigurationYaml = @"name: Doc Workflow
description: Example workflow used by the datasource lookup below
enabled: true
triggers:
- type: manual
inputs: []
steps:
- name: noop
type: console
with:
message: \""ok\""
",
});
var test = Elasticstack.GetKibanaAgentbuilderWorkflow.Invoke(new()
{
Id = doc.Id,
});
});
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 com.pulumi.elasticstack.ElasticstackFunctions;
import com.pulumi.elasticstack.inputs.GetKibanaAgentbuilderWorkflowArgs;
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 doc = new KibanaAgentbuilderWorkflow("doc", KibanaAgentbuilderWorkflowArgs.builder()
.configurationYaml("""
name: Doc Workflow
description: Example workflow used by the datasource lookup below
enabled: true
triggers:
- type: manual
inputs: []
steps:
- name: noop
type: console
with:
message: \"ok\"
""")
.build());
final var test = ElasticstackFunctions.getKibanaAgentbuilderWorkflow(GetKibanaAgentbuilderWorkflowArgs.builder()
.id(doc.id())
.build());
}
}
resources:
doc:
type: elasticstack:KibanaAgentbuilderWorkflow
properties:
configurationYaml: |
name: Doc Workflow
description: Example workflow used by the datasource lookup below
enabled: true
triggers:
- type: manual
inputs: []
steps:
- name: noop
type: console
with:
message: \"ok\"
variables:
test:
fn::invoke:
function: elasticstack:getKibanaAgentbuilderWorkflow
arguments:
id: ${doc.id}
Example coming soon!
Using getKibanaAgentbuilderWorkflow
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getKibanaAgentbuilderWorkflow(args: GetKibanaAgentbuilderWorkflowArgs, opts?: InvokeOptions): Promise<GetKibanaAgentbuilderWorkflowResult>
function getKibanaAgentbuilderWorkflowOutput(args: GetKibanaAgentbuilderWorkflowOutputArgs, opts?: InvokeOptions): Output<GetKibanaAgentbuilderWorkflowResult>def get_kibana_agentbuilder_workflow(id: Optional[str] = None,
kibana_connections: Optional[Sequence[GetKibanaAgentbuilderWorkflowKibanaConnection]] = None,
space_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetKibanaAgentbuilderWorkflowResult
def get_kibana_agentbuilder_workflow_output(id: pulumi.Input[Optional[str]] = None,
kibana_connections: pulumi.Input[Optional[Sequence[pulumi.Input[GetKibanaAgentbuilderWorkflowKibanaConnectionArgs]]]] = None,
space_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetKibanaAgentbuilderWorkflowResult]func LookupKibanaAgentbuilderWorkflow(ctx *Context, args *LookupKibanaAgentbuilderWorkflowArgs, opts ...InvokeOption) (*LookupKibanaAgentbuilderWorkflowResult, error)
func LookupKibanaAgentbuilderWorkflowOutput(ctx *Context, args *LookupKibanaAgentbuilderWorkflowOutputArgs, opts ...InvokeOption) LookupKibanaAgentbuilderWorkflowResultOutput> Note: This function is named LookupKibanaAgentbuilderWorkflow in the Go SDK.
public static class GetKibanaAgentbuilderWorkflow
{
public static Task<GetKibanaAgentbuilderWorkflowResult> InvokeAsync(GetKibanaAgentbuilderWorkflowArgs args, InvokeOptions? opts = null)
public static Output<GetKibanaAgentbuilderWorkflowResult> Invoke(GetKibanaAgentbuilderWorkflowInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetKibanaAgentbuilderWorkflowResult> getKibanaAgentbuilderWorkflow(GetKibanaAgentbuilderWorkflowArgs args, InvokeOptions options)
public static Output<GetKibanaAgentbuilderWorkflowResult> getKibanaAgentbuilderWorkflow(GetKibanaAgentbuilderWorkflowArgs args, InvokeOptions options)
fn::invoke:
function: elasticstack:index/getKibanaAgentbuilderWorkflow:getKibanaAgentbuilderWorkflow
arguments:
# arguments dictionarydata "elasticstack_getkibanaagentbuilderworkflow" "name" {
# arguments
}The following arguments are supported:
- Id string
- The workflow ID to look up.
- Kibana
Connections List<GetKibana Agentbuilder Workflow Kibana Connection> - Kibana connection configuration block.
- Space
Id string - An identifier for the space. If space_id is not provided, the default space is used.
- Id string
- The workflow ID to look up.
- Kibana
Connections []GetKibana Agentbuilder Workflow Kibana Connection - Kibana connection configuration block.
- Space
Id string - An identifier for the space. If space_id is not provided, the default space is used.
- id string
- The workflow ID to look up.
- kibana_
connections list(object) - Kibana connection configuration block.
- space_
id string - An identifier for the space. If space_id is not provided, the default space is used.
- id String
- The workflow ID to look up.
- kibana
Connections List<GetKibana Agentbuilder Workflow Kibana Connection> - Kibana connection configuration block.
- space
Id String - An identifier for the space. If space_id is not provided, the default space is used.
- id string
- The workflow ID to look up.
- kibana
Connections GetKibana Agentbuilder Workflow Kibana Connection[] - Kibana connection configuration block.
- space
Id string - An identifier for the space. If space_id is not provided, the default space is used.
- id str
- The workflow ID to look up.
- kibana_
connections Sequence[GetKibana Agentbuilder Workflow Kibana Connection] - Kibana connection configuration block.
- space_
id str - An identifier for the space. If space_id is not provided, the default space is used.
- id String
- The workflow ID to look up.
- kibana
Connections List<Property Map> - Kibana connection configuration block.
- space
Id String - An identifier for the space. If space_id is not provided, the default space is used.
getKibanaAgentbuilderWorkflow Result
The following output properties are available:
- Configuration
Yaml string - The workflow definition in YAML format.
- Id string
- The workflow ID to look up.
- Space
Id string - An identifier for the space. If space_id is not provided, the default space is used.
- Workflow
Id string - The ID of the workflow.
- Kibana
Connections List<GetKibana Agentbuilder Workflow Kibana Connection> - Kibana connection configuration block.
- Configuration
Yaml string - The workflow definition in YAML format.
- Id string
- The workflow ID to look up.
- Space
Id string - An identifier for the space. If space_id is not provided, the default space is used.
- Workflow
Id string - The ID of the workflow.
- Kibana
Connections []GetKibana Agentbuilder Workflow Kibana Connection - Kibana connection configuration block.
- configuration_
yaml string - The workflow definition in YAML format.
- id string
- The workflow ID to look up.
- space_
id string - An identifier for the space. If space_id is not provided, the default space is used.
- workflow_
id string - The ID of the workflow.
- kibana_
connections list(object) - Kibana connection configuration block.
- configuration
Yaml String - The workflow definition in YAML format.
- id String
- The workflow ID to look up.
- space
Id String - An identifier for the space. If space_id is not provided, the default space is used.
- workflow
Id String - The ID of the workflow.
- kibana
Connections List<GetKibana Agentbuilder Workflow Kibana Connection> - Kibana connection configuration block.
- configuration
Yaml string - The workflow definition in YAML format.
- id string
- The workflow ID to look up.
- space
Id string - An identifier for the space. If space_id is not provided, the default space is used.
- workflow
Id string - The ID of the workflow.
- kibana
Connections GetKibana Agentbuilder Workflow Kibana Connection[] - Kibana connection configuration block.
- configuration_
yaml str - The workflow definition in YAML format.
- id str
- The workflow ID to look up.
- space_
id str - An identifier for the space. If space_id is not provided, the default space is used.
- workflow_
id str - The ID of the workflow.
- kibana_
connections Sequence[GetKibana Agentbuilder Workflow Kibana Connection] - Kibana connection configuration block.
- configuration
Yaml String - The workflow definition in YAML format.
- id String
- The workflow ID to look up.
- space
Id String - An identifier for the space. If space_id is not provided, the default space is used.
- workflow
Id String - The ID of the workflow.
- kibana
Connections List<Property Map> - Kibana connection configuration block.
Supporting Types
GetKibanaAgentbuilderWorkflowKibanaConnection
- 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.
Viewing docs for elasticstack 0.15.0
published on Thursday, May 14, 2026 by elastic
published on Thursday, May 14, 2026 by elastic
