1. Packages
  2. Packages
  3. Elasticstack Provider
  4. API Docs
  5. KibanaImportSavedObjects
Viewing docs for elasticstack 0.15.0
published on Thursday, May 14, 2026 by elastic
Viewing docs for elasticstack 0.15.0
published on Thursday, May 14, 2026 by elastic

    Create sets of Kibana saved objects from a file created by the export API. See https://www.elastic.co/guide/en/kibana/current/saved-objects-api-import.html

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as elasticstack from "@pulumi/elasticstack";
    
    const settings = new elasticstack.KibanaImportSavedObjects("settings", {
        overwrite: true,
        fileContents: `{\\"attributes\\":{\\"buildNum\\":42747,\\"defaultIndex\\":\\"metricbeat-*\\",\\"theme:darkMode\\":true},\\"coreMigrationVersion\\":\\"7.0.0\\",\\"id\\":\\"7.14.0\\",\\"managed\\":false,\\"references\\":[],\\"type\\":\\"config\\",\\"typeMigrationVersion\\":\\"7.0.0\\",\\"updated_at\\":\\"2021-08-04T02:04:43.306Z\\",\\"version\\":\\"WzY1MiwyXQ==\\"}
    {\\"excludedObjects\\":[],\\"excludedObjectsCount\\":0,\\"exportedCount\\":1,\\"missingRefCount\\":0,\\"missingReferences\\":[]}
    `,
    });
    
    import pulumi
    import pulumi_elasticstack as elasticstack
    
    settings = elasticstack.KibanaImportSavedObjects("settings",
        overwrite=True,
        file_contents="""{\"attributes\":{\"buildNum\":42747,\"defaultIndex\":\"metricbeat-*\",\"theme:darkMode\":true},\"coreMigrationVersion\":\"7.0.0\",\"id\":\"7.14.0\",\"managed\":false,\"references\":[],\"type\":\"config\",\"typeMigrationVersion\":\"7.0.0\",\"updated_at\":\"2021-08-04T02:04:43.306Z\",\"version\":\"WzY1MiwyXQ==\"}
    {\"excludedObjects\":[],\"excludedObjectsCount\":0,\"exportedCount\":1,\"missingRefCount\":0,\"missingReferences\":[]}
    """)
    
    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.NewKibanaImportSavedObjects(ctx, "settings", &elasticstack.KibanaImportSavedObjectsArgs{
    			Overwrite:    pulumi.Bool(true),
    			FileContents: pulumi.String("{\\\"attributes\\\":{\\\"buildNum\\\":42747,\\\"defaultIndex\\\":\\\"metricbeat-*\\\",\\\"theme:darkMode\\\":true},\\\"coreMigrationVersion\\\":\\\"7.0.0\\\",\\\"id\\\":\\\"7.14.0\\\",\\\"managed\\\":false,\\\"references\\\":[],\\\"type\\\":\\\"config\\\",\\\"typeMigrationVersion\\\":\\\"7.0.0\\\",\\\"updated_at\\\":\\\"2021-08-04T02:04:43.306Z\\\",\\\"version\\\":\\\"WzY1MiwyXQ==\\\"}\n{\\\"excludedObjects\\\":[],\\\"excludedObjectsCount\\\":0,\\\"exportedCount\\\":1,\\\"missingRefCount\\\":0,\\\"missingReferences\\\":[]}\n"),
    		})
    		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 settings = new Elasticstack.KibanaImportSavedObjects("settings", new()
        {
            Overwrite = true,
            FileContents = @"{\""attributes\"":{\""buildNum\"":42747,\""defaultIndex\"":\""metricbeat-*\"",\""theme:darkMode\"":true},\""coreMigrationVersion\"":\""7.0.0\"",\""id\"":\""7.14.0\"",\""managed\"":false,\""references\"":[],\""type\"":\""config\"",\""typeMigrationVersion\"":\""7.0.0\"",\""updated_at\"":\""2021-08-04T02:04:43.306Z\"",\""version\"":\""WzY1MiwyXQ==\""}
    {\""excludedObjects\"":[],\""excludedObjectsCount\"":0,\""exportedCount\"":1,\""missingRefCount\"":0,\""missingReferences\"":[]}
    ",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.elasticstack.KibanaImportSavedObjects;
    import com.pulumi.elasticstack.KibanaImportSavedObjectsArgs;
    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 settings = new KibanaImportSavedObjects("settings", KibanaImportSavedObjectsArgs.builder()
                .overwrite(true)
                .fileContents("""
    {\"attributes\":{\"buildNum\":42747,\"defaultIndex\":\"metricbeat-*\",\"theme:darkMode\":true},\"coreMigrationVersion\":\"7.0.0\",\"id\":\"7.14.0\",\"managed\":false,\"references\":[],\"type\":\"config\",\"typeMigrationVersion\":\"7.0.0\",\"updated_at\":\"2021-08-04T02:04:43.306Z\",\"version\":\"WzY1MiwyXQ==\"}
    {\"excludedObjects\":[],\"excludedObjectsCount\":0,\"exportedCount\":1,\"missingRefCount\":0,\"missingReferences\":[]}
                """)
                .build());
    
        }
    }
    
    resources:
      settings:
        type: elasticstack:KibanaImportSavedObjects
        properties:
          overwrite: true
          fileContents: |
            {\"attributes\":{\"buildNum\":42747,\"defaultIndex\":\"metricbeat-*\",\"theme:darkMode\":true},\"coreMigrationVersion\":\"7.0.0\",\"id\":\"7.14.0\",\"managed\":false,\"references\":[],\"type\":\"config\",\"typeMigrationVersion\":\"7.0.0\",\"updated_at\":\"2021-08-04T02:04:43.306Z\",\"version\":\"WzY1MiwyXQ==\"}
            {\"excludedObjects\":[],\"excludedObjectsCount\":0,\"exportedCount\":1,\"missingRefCount\":0,\"missingReferences\":[]}
    
    Example coming soon!
    

    Create KibanaImportSavedObjects Resource

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

    Constructor syntax

    new KibanaImportSavedObjects(name: string, args: KibanaImportSavedObjectsArgs, opts?: CustomResourceOptions);
    @overload
    def KibanaImportSavedObjects(resource_name: str,
                                 args: KibanaImportSavedObjectsArgs,
                                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def KibanaImportSavedObjects(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 file_contents: Optional[str] = None,
                                 compatibility_mode: Optional[bool] = None,
                                 create_new_copies: Optional[bool] = None,
                                 ignore_import_errors: Optional[bool] = None,
                                 kibana_connections: Optional[Sequence[KibanaImportSavedObjectsKibanaConnectionArgs]] = None,
                                 overwrite: Optional[bool] = None,
                                 space_id: Optional[str] = None)
    func NewKibanaImportSavedObjects(ctx *Context, name string, args KibanaImportSavedObjectsArgs, opts ...ResourceOption) (*KibanaImportSavedObjects, error)
    public KibanaImportSavedObjects(string name, KibanaImportSavedObjectsArgs args, CustomResourceOptions? opts = null)
    public KibanaImportSavedObjects(String name, KibanaImportSavedObjectsArgs args)
    public KibanaImportSavedObjects(String name, KibanaImportSavedObjectsArgs args, CustomResourceOptions options)
    
    type: elasticstack:KibanaImportSavedObjects
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "elasticstack_kibanaimportsavedobjects" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args KibanaImportSavedObjectsArgs
    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 KibanaImportSavedObjectsArgs
    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 KibanaImportSavedObjectsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args KibanaImportSavedObjectsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args KibanaImportSavedObjectsArgs
    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 kibanaImportSavedObjectsResource = new Elasticstack.KibanaImportSavedObjects("kibanaImportSavedObjectsResource", new()
    {
        FileContents = "string",
        CompatibilityMode = false,
        CreateNewCopies = false,
        IgnoreImportErrors = false,
        KibanaConnections = new[]
        {
            new Elasticstack.Inputs.KibanaImportSavedObjectsKibanaConnectionArgs
            {
                ApiKey = "string",
                BearerToken = "string",
                CaCerts = new[]
                {
                    "string",
                },
                Endpoints = new[]
                {
                    "string",
                },
                Insecure = false,
                Password = "string",
                Username = "string",
            },
        },
        Overwrite = false,
        SpaceId = "string",
    });
    
    example, err := elasticstack.NewKibanaImportSavedObjects(ctx, "kibanaImportSavedObjectsResource", &elasticstack.KibanaImportSavedObjectsArgs{
    	FileContents:       pulumi.String("string"),
    	CompatibilityMode:  pulumi.Bool(false),
    	CreateNewCopies:    pulumi.Bool(false),
    	IgnoreImportErrors: pulumi.Bool(false),
    	KibanaConnections: elasticstack.KibanaImportSavedObjectsKibanaConnectionArray{
    		&elasticstack.KibanaImportSavedObjectsKibanaConnectionArgs{
    			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"),
    		},
    	},
    	Overwrite: pulumi.Bool(false),
    	SpaceId:   pulumi.String("string"),
    })
    
    resource "elasticstack_kibanaimportsavedobjects" "kibanaImportSavedObjectsResource" {
      file_contents        = "string"
      compatibility_mode   = false
      create_new_copies    = false
      ignore_import_errors = false
      kibana_connections {
        api_key      = "string"
        bearer_token = "string"
        ca_certs     = ["string"]
        endpoints    = ["string"]
        insecure     = false
        password     = "string"
        username     = "string"
      }
      overwrite = false
      space_id  = "string"
    }
    
    var kibanaImportSavedObjectsResource = new KibanaImportSavedObjects("kibanaImportSavedObjectsResource", KibanaImportSavedObjectsArgs.builder()
        .fileContents("string")
        .compatibilityMode(false)
        .createNewCopies(false)
        .ignoreImportErrors(false)
        .kibanaConnections(KibanaImportSavedObjectsKibanaConnectionArgs.builder()
            .apiKey("string")
            .bearerToken("string")
            .caCerts("string")
            .endpoints("string")
            .insecure(false)
            .password("string")
            .username("string")
            .build())
        .overwrite(false)
        .spaceId("string")
        .build());
    
    kibana_import_saved_objects_resource = elasticstack.KibanaImportSavedObjects("kibanaImportSavedObjectsResource",
        file_contents="string",
        compatibility_mode=False,
        create_new_copies=False,
        ignore_import_errors=False,
        kibana_connections=[{
            "api_key": "string",
            "bearer_token": "string",
            "ca_certs": ["string"],
            "endpoints": ["string"],
            "insecure": False,
            "password": "string",
            "username": "string",
        }],
        overwrite=False,
        space_id="string")
    
    const kibanaImportSavedObjectsResource = new elasticstack.KibanaImportSavedObjects("kibanaImportSavedObjectsResource", {
        fileContents: "string",
        compatibilityMode: false,
        createNewCopies: false,
        ignoreImportErrors: false,
        kibanaConnections: [{
            apiKey: "string",
            bearerToken: "string",
            caCerts: ["string"],
            endpoints: ["string"],
            insecure: false,
            password: "string",
            username: "string",
        }],
        overwrite: false,
        spaceId: "string",
    });
    
    type: elasticstack:KibanaImportSavedObjects
    properties:
        compatibilityMode: false
        createNewCopies: false
        fileContents: string
        ignoreImportErrors: false
        kibanaConnections:
            - apiKey: string
              bearerToken: string
              caCerts:
                - string
              endpoints:
                - string
              insecure: false
              password: string
              username: string
        overwrite: false
        spaceId: string
    

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

    FileContents string
    The contents of the exported saved objects file.
    CompatibilityMode bool
    Applies various adjustments to the saved objects that are being imported to maintain compatibility between different Kibana versions. Use this option only if you encounter issues with imported saved objects. Cannot be used with createnewcopies.
    CreateNewCopies bool
    Creates copies of saved objects, regenerates each object ID, and resets the origin. When used, potential conflict errors are avoided. Cannot be used with overwrite or compatibility_mode.
    IgnoreImportErrors bool
    If set to true, errors during the import process will not fail the configuration application
    KibanaConnections List<KibanaImportSavedObjectsKibanaConnection>
    Kibana connection configuration block.
    Overwrite bool
    Overwrites saved objects when they already exist. When used, potential conflict errors are automatically resolved by overwriting the destination object.
    SpaceId string
    An identifier for the space. If space_id is not provided, the default space is used.
    FileContents string
    The contents of the exported saved objects file.
    CompatibilityMode bool
    Applies various adjustments to the saved objects that are being imported to maintain compatibility between different Kibana versions. Use this option only if you encounter issues with imported saved objects. Cannot be used with createnewcopies.
    CreateNewCopies bool
    Creates copies of saved objects, regenerates each object ID, and resets the origin. When used, potential conflict errors are avoided. Cannot be used with overwrite or compatibility_mode.
    IgnoreImportErrors bool
    If set to true, errors during the import process will not fail the configuration application
    KibanaConnections []KibanaImportSavedObjectsKibanaConnectionArgs
    Kibana connection configuration block.
    Overwrite bool
    Overwrites saved objects when they already exist. When used, potential conflict errors are automatically resolved by overwriting the destination object.
    SpaceId string
    An identifier for the space. If space_id is not provided, the default space is used.
    file_contents string
    The contents of the exported saved objects file.
    compatibility_mode bool
    Applies various adjustments to the saved objects that are being imported to maintain compatibility between different Kibana versions. Use this option only if you encounter issues with imported saved objects. Cannot be used with createnewcopies.
    create_new_copies bool
    Creates copies of saved objects, regenerates each object ID, and resets the origin. When used, potential conflict errors are avoided. Cannot be used with overwrite or compatibility_mode.
    ignore_import_errors bool
    If set to true, errors during the import process will not fail the configuration application
    kibana_connections list(object)
    Kibana connection configuration block.
    overwrite bool
    Overwrites saved objects when they already exist. When used, potential conflict errors are automatically resolved by overwriting the destination object.
    space_id string
    An identifier for the space. If space_id is not provided, the default space is used.
    fileContents String
    The contents of the exported saved objects file.
    compatibilityMode Boolean
    Applies various adjustments to the saved objects that are being imported to maintain compatibility between different Kibana versions. Use this option only if you encounter issues with imported saved objects. Cannot be used with createnewcopies.
    createNewCopies Boolean
    Creates copies of saved objects, regenerates each object ID, and resets the origin. When used, potential conflict errors are avoided. Cannot be used with overwrite or compatibility_mode.
    ignoreImportErrors Boolean
    If set to true, errors during the import process will not fail the configuration application
    kibanaConnections List<KibanaImportSavedObjectsKibanaConnection>
    Kibana connection configuration block.
    overwrite Boolean
    Overwrites saved objects when they already exist. When used, potential conflict errors are automatically resolved by overwriting the destination object.
    spaceId String
    An identifier for the space. If space_id is not provided, the default space is used.
    fileContents string
    The contents of the exported saved objects file.
    compatibilityMode boolean
    Applies various adjustments to the saved objects that are being imported to maintain compatibility between different Kibana versions. Use this option only if you encounter issues with imported saved objects. Cannot be used with createnewcopies.
    createNewCopies boolean
    Creates copies of saved objects, regenerates each object ID, and resets the origin. When used, potential conflict errors are avoided. Cannot be used with overwrite or compatibility_mode.
    ignoreImportErrors boolean
    If set to true, errors during the import process will not fail the configuration application
    kibanaConnections KibanaImportSavedObjectsKibanaConnection[]
    Kibana connection configuration block.
    overwrite boolean
    Overwrites saved objects when they already exist. When used, potential conflict errors are automatically resolved by overwriting the destination object.
    spaceId string
    An identifier for the space. If space_id is not provided, the default space is used.
    file_contents str
    The contents of the exported saved objects file.
    compatibility_mode bool
    Applies various adjustments to the saved objects that are being imported to maintain compatibility between different Kibana versions. Use this option only if you encounter issues with imported saved objects. Cannot be used with createnewcopies.
    create_new_copies bool
    Creates copies of saved objects, regenerates each object ID, and resets the origin. When used, potential conflict errors are avoided. Cannot be used with overwrite or compatibility_mode.
    ignore_import_errors bool
    If set to true, errors during the import process will not fail the configuration application
    kibana_connections Sequence[KibanaImportSavedObjectsKibanaConnectionArgs]
    Kibana connection configuration block.
    overwrite bool
    Overwrites saved objects when they already exist. When used, potential conflict errors are automatically resolved by overwriting the destination object.
    space_id str
    An identifier for the space. If space_id is not provided, the default space is used.
    fileContents String
    The contents of the exported saved objects file.
    compatibilityMode Boolean
    Applies various adjustments to the saved objects that are being imported to maintain compatibility between different Kibana versions. Use this option only if you encounter issues with imported saved objects. Cannot be used with createnewcopies.
    createNewCopies Boolean
    Creates copies of saved objects, regenerates each object ID, and resets the origin. When used, potential conflict errors are avoided. Cannot be used with overwrite or compatibility_mode.
    ignoreImportErrors Boolean
    If set to true, errors during the import process will not fail the configuration application
    kibanaConnections List<Property Map>
    Kibana connection configuration block.
    overwrite Boolean
    Overwrites saved objects when they already exist. When used, potential conflict errors are automatically resolved by overwriting the destination object.
    spaceId String
    An identifier for the space. If space_id is not provided, the default space is used.

    Outputs

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

    Errors List<KibanaImportSavedObjectsError>
    Id string
    The provider-assigned unique ID for this managed resource.
    Success bool
    Indicates when the import was successfully completed. When set to false, some objects may not have been created. For additional information, refer to the errors and success_results properties.
    SuccessCount double
    Indicates the number of successfully imported records.
    SuccessResults List<KibanaImportSavedObjectsSuccessResult>
    Errors []KibanaImportSavedObjectsError
    Id string
    The provider-assigned unique ID for this managed resource.
    Success bool
    Indicates when the import was successfully completed. When set to false, some objects may not have been created. For additional information, refer to the errors and success_results properties.
    SuccessCount float64
    Indicates the number of successfully imported records.
    SuccessResults []KibanaImportSavedObjectsSuccessResult
    errors list(object)
    id string
    The provider-assigned unique ID for this managed resource.
    success bool
    Indicates when the import was successfully completed. When set to false, some objects may not have been created. For additional information, refer to the errors and success_results properties.
    success_count number
    Indicates the number of successfully imported records.
    success_results list(object)
    errors List<KibanaImportSavedObjectsError>
    id String
    The provider-assigned unique ID for this managed resource.
    success Boolean
    Indicates when the import was successfully completed. When set to false, some objects may not have been created. For additional information, refer to the errors and success_results properties.
    successCount Double
    Indicates the number of successfully imported records.
    successResults List<KibanaImportSavedObjectsSuccessResult>
    errors KibanaImportSavedObjectsError[]
    id string
    The provider-assigned unique ID for this managed resource.
    success boolean
    Indicates when the import was successfully completed. When set to false, some objects may not have been created. For additional information, refer to the errors and success_results properties.
    successCount number
    Indicates the number of successfully imported records.
    successResults KibanaImportSavedObjectsSuccessResult[]
    errors Sequence[KibanaImportSavedObjectsError]
    id str
    The provider-assigned unique ID for this managed resource.
    success bool
    Indicates when the import was successfully completed. When set to false, some objects may not have been created. For additional information, refer to the errors and success_results properties.
    success_count float
    Indicates the number of successfully imported records.
    success_results Sequence[KibanaImportSavedObjectsSuccessResult]
    errors List<Property Map>
    id String
    The provider-assigned unique ID for this managed resource.
    success Boolean
    Indicates when the import was successfully completed. When set to false, some objects may not have been created. For additional information, refer to the errors and success_results properties.
    successCount Number
    Indicates the number of successfully imported records.
    successResults List<Property Map>

    Look up Existing KibanaImportSavedObjects Resource

    Get an existing KibanaImportSavedObjects 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?: KibanaImportSavedObjectsState, opts?: CustomResourceOptions): KibanaImportSavedObjects
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            compatibility_mode: Optional[bool] = None,
            create_new_copies: Optional[bool] = None,
            errors: Optional[Sequence[KibanaImportSavedObjectsErrorArgs]] = None,
            file_contents: Optional[str] = None,
            ignore_import_errors: Optional[bool] = None,
            kibana_connections: Optional[Sequence[KibanaImportSavedObjectsKibanaConnectionArgs]] = None,
            overwrite: Optional[bool] = None,
            space_id: Optional[str] = None,
            success: Optional[bool] = None,
            success_count: Optional[float] = None,
            success_results: Optional[Sequence[KibanaImportSavedObjectsSuccessResultArgs]] = None) -> KibanaImportSavedObjects
    func GetKibanaImportSavedObjects(ctx *Context, name string, id IDInput, state *KibanaImportSavedObjectsState, opts ...ResourceOption) (*KibanaImportSavedObjects, error)
    public static KibanaImportSavedObjects Get(string name, Input<string> id, KibanaImportSavedObjectsState? state, CustomResourceOptions? opts = null)
    public static KibanaImportSavedObjects get(String name, Output<String> id, KibanaImportSavedObjectsState state, CustomResourceOptions options)
    resources:  _:    type: elasticstack:KibanaImportSavedObjects    get:      id: ${id}
    import {
      to = elasticstack_kibanaimportsavedobjects.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:
    CompatibilityMode bool
    Applies various adjustments to the saved objects that are being imported to maintain compatibility between different Kibana versions. Use this option only if you encounter issues with imported saved objects. Cannot be used with createnewcopies.
    CreateNewCopies bool
    Creates copies of saved objects, regenerates each object ID, and resets the origin. When used, potential conflict errors are avoided. Cannot be used with overwrite or compatibility_mode.
    Errors List<KibanaImportSavedObjectsError>
    FileContents string
    The contents of the exported saved objects file.
    IgnoreImportErrors bool
    If set to true, errors during the import process will not fail the configuration application
    KibanaConnections List<KibanaImportSavedObjectsKibanaConnection>
    Kibana connection configuration block.
    Overwrite bool
    Overwrites saved objects when they already exist. When used, potential conflict errors are automatically resolved by overwriting the destination object.
    SpaceId string
    An identifier for the space. If space_id is not provided, the default space is used.
    Success bool
    Indicates when the import was successfully completed. When set to false, some objects may not have been created. For additional information, refer to the errors and success_results properties.
    SuccessCount double
    Indicates the number of successfully imported records.
    SuccessResults List<KibanaImportSavedObjectsSuccessResult>
    CompatibilityMode bool
    Applies various adjustments to the saved objects that are being imported to maintain compatibility between different Kibana versions. Use this option only if you encounter issues with imported saved objects. Cannot be used with createnewcopies.
    CreateNewCopies bool
    Creates copies of saved objects, regenerates each object ID, and resets the origin. When used, potential conflict errors are avoided. Cannot be used with overwrite or compatibility_mode.
    Errors []KibanaImportSavedObjectsErrorArgs
    FileContents string
    The contents of the exported saved objects file.
    IgnoreImportErrors bool
    If set to true, errors during the import process will not fail the configuration application
    KibanaConnections []KibanaImportSavedObjectsKibanaConnectionArgs
    Kibana connection configuration block.
    Overwrite bool
    Overwrites saved objects when they already exist. When used, potential conflict errors are automatically resolved by overwriting the destination object.
    SpaceId string
    An identifier for the space. If space_id is not provided, the default space is used.
    Success bool
    Indicates when the import was successfully completed. When set to false, some objects may not have been created. For additional information, refer to the errors and success_results properties.
    SuccessCount float64
    Indicates the number of successfully imported records.
    SuccessResults []KibanaImportSavedObjectsSuccessResultArgs
    compatibility_mode bool
    Applies various adjustments to the saved objects that are being imported to maintain compatibility between different Kibana versions. Use this option only if you encounter issues with imported saved objects. Cannot be used with createnewcopies.
    create_new_copies bool
    Creates copies of saved objects, regenerates each object ID, and resets the origin. When used, potential conflict errors are avoided. Cannot be used with overwrite or compatibility_mode.
    errors list(object)
    file_contents string
    The contents of the exported saved objects file.
    ignore_import_errors bool
    If set to true, errors during the import process will not fail the configuration application
    kibana_connections list(object)
    Kibana connection configuration block.
    overwrite bool
    Overwrites saved objects when they already exist. When used, potential conflict errors are automatically resolved by overwriting the destination object.
    space_id string
    An identifier for the space. If space_id is not provided, the default space is used.
    success bool
    Indicates when the import was successfully completed. When set to false, some objects may not have been created. For additional information, refer to the errors and success_results properties.
    success_count number
    Indicates the number of successfully imported records.
    success_results list(object)
    compatibilityMode Boolean
    Applies various adjustments to the saved objects that are being imported to maintain compatibility between different Kibana versions. Use this option only if you encounter issues with imported saved objects. Cannot be used with createnewcopies.
    createNewCopies Boolean
    Creates copies of saved objects, regenerates each object ID, and resets the origin. When used, potential conflict errors are avoided. Cannot be used with overwrite or compatibility_mode.
    errors List<KibanaImportSavedObjectsError>
    fileContents String
    The contents of the exported saved objects file.
    ignoreImportErrors Boolean
    If set to true, errors during the import process will not fail the configuration application
    kibanaConnections List<KibanaImportSavedObjectsKibanaConnection>
    Kibana connection configuration block.
    overwrite Boolean
    Overwrites saved objects when they already exist. When used, potential conflict errors are automatically resolved by overwriting the destination object.
    spaceId String
    An identifier for the space. If space_id is not provided, the default space is used.
    success Boolean
    Indicates when the import was successfully completed. When set to false, some objects may not have been created. For additional information, refer to the errors and success_results properties.
    successCount Double
    Indicates the number of successfully imported records.
    successResults List<KibanaImportSavedObjectsSuccessResult>
    compatibilityMode boolean
    Applies various adjustments to the saved objects that are being imported to maintain compatibility between different Kibana versions. Use this option only if you encounter issues with imported saved objects. Cannot be used with createnewcopies.
    createNewCopies boolean
    Creates copies of saved objects, regenerates each object ID, and resets the origin. When used, potential conflict errors are avoided. Cannot be used with overwrite or compatibility_mode.
    errors KibanaImportSavedObjectsError[]
    fileContents string
    The contents of the exported saved objects file.
    ignoreImportErrors boolean
    If set to true, errors during the import process will not fail the configuration application
    kibanaConnections KibanaImportSavedObjectsKibanaConnection[]
    Kibana connection configuration block.
    overwrite boolean
    Overwrites saved objects when they already exist. When used, potential conflict errors are automatically resolved by overwriting the destination object.
    spaceId string
    An identifier for the space. If space_id is not provided, the default space is used.
    success boolean
    Indicates when the import was successfully completed. When set to false, some objects may not have been created. For additional information, refer to the errors and success_results properties.
    successCount number
    Indicates the number of successfully imported records.
    successResults KibanaImportSavedObjectsSuccessResult[]
    compatibility_mode bool
    Applies various adjustments to the saved objects that are being imported to maintain compatibility between different Kibana versions. Use this option only if you encounter issues with imported saved objects. Cannot be used with createnewcopies.
    create_new_copies bool
    Creates copies of saved objects, regenerates each object ID, and resets the origin. When used, potential conflict errors are avoided. Cannot be used with overwrite or compatibility_mode.
    errors Sequence[KibanaImportSavedObjectsErrorArgs]
    file_contents str
    The contents of the exported saved objects file.
    ignore_import_errors bool
    If set to true, errors during the import process will not fail the configuration application
    kibana_connections Sequence[KibanaImportSavedObjectsKibanaConnectionArgs]
    Kibana connection configuration block.
    overwrite bool
    Overwrites saved objects when they already exist. When used, potential conflict errors are automatically resolved by overwriting the destination object.
    space_id str
    An identifier for the space. If space_id is not provided, the default space is used.
    success bool
    Indicates when the import was successfully completed. When set to false, some objects may not have been created. For additional information, refer to the errors and success_results properties.
    success_count float
    Indicates the number of successfully imported records.
    success_results Sequence[KibanaImportSavedObjectsSuccessResultArgs]
    compatibilityMode Boolean
    Applies various adjustments to the saved objects that are being imported to maintain compatibility between different Kibana versions. Use this option only if you encounter issues with imported saved objects. Cannot be used with createnewcopies.
    createNewCopies Boolean
    Creates copies of saved objects, regenerates each object ID, and resets the origin. When used, potential conflict errors are avoided. Cannot be used with overwrite or compatibility_mode.
    errors List<Property Map>
    fileContents String
    The contents of the exported saved objects file.
    ignoreImportErrors Boolean
    If set to true, errors during the import process will not fail the configuration application
    kibanaConnections List<Property Map>
    Kibana connection configuration block.
    overwrite Boolean
    Overwrites saved objects when they already exist. When used, potential conflict errors are automatically resolved by overwriting the destination object.
    spaceId String
    An identifier for the space. If space_id is not provided, the default space is used.
    success Boolean
    Indicates when the import was successfully completed. When set to false, some objects may not have been created. For additional information, refer to the errors and success_results properties.
    successCount Number
    Indicates the number of successfully imported records.
    successResults List<Property Map>

    Supporting Types

    KibanaImportSavedObjectsError, KibanaImportSavedObjectsErrorArgs

    error object
    id string
    meta object
    title string
    type string

    KibanaImportSavedObjectsErrorError, KibanaImportSavedObjectsErrorErrorArgs

    Type string
    Type string
    type string
    type String
    type string
    type str
    type String

    KibanaImportSavedObjectsErrorMeta, KibanaImportSavedObjectsErrorMetaArgs

    Icon string
    Title string
    Icon string
    Title string
    icon string
    title string
    icon String
    title String
    icon string
    title string
    icon str
    title str
    icon String
    title String

    KibanaImportSavedObjectsKibanaConnection, KibanaImportSavedObjectsKibanaConnectionArgs

    ApiKey string
    API Key to use for authentication to Kibana
    BearerToken string
    Bearer Token to use for authentication to Kibana
    CaCerts 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.
    ApiKey string
    API Key to use for authentication to Kibana
    BearerToken string
    Bearer Token to use for authentication to Kibana
    CaCerts []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.
    apiKey String
    API Key to use for authentication to Kibana
    bearerToken String
    Bearer Token to use for authentication to Kibana
    caCerts 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.
    apiKey string
    API Key to use for authentication to Kibana
    bearerToken string
    Bearer Token to use for authentication to Kibana
    caCerts 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.
    apiKey String
    API Key to use for authentication to Kibana
    bearerToken String
    Bearer Token to use for authentication to Kibana
    caCerts 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.

    KibanaImportSavedObjectsSuccessResult, KibanaImportSavedObjectsSuccessResultArgs

    destination_id string
    id string
    meta object
    type string

    KibanaImportSavedObjectsSuccessResultMeta, KibanaImportSavedObjectsSuccessResultMetaArgs

    Icon string
    Title string
    Icon string
    Title string
    icon string
    title string
    icon String
    title String
    icon string
    title string
    icon str
    title str
    icon String
    title String

    Package Details

    Repository
    elasticstack elastic/terraform-provider-elasticstack
    License
    Notes
    This Pulumi package is based on the elasticstack Terraform Provider.
    Viewing docs for elasticstack 0.15.0
    published on Thursday, May 14, 2026 by elastic
      Try Pulumi Cloud free. Your team will thank you.