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
Search for a connector by name, space id, and type. Note, that this data source will fail if more than one connector shares the same name.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as elasticstack from "@pulumi/elasticstack";
const slack = new elasticstack.KibanaActionConnector("slack", {
name: "myslackconnector",
connectorTypeId: ".slack",
config: "{}",
secrets: "{}",
});
const example = elasticstack.getKibanaActionConnectorOutput({
name: slack.name,
spaceId: "default",
connectorTypeId: ".slack",
});
export const connectorId = example.apply(example => example.connectorId);
import pulumi
import pulumi_elasticstack as elasticstack
slack = elasticstack.KibanaActionConnector("slack",
name="myslackconnector",
connector_type_id=".slack",
config="{}",
secrets="{}")
example = elasticstack.get_kibana_action_connector_output(name=slack.name,
space_id="default",
connector_type_id=".slack")
pulumi.export("connectorId", example.connector_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 {
slack, err := elasticstack.NewKibanaActionConnector(ctx, "slack", &elasticstack.KibanaActionConnectorArgs{
Name: pulumi.String("myslackconnector"),
ConnectorTypeId: pulumi.String(".slack"),
Config: pulumi.String("{}"),
Secrets: pulumi.String("{}"),
})
if err != nil {
return err
}
example := elasticstack.LookupKibanaActionConnectorOutput(ctx, elasticstack.GetKibanaActionConnectorOutputArgs{
Name: slack.Name,
SpaceId: pulumi.String("default"),
ConnectorTypeId: pulumi.String(".slack"),
}, nil)
ctx.Export("connectorId", example.ApplyT(func(example elasticstack.GetKibanaActionConnectorResult) (*string, error) {
return &example.ConnectorId, nil
}).(pulumi.StringPtrOutput))
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Elasticstack = Pulumi.Elasticstack;
return await Deployment.RunAsync(() =>
{
var slack = new Elasticstack.KibanaActionConnector("slack", new()
{
Name = "myslackconnector",
ConnectorTypeId = ".slack",
Config = "{}",
Secrets = "{}",
});
var example = Elasticstack.GetKibanaActionConnector.Invoke(new()
{
Name = slack.Name,
SpaceId = "default",
ConnectorTypeId = ".slack",
});
return new Dictionary<string, object?>
{
["connectorId"] = example.Apply(getKibanaActionConnectorResult => getKibanaActionConnectorResult.ConnectorId),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.elasticstack.KibanaActionConnector;
import com.pulumi.elasticstack.KibanaActionConnectorArgs;
import com.pulumi.elasticstack.ElasticstackFunctions;
import com.pulumi.elasticstack.inputs.GetKibanaActionConnectorArgs;
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 slack = new KibanaActionConnector("slack", KibanaActionConnectorArgs.builder()
.name("myslackconnector")
.connectorTypeId(".slack")
.config("{}")
.secrets("{}")
.build());
final var example = ElasticstackFunctions.getKibanaActionConnector(GetKibanaActionConnectorArgs.builder()
.name(slack.name())
.spaceId("default")
.connectorTypeId(".slack")
.build());
ctx.export("connectorId", example.applyValue(_example -> _example.connectorId()));
}
}
resources:
slack:
type: elasticstack:KibanaActionConnector
properties:
name: myslackconnector
connectorTypeId: .slack
config: '{}'
secrets: '{}'
variables:
example:
fn::invoke:
function: elasticstack:getKibanaActionConnector
arguments:
name: ${slack.name}
spaceId: default
connectorTypeId: .slack
outputs:
connectorId: ${example.connectorId}
Example coming soon!
Using getKibanaActionConnector
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 getKibanaActionConnector(args: GetKibanaActionConnectorArgs, opts?: InvokeOptions): Promise<GetKibanaActionConnectorResult>
function getKibanaActionConnectorOutput(args: GetKibanaActionConnectorOutputArgs, opts?: InvokeOptions): Output<GetKibanaActionConnectorResult>def get_kibana_action_connector(connector_type_id: Optional[str] = None,
id: Optional[str] = None,
kibana_connection: Optional[GetKibanaActionConnectorKibanaConnection] = None,
name: Optional[str] = None,
space_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetKibanaActionConnectorResult
def get_kibana_action_connector_output(connector_type_id: pulumi.Input[Optional[str]] = None,
id: pulumi.Input[Optional[str]] = None,
kibana_connection: pulumi.Input[Optional[GetKibanaActionConnectorKibanaConnectionArgs]] = None,
name: pulumi.Input[Optional[str]] = None,
space_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetKibanaActionConnectorResult]func LookupKibanaActionConnector(ctx *Context, args *LookupKibanaActionConnectorArgs, opts ...InvokeOption) (*LookupKibanaActionConnectorResult, error)
func LookupKibanaActionConnectorOutput(ctx *Context, args *LookupKibanaActionConnectorOutputArgs, opts ...InvokeOption) LookupKibanaActionConnectorResultOutput> Note: This function is named LookupKibanaActionConnector in the Go SDK.
public static class GetKibanaActionConnector
{
public static Task<GetKibanaActionConnectorResult> InvokeAsync(GetKibanaActionConnectorArgs args, InvokeOptions? opts = null)
public static Output<GetKibanaActionConnectorResult> Invoke(GetKibanaActionConnectorInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetKibanaActionConnectorResult> getKibanaActionConnector(GetKibanaActionConnectorArgs args, InvokeOptions options)
public static Output<GetKibanaActionConnectorResult> getKibanaActionConnector(GetKibanaActionConnectorArgs args, InvokeOptions options)
fn::invoke:
function: elasticstack:index/getKibanaActionConnector:getKibanaActionConnector
arguments:
# arguments dictionarydata "elasticstack_getkibanaactionconnector" "name" {
# arguments
}The following arguments are supported:
- Name string
- The name of the connector. While this name does not have to be unique, a distinctive name can help you identify a connector.
- Connector
Type stringId - The ID of the connector type, e.g.
.index. - Id string
- The ID of this resource.
- Kibana
Connection GetKibana Action Connector 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.
- Name string
- The name of the connector. While this name does not have to be unique, a distinctive name can help you identify a connector.
- Connector
Type stringId - The ID of the connector type, e.g.
.index. - Id string
- The ID of this resource.
- Kibana
Connection GetKibana Action Connector 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.
- name string
- The name of the connector. While this name does not have to be unique, a distinctive name can help you identify a connector.
- connector_
type_ stringid - The ID of the connector type, e.g.
.index. - id string
- The ID of this resource.
- kibana_
connection object - Kibana connection configuration block.
- space_
id string - An identifier for the space. If space_id is not provided, the default space is used.
- name String
- The name of the connector. While this name does not have to be unique, a distinctive name can help you identify a connector.
- connector
Type StringId - The ID of the connector type, e.g.
.index. - id String
- The ID of this resource.
- kibana
Connection GetKibana Action Connector 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.
- name string
- The name of the connector. While this name does not have to be unique, a distinctive name can help you identify a connector.
- connector
Type stringId - The ID of the connector type, e.g.
.index. - id string
- The ID of this resource.
- kibana
Connection GetKibana Action Connector 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.
- name str
- The name of the connector. While this name does not have to be unique, a distinctive name can help you identify a connector.
- connector_
type_ strid - The ID of the connector type, e.g.
.index. - id str
- The ID of this resource.
- kibana_
connection GetKibana Action Connector 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.
- name String
- The name of the connector. While this name does not have to be unique, a distinctive name can help you identify a connector.
- connector
Type StringId - The ID of the connector type, e.g.
.index. - id String
- The ID of this resource.
- kibana
Connection 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.
getKibanaActionConnector Result
The following output properties are available:
- Config string
- The configuration for the connector. Configuration properties vary depending on the connector type.
- Connector
Id string - A UUID v1 or v4 randomly generated ID.
- Id string
- The ID of this resource.
- Is
Deprecated bool - Indicates whether the connector type is deprecated.
- Is
Missing boolSecrets - Indicates whether secrets are missing for the connector.
- Is
Preconfigured bool - Indicates whether it is a preconfigured connector.
- Name string
- The name of the connector. While this name does not have to be unique, a distinctive name can help you identify a connector.
- Connector
Type stringId - The ID of the connector type, e.g.
.index. - Kibana
Connection GetKibana Action Connector 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.
- Config string
- The configuration for the connector. Configuration properties vary depending on the connector type.
- Connector
Id string - A UUID v1 or v4 randomly generated ID.
- Id string
- The ID of this resource.
- Is
Deprecated bool - Indicates whether the connector type is deprecated.
- Is
Missing boolSecrets - Indicates whether secrets are missing for the connector.
- Is
Preconfigured bool - Indicates whether it is a preconfigured connector.
- Name string
- The name of the connector. While this name does not have to be unique, a distinctive name can help you identify a connector.
- Connector
Type stringId - The ID of the connector type, e.g.
.index. - Kibana
Connection GetKibana Action Connector 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.
- config string
- The configuration for the connector. Configuration properties vary depending on the connector type.
- connector_
id string - A UUID v1 or v4 randomly generated ID.
- id string
- The ID of this resource.
- is_
deprecated bool - Indicates whether the connector type is deprecated.
- is_
missing_ boolsecrets - Indicates whether secrets are missing for the connector.
- is_
preconfigured bool - Indicates whether it is a preconfigured connector.
- name string
- The name of the connector. While this name does not have to be unique, a distinctive name can help you identify a connector.
- connector_
type_ stringid - The ID of the connector type, e.g.
.index. - kibana_
connection object - Kibana connection configuration block.
- space_
id string - An identifier for the space. If space_id is not provided, the default space is used.
- config String
- The configuration for the connector. Configuration properties vary depending on the connector type.
- connector
Id String - A UUID v1 or v4 randomly generated ID.
- id String
- The ID of this resource.
- is
Deprecated Boolean - Indicates whether the connector type is deprecated.
- is
Missing BooleanSecrets - Indicates whether secrets are missing for the connector.
- is
Preconfigured Boolean - Indicates whether it is a preconfigured connector.
- name String
- The name of the connector. While this name does not have to be unique, a distinctive name can help you identify a connector.
- connector
Type StringId - The ID of the connector type, e.g.
.index. - kibana
Connection GetKibana Action Connector 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.
- config string
- The configuration for the connector. Configuration properties vary depending on the connector type.
- connector
Id string - A UUID v1 or v4 randomly generated ID.
- id string
- The ID of this resource.
- is
Deprecated boolean - Indicates whether the connector type is deprecated.
- is
Missing booleanSecrets - Indicates whether secrets are missing for the connector.
- is
Preconfigured boolean - Indicates whether it is a preconfigured connector.
- name string
- The name of the connector. While this name does not have to be unique, a distinctive name can help you identify a connector.
- connector
Type stringId - The ID of the connector type, e.g.
.index. - kibana
Connection GetKibana Action Connector 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.
- config str
- The configuration for the connector. Configuration properties vary depending on the connector type.
- connector_
id str - A UUID v1 or v4 randomly generated ID.
- id str
- The ID of this resource.
- is_
deprecated bool - Indicates whether the connector type is deprecated.
- is_
missing_ boolsecrets - Indicates whether secrets are missing for the connector.
- is_
preconfigured bool - Indicates whether it is a preconfigured connector.
- name str
- The name of the connector. While this name does not have to be unique, a distinctive name can help you identify a connector.
- connector_
type_ strid - The ID of the connector type, e.g.
.index. - kibana_
connection GetKibana Action Connector 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.
- config String
- The configuration for the connector. Configuration properties vary depending on the connector type.
- connector
Id String - A UUID v1 or v4 randomly generated ID.
- id String
- The ID of this resource.
- is
Deprecated Boolean - Indicates whether the connector type is deprecated.
- is
Missing BooleanSecrets - Indicates whether secrets are missing for the connector.
- is
Preconfigured Boolean - Indicates whether it is a preconfigured connector.
- name String
- The name of the connector. While this name does not have to be unique, a distinctive name can help you identify a connector.
- connector
Type StringId - The ID of the connector type, e.g.
.index. - kibana
Connection 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.
Supporting Types
GetKibanaActionConnectorKibanaConnection
- 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
