1. Packages
  2. Elasticstack Provider
  3. API Docs
  4. ElasticsearchIndexLifecycle
elasticstack 0.11.15 published on Wednesday, Apr 23, 2025 by elastic

elasticstack.ElasticsearchIndexLifecycle

Explore with Pulumi AI

elasticstack logo
elasticstack 0.11.15 published on Wednesday, Apr 23, 2025 by elastic

    Creates or updates lifecycle policy. See: https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-put-lifecycle.html and https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-index-lifecycle.html

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as elasticstack from "@pulumi/elasticstack";
    
    const myIlm = new elasticstack.ElasticsearchIndexLifecycle("myIlm", {
        hot: {
            minAge: "1h",
            setPriority: {
                priority: 0,
            },
            rollover: {
                maxAge: "1d",
            },
            readonly: {},
        },
        warm: {
            minAge: "0ms",
            setPriority: {
                priority: 10,
            },
            readonly: {},
            allocate: {
                exclude: JSON.stringify({
                    box_type: "hot",
                }),
                numberOfReplicas: 1,
                totalShardsPerNode: 200,
            },
        },
        "delete": {
            minAge: "2d",
            "delete": {},
        },
    });
    
    import pulumi
    import json
    import pulumi_elasticstack as elasticstack
    
    my_ilm = elasticstack.ElasticsearchIndexLifecycle("myIlm",
        hot={
            "min_age": "1h",
            "set_priority": {
                "priority": 0,
            },
            "rollover": {
                "max_age": "1d",
            },
            "readonly": {},
        },
        warm={
            "min_age": "0ms",
            "set_priority": {
                "priority": 10,
            },
            "readonly": {},
            "allocate": {
                "exclude": json.dumps({
                    "box_type": "hot",
                }),
                "number_of_replicas": 1,
                "total_shards_per_node": 200,
            },
        },
        delete={
            "min_age": "2d",
            "delete": {},
        })
    
    package main
    
    import (
    	"encoding/json"
    
    	"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 {
    		tmpJSON0, err := json.Marshal(map[string]interface{}{
    			"box_type": "hot",
    		})
    		if err != nil {
    			return err
    		}
    		json0 := string(tmpJSON0)
    		_, err = elasticstack.NewElasticsearchIndexLifecycle(ctx, "myIlm", &elasticstack.ElasticsearchIndexLifecycleArgs{
    			Hot: &elasticstack.ElasticsearchIndexLifecycleHotArgs{
    				MinAge: pulumi.String("1h"),
    				SetPriority: &elasticstack.ElasticsearchIndexLifecycleHotSetPriorityArgs{
    					Priority: pulumi.Float64(0),
    				},
    				Rollover: &elasticstack.ElasticsearchIndexLifecycleHotRolloverArgs{
    					MaxAge: pulumi.String("1d"),
    				},
    				Readonly: &elasticstack.ElasticsearchIndexLifecycleHotReadonlyArgs{},
    			},
    			Warm: &elasticstack.ElasticsearchIndexLifecycleWarmArgs{
    				MinAge: pulumi.String("0ms"),
    				SetPriority: &elasticstack.ElasticsearchIndexLifecycleWarmSetPriorityArgs{
    					Priority: pulumi.Float64(10),
    				},
    				Readonly: &elasticstack.ElasticsearchIndexLifecycleWarmReadonlyArgs{},
    				Allocate: &elasticstack.ElasticsearchIndexLifecycleWarmAllocateArgs{
    					Exclude:            pulumi.String(json0),
    					NumberOfReplicas:   pulumi.Float64(1),
    					TotalShardsPerNode: pulumi.Float64(200),
    				},
    			},
    			Delete: &elasticstack.ElasticsearchIndexLifecycleDeleteArgs{
    				MinAge: pulumi.String("2d"),
    				Delete: &elasticstack.ElasticsearchIndexLifecycleDeleteDeleteArgs{},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using System.Text.Json;
    using Pulumi;
    using Elasticstack = Pulumi.Elasticstack;
    
    return await Deployment.RunAsync(() => 
    {
        var myIlm = new Elasticstack.ElasticsearchIndexLifecycle("myIlm", new()
        {
            Hot = new Elasticstack.Inputs.ElasticsearchIndexLifecycleHotArgs
            {
                MinAge = "1h",
                SetPriority = new Elasticstack.Inputs.ElasticsearchIndexLifecycleHotSetPriorityArgs
                {
                    Priority = 0,
                },
                Rollover = new Elasticstack.Inputs.ElasticsearchIndexLifecycleHotRolloverArgs
                {
                    MaxAge = "1d",
                },
                Readonly = null,
            },
            Warm = new Elasticstack.Inputs.ElasticsearchIndexLifecycleWarmArgs
            {
                MinAge = "0ms",
                SetPriority = new Elasticstack.Inputs.ElasticsearchIndexLifecycleWarmSetPriorityArgs
                {
                    Priority = 10,
                },
                Readonly = null,
                Allocate = new Elasticstack.Inputs.ElasticsearchIndexLifecycleWarmAllocateArgs
                {
                    Exclude = JsonSerializer.Serialize(new Dictionary<string, object?>
                    {
                        ["box_type"] = "hot",
                    }),
                    NumberOfReplicas = 1,
                    TotalShardsPerNode = 200,
                },
            },
            Delete = new Elasticstack.Inputs.ElasticsearchIndexLifecycleDeleteArgs
            {
                MinAge = "2d",
                Delete = null,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.elasticstack.ElasticsearchIndexLifecycle;
    import com.pulumi.elasticstack.ElasticsearchIndexLifecycleArgs;
    import com.pulumi.elasticstack.inputs.ElasticsearchIndexLifecycleHotArgs;
    import com.pulumi.elasticstack.inputs.ElasticsearchIndexLifecycleHotSetPriorityArgs;
    import com.pulumi.elasticstack.inputs.ElasticsearchIndexLifecycleHotRolloverArgs;
    import com.pulumi.elasticstack.inputs.ElasticsearchIndexLifecycleHotReadonlyArgs;
    import com.pulumi.elasticstack.inputs.ElasticsearchIndexLifecycleWarmArgs;
    import com.pulumi.elasticstack.inputs.ElasticsearchIndexLifecycleWarmSetPriorityArgs;
    import com.pulumi.elasticstack.inputs.ElasticsearchIndexLifecycleWarmReadonlyArgs;
    import com.pulumi.elasticstack.inputs.ElasticsearchIndexLifecycleWarmAllocateArgs;
    import com.pulumi.elasticstack.inputs.ElasticsearchIndexLifecycleDeleteArgs;
    import com.pulumi.elasticstack.inputs.ElasticsearchIndexLifecycleDeleteDeleteArgs;
    import static com.pulumi.codegen.internal.Serialization.*;
    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 myIlm = new ElasticsearchIndexLifecycle("myIlm", ElasticsearchIndexLifecycleArgs.builder()
                .hot(ElasticsearchIndexLifecycleHotArgs.builder()
                    .minAge("1h")
                    .setPriority(ElasticsearchIndexLifecycleHotSetPriorityArgs.builder()
                        .priority(0)
                        .build())
                    .rollover(ElasticsearchIndexLifecycleHotRolloverArgs.builder()
                        .maxAge("1d")
                        .build())
                    .readonly()
                    .build())
                .warm(ElasticsearchIndexLifecycleWarmArgs.builder()
                    .minAge("0ms")
                    .setPriority(ElasticsearchIndexLifecycleWarmSetPriorityArgs.builder()
                        .priority(10)
                        .build())
                    .readonly()
                    .allocate(ElasticsearchIndexLifecycleWarmAllocateArgs.builder()
                        .exclude(serializeJson(
                            jsonObject(
                                jsonProperty("box_type", "hot")
                            )))
                        .numberOfReplicas(1)
                        .totalShardsPerNode(200)
                        .build())
                    .build())
                .delete(ElasticsearchIndexLifecycleDeleteArgs.builder()
                    .minAge("2d")
                    .delete()
                    .build())
                .build());
    
        }
    }
    
    resources:
      myIlm:
        type: elasticstack:ElasticsearchIndexLifecycle
        properties:
          hot:
            minAge: 1h
            setPriority:
              priority: 0
            rollover:
              maxAge: 1d
            readonly: {}
          warm:
            minAge: 0ms
            setPriority:
              priority: 10
            readonly: {}
            allocate:
              exclude:
                fn::toJSON:
                  box_type: hot
              numberOfReplicas: 1
              totalShardsPerNode: 200
          delete:
            minAge: 2d
            delete: {}
    

    Create ElasticsearchIndexLifecycle Resource

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

    Constructor syntax

    new ElasticsearchIndexLifecycle(name: string, args?: ElasticsearchIndexLifecycleArgs, opts?: CustomResourceOptions);
    @overload
    def ElasticsearchIndexLifecycle(resource_name: str,
                                    args: Optional[ElasticsearchIndexLifecycleArgs] = None,
                                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def ElasticsearchIndexLifecycle(resource_name: str,
                                    opts: Optional[ResourceOptions] = None,
                                    cold: Optional[ElasticsearchIndexLifecycleColdArgs] = None,
                                    delete: Optional[ElasticsearchIndexLifecycleDeleteArgs] = None,
                                    elasticsearch_connection: Optional[ElasticsearchIndexLifecycleElasticsearchConnectionArgs] = None,
                                    frozen: Optional[ElasticsearchIndexLifecycleFrozenArgs] = None,
                                    hot: Optional[ElasticsearchIndexLifecycleHotArgs] = None,
                                    metadata: Optional[str] = None,
                                    name: Optional[str] = None,
                                    warm: Optional[ElasticsearchIndexLifecycleWarmArgs] = None)
    func NewElasticsearchIndexLifecycle(ctx *Context, name string, args *ElasticsearchIndexLifecycleArgs, opts ...ResourceOption) (*ElasticsearchIndexLifecycle, error)
    public ElasticsearchIndexLifecycle(string name, ElasticsearchIndexLifecycleArgs? args = null, CustomResourceOptions? opts = null)
    public ElasticsearchIndexLifecycle(String name, ElasticsearchIndexLifecycleArgs args)
    public ElasticsearchIndexLifecycle(String name, ElasticsearchIndexLifecycleArgs args, CustomResourceOptions options)
    
    type: elasticstack:ElasticsearchIndexLifecycle
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ElasticsearchIndexLifecycleArgs
    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 ElasticsearchIndexLifecycleArgs
    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 ElasticsearchIndexLifecycleArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ElasticsearchIndexLifecycleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ElasticsearchIndexLifecycleArgs
    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 elasticsearchIndexLifecycleResource = new Elasticstack.ElasticsearchIndexLifecycle("elasticsearchIndexLifecycleResource", new()
    {
        Cold = new Elasticstack.Inputs.ElasticsearchIndexLifecycleColdArgs
        {
            Allocate = new Elasticstack.Inputs.ElasticsearchIndexLifecycleColdAllocateArgs
            {
                Exclude = "string",
                Include = "string",
                NumberOfReplicas = 0,
                Require = "string",
                TotalShardsPerNode = 0,
            },
            Downsample = new Elasticstack.Inputs.ElasticsearchIndexLifecycleColdDownsampleArgs
            {
                FixedInterval = "string",
                WaitTimeout = "string",
            },
            Freeze = new Elasticstack.Inputs.ElasticsearchIndexLifecycleColdFreezeArgs
            {
                Enabled = false,
            },
            Migrate = new Elasticstack.Inputs.ElasticsearchIndexLifecycleColdMigrateArgs
            {
                Enabled = false,
            },
            MinAge = "string",
            Readonly = new Elasticstack.Inputs.ElasticsearchIndexLifecycleColdReadonlyArgs
            {
                Enabled = false,
            },
            SearchableSnapshot = new Elasticstack.Inputs.ElasticsearchIndexLifecycleColdSearchableSnapshotArgs
            {
                SnapshotRepository = "string",
                ForceMergeIndex = false,
            },
            SetPriority = new Elasticstack.Inputs.ElasticsearchIndexLifecycleColdSetPriorityArgs
            {
                Priority = 0,
            },
            Unfollow = new Elasticstack.Inputs.ElasticsearchIndexLifecycleColdUnfollowArgs
            {
                Enabled = false,
            },
        },
        Delete = new Elasticstack.Inputs.ElasticsearchIndexLifecycleDeleteArgs
        {
            Delete = new Elasticstack.Inputs.ElasticsearchIndexLifecycleDeleteDeleteArgs
            {
                DeleteSearchableSnapshot = false,
            },
            MinAge = "string",
            WaitForSnapshot = new Elasticstack.Inputs.ElasticsearchIndexLifecycleDeleteWaitForSnapshotArgs
            {
                Policy = "string",
            },
        },
        Frozen = new Elasticstack.Inputs.ElasticsearchIndexLifecycleFrozenArgs
        {
            MinAge = "string",
            SearchableSnapshot = new Elasticstack.Inputs.ElasticsearchIndexLifecycleFrozenSearchableSnapshotArgs
            {
                SnapshotRepository = "string",
                ForceMergeIndex = false,
            },
        },
        Hot = new Elasticstack.Inputs.ElasticsearchIndexLifecycleHotArgs
        {
            Downsample = new Elasticstack.Inputs.ElasticsearchIndexLifecycleHotDownsampleArgs
            {
                FixedInterval = "string",
                WaitTimeout = "string",
            },
            Forcemerge = new Elasticstack.Inputs.ElasticsearchIndexLifecycleHotForcemergeArgs
            {
                MaxNumSegments = 0,
                IndexCodec = "string",
            },
            MinAge = "string",
            Readonly = new Elasticstack.Inputs.ElasticsearchIndexLifecycleHotReadonlyArgs
            {
                Enabled = false,
            },
            Rollover = new Elasticstack.Inputs.ElasticsearchIndexLifecycleHotRolloverArgs
            {
                MaxAge = "string",
                MaxDocs = 0,
                MaxPrimaryShardDocs = 0,
                MaxPrimaryShardSize = "string",
                MaxSize = "string",
                MinAge = "string",
                MinDocs = 0,
                MinPrimaryShardDocs = 0,
                MinPrimaryShardSize = "string",
                MinSize = "string",
            },
            SearchableSnapshot = new Elasticstack.Inputs.ElasticsearchIndexLifecycleHotSearchableSnapshotArgs
            {
                SnapshotRepository = "string",
                ForceMergeIndex = false,
            },
            SetPriority = new Elasticstack.Inputs.ElasticsearchIndexLifecycleHotSetPriorityArgs
            {
                Priority = 0,
            },
            Shrink = new Elasticstack.Inputs.ElasticsearchIndexLifecycleHotShrinkArgs
            {
                AllowWriteAfterShrink = false,
                MaxPrimaryShardSize = "string",
                NumberOfShards = 0,
            },
            Unfollow = new Elasticstack.Inputs.ElasticsearchIndexLifecycleHotUnfollowArgs
            {
                Enabled = false,
            },
        },
        Metadata = "string",
        Name = "string",
        Warm = new Elasticstack.Inputs.ElasticsearchIndexLifecycleWarmArgs
        {
            Allocate = new Elasticstack.Inputs.ElasticsearchIndexLifecycleWarmAllocateArgs
            {
                Exclude = "string",
                Include = "string",
                NumberOfReplicas = 0,
                Require = "string",
                TotalShardsPerNode = 0,
            },
            Downsample = new Elasticstack.Inputs.ElasticsearchIndexLifecycleWarmDownsampleArgs
            {
                FixedInterval = "string",
                WaitTimeout = "string",
            },
            Forcemerge = new Elasticstack.Inputs.ElasticsearchIndexLifecycleWarmForcemergeArgs
            {
                MaxNumSegments = 0,
                IndexCodec = "string",
            },
            Migrate = new Elasticstack.Inputs.ElasticsearchIndexLifecycleWarmMigrateArgs
            {
                Enabled = false,
            },
            MinAge = "string",
            Readonly = new Elasticstack.Inputs.ElasticsearchIndexLifecycleWarmReadonlyArgs
            {
                Enabled = false,
            },
            SetPriority = new Elasticstack.Inputs.ElasticsearchIndexLifecycleWarmSetPriorityArgs
            {
                Priority = 0,
            },
            Shrink = new Elasticstack.Inputs.ElasticsearchIndexLifecycleWarmShrinkArgs
            {
                AllowWriteAfterShrink = false,
                MaxPrimaryShardSize = "string",
                NumberOfShards = 0,
            },
            Unfollow = new Elasticstack.Inputs.ElasticsearchIndexLifecycleWarmUnfollowArgs
            {
                Enabled = false,
            },
        },
    });
    
    example, err := elasticstack.NewElasticsearchIndexLifecycle(ctx, "elasticsearchIndexLifecycleResource", &elasticstack.ElasticsearchIndexLifecycleArgs{
    	Cold: &elasticstack.ElasticsearchIndexLifecycleColdArgs{
    		Allocate: &elasticstack.ElasticsearchIndexLifecycleColdAllocateArgs{
    			Exclude:            pulumi.String("string"),
    			Include:            pulumi.String("string"),
    			NumberOfReplicas:   pulumi.Float64(0),
    			Require:            pulumi.String("string"),
    			TotalShardsPerNode: pulumi.Float64(0),
    		},
    		Downsample: &elasticstack.ElasticsearchIndexLifecycleColdDownsampleArgs{
    			FixedInterval: pulumi.String("string"),
    			WaitTimeout:   pulumi.String("string"),
    		},
    		Freeze: &elasticstack.ElasticsearchIndexLifecycleColdFreezeArgs{
    			Enabled: pulumi.Bool(false),
    		},
    		Migrate: &elasticstack.ElasticsearchIndexLifecycleColdMigrateArgs{
    			Enabled: pulumi.Bool(false),
    		},
    		MinAge: pulumi.String("string"),
    		Readonly: &elasticstack.ElasticsearchIndexLifecycleColdReadonlyArgs{
    			Enabled: pulumi.Bool(false),
    		},
    		SearchableSnapshot: &elasticstack.ElasticsearchIndexLifecycleColdSearchableSnapshotArgs{
    			SnapshotRepository: pulumi.String("string"),
    			ForceMergeIndex:    pulumi.Bool(false),
    		},
    		SetPriority: &elasticstack.ElasticsearchIndexLifecycleColdSetPriorityArgs{
    			Priority: pulumi.Float64(0),
    		},
    		Unfollow: &elasticstack.ElasticsearchIndexLifecycleColdUnfollowArgs{
    			Enabled: pulumi.Bool(false),
    		},
    	},
    	Delete: &elasticstack.ElasticsearchIndexLifecycleDeleteArgs{
    		Delete: &elasticstack.ElasticsearchIndexLifecycleDeleteDeleteArgs{
    			DeleteSearchableSnapshot: pulumi.Bool(false),
    		},
    		MinAge: pulumi.String("string"),
    		WaitForSnapshot: &elasticstack.ElasticsearchIndexLifecycleDeleteWaitForSnapshotArgs{
    			Policy: pulumi.String("string"),
    		},
    	},
    	Frozen: &elasticstack.ElasticsearchIndexLifecycleFrozenArgs{
    		MinAge: pulumi.String("string"),
    		SearchableSnapshot: &elasticstack.ElasticsearchIndexLifecycleFrozenSearchableSnapshotArgs{
    			SnapshotRepository: pulumi.String("string"),
    			ForceMergeIndex:    pulumi.Bool(false),
    		},
    	},
    	Hot: &elasticstack.ElasticsearchIndexLifecycleHotArgs{
    		Downsample: &elasticstack.ElasticsearchIndexLifecycleHotDownsampleArgs{
    			FixedInterval: pulumi.String("string"),
    			WaitTimeout:   pulumi.String("string"),
    		},
    		Forcemerge: &elasticstack.ElasticsearchIndexLifecycleHotForcemergeArgs{
    			MaxNumSegments: pulumi.Float64(0),
    			IndexCodec:     pulumi.String("string"),
    		},
    		MinAge: pulumi.String("string"),
    		Readonly: &elasticstack.ElasticsearchIndexLifecycleHotReadonlyArgs{
    			Enabled: pulumi.Bool(false),
    		},
    		Rollover: &elasticstack.ElasticsearchIndexLifecycleHotRolloverArgs{
    			MaxAge:              pulumi.String("string"),
    			MaxDocs:             pulumi.Float64(0),
    			MaxPrimaryShardDocs: pulumi.Float64(0),
    			MaxPrimaryShardSize: pulumi.String("string"),
    			MaxSize:             pulumi.String("string"),
    			MinAge:              pulumi.String("string"),
    			MinDocs:             pulumi.Float64(0),
    			MinPrimaryShardDocs: pulumi.Float64(0),
    			MinPrimaryShardSize: pulumi.String("string"),
    			MinSize:             pulumi.String("string"),
    		},
    		SearchableSnapshot: &elasticstack.ElasticsearchIndexLifecycleHotSearchableSnapshotArgs{
    			SnapshotRepository: pulumi.String("string"),
    			ForceMergeIndex:    pulumi.Bool(false),
    		},
    		SetPriority: &elasticstack.ElasticsearchIndexLifecycleHotSetPriorityArgs{
    			Priority: pulumi.Float64(0),
    		},
    		Shrink: &elasticstack.ElasticsearchIndexLifecycleHotShrinkArgs{
    			AllowWriteAfterShrink: pulumi.Bool(false),
    			MaxPrimaryShardSize:   pulumi.String("string"),
    			NumberOfShards:        pulumi.Float64(0),
    		},
    		Unfollow: &elasticstack.ElasticsearchIndexLifecycleHotUnfollowArgs{
    			Enabled: pulumi.Bool(false),
    		},
    	},
    	Metadata: pulumi.String("string"),
    	Name:     pulumi.String("string"),
    	Warm: &elasticstack.ElasticsearchIndexLifecycleWarmArgs{
    		Allocate: &elasticstack.ElasticsearchIndexLifecycleWarmAllocateArgs{
    			Exclude:            pulumi.String("string"),
    			Include:            pulumi.String("string"),
    			NumberOfReplicas:   pulumi.Float64(0),
    			Require:            pulumi.String("string"),
    			TotalShardsPerNode: pulumi.Float64(0),
    		},
    		Downsample: &elasticstack.ElasticsearchIndexLifecycleWarmDownsampleArgs{
    			FixedInterval: pulumi.String("string"),
    			WaitTimeout:   pulumi.String("string"),
    		},
    		Forcemerge: &elasticstack.ElasticsearchIndexLifecycleWarmForcemergeArgs{
    			MaxNumSegments: pulumi.Float64(0),
    			IndexCodec:     pulumi.String("string"),
    		},
    		Migrate: &elasticstack.ElasticsearchIndexLifecycleWarmMigrateArgs{
    			Enabled: pulumi.Bool(false),
    		},
    		MinAge: pulumi.String("string"),
    		Readonly: &elasticstack.ElasticsearchIndexLifecycleWarmReadonlyArgs{
    			Enabled: pulumi.Bool(false),
    		},
    		SetPriority: &elasticstack.ElasticsearchIndexLifecycleWarmSetPriorityArgs{
    			Priority: pulumi.Float64(0),
    		},
    		Shrink: &elasticstack.ElasticsearchIndexLifecycleWarmShrinkArgs{
    			AllowWriteAfterShrink: pulumi.Bool(false),
    			MaxPrimaryShardSize:   pulumi.String("string"),
    			NumberOfShards:        pulumi.Float64(0),
    		},
    		Unfollow: &elasticstack.ElasticsearchIndexLifecycleWarmUnfollowArgs{
    			Enabled: pulumi.Bool(false),
    		},
    	},
    })
    
    var elasticsearchIndexLifecycleResource = new ElasticsearchIndexLifecycle("elasticsearchIndexLifecycleResource", ElasticsearchIndexLifecycleArgs.builder()
        .cold(ElasticsearchIndexLifecycleColdArgs.builder()
            .allocate(ElasticsearchIndexLifecycleColdAllocateArgs.builder()
                .exclude("string")
                .include("string")
                .numberOfReplicas(0)
                .require("string")
                .totalShardsPerNode(0)
                .build())
            .downsample(ElasticsearchIndexLifecycleColdDownsampleArgs.builder()
                .fixedInterval("string")
                .waitTimeout("string")
                .build())
            .freeze(ElasticsearchIndexLifecycleColdFreezeArgs.builder()
                .enabled(false)
                .build())
            .migrate(ElasticsearchIndexLifecycleColdMigrateArgs.builder()
                .enabled(false)
                .build())
            .minAge("string")
            .readonly(ElasticsearchIndexLifecycleColdReadonlyArgs.builder()
                .enabled(false)
                .build())
            .searchableSnapshot(ElasticsearchIndexLifecycleColdSearchableSnapshotArgs.builder()
                .snapshotRepository("string")
                .forceMergeIndex(false)
                .build())
            .setPriority(ElasticsearchIndexLifecycleColdSetPriorityArgs.builder()
                .priority(0)
                .build())
            .unfollow(ElasticsearchIndexLifecycleColdUnfollowArgs.builder()
                .enabled(false)
                .build())
            .build())
        .delete(ElasticsearchIndexLifecycleDeleteArgs.builder()
            .delete(ElasticsearchIndexLifecycleDeleteDeleteArgs.builder()
                .deleteSearchableSnapshot(false)
                .build())
            .minAge("string")
            .waitForSnapshot(ElasticsearchIndexLifecycleDeleteWaitForSnapshotArgs.builder()
                .policy("string")
                .build())
            .build())
        .frozen(ElasticsearchIndexLifecycleFrozenArgs.builder()
            .minAge("string")
            .searchableSnapshot(ElasticsearchIndexLifecycleFrozenSearchableSnapshotArgs.builder()
                .snapshotRepository("string")
                .forceMergeIndex(false)
                .build())
            .build())
        .hot(ElasticsearchIndexLifecycleHotArgs.builder()
            .downsample(ElasticsearchIndexLifecycleHotDownsampleArgs.builder()
                .fixedInterval("string")
                .waitTimeout("string")
                .build())
            .forcemerge(ElasticsearchIndexLifecycleHotForcemergeArgs.builder()
                .maxNumSegments(0)
                .indexCodec("string")
                .build())
            .minAge("string")
            .readonly(ElasticsearchIndexLifecycleHotReadonlyArgs.builder()
                .enabled(false)
                .build())
            .rollover(ElasticsearchIndexLifecycleHotRolloverArgs.builder()
                .maxAge("string")
                .maxDocs(0)
                .maxPrimaryShardDocs(0)
                .maxPrimaryShardSize("string")
                .maxSize("string")
                .minAge("string")
                .minDocs(0)
                .minPrimaryShardDocs(0)
                .minPrimaryShardSize("string")
                .minSize("string")
                .build())
            .searchableSnapshot(ElasticsearchIndexLifecycleHotSearchableSnapshotArgs.builder()
                .snapshotRepository("string")
                .forceMergeIndex(false)
                .build())
            .setPriority(ElasticsearchIndexLifecycleHotSetPriorityArgs.builder()
                .priority(0)
                .build())
            .shrink(ElasticsearchIndexLifecycleHotShrinkArgs.builder()
                .allowWriteAfterShrink(false)
                .maxPrimaryShardSize("string")
                .numberOfShards(0)
                .build())
            .unfollow(ElasticsearchIndexLifecycleHotUnfollowArgs.builder()
                .enabled(false)
                .build())
            .build())
        .metadata("string")
        .name("string")
        .warm(ElasticsearchIndexLifecycleWarmArgs.builder()
            .allocate(ElasticsearchIndexLifecycleWarmAllocateArgs.builder()
                .exclude("string")
                .include("string")
                .numberOfReplicas(0)
                .require("string")
                .totalShardsPerNode(0)
                .build())
            .downsample(ElasticsearchIndexLifecycleWarmDownsampleArgs.builder()
                .fixedInterval("string")
                .waitTimeout("string")
                .build())
            .forcemerge(ElasticsearchIndexLifecycleWarmForcemergeArgs.builder()
                .maxNumSegments(0)
                .indexCodec("string")
                .build())
            .migrate(ElasticsearchIndexLifecycleWarmMigrateArgs.builder()
                .enabled(false)
                .build())
            .minAge("string")
            .readonly(ElasticsearchIndexLifecycleWarmReadonlyArgs.builder()
                .enabled(false)
                .build())
            .setPriority(ElasticsearchIndexLifecycleWarmSetPriorityArgs.builder()
                .priority(0)
                .build())
            .shrink(ElasticsearchIndexLifecycleWarmShrinkArgs.builder()
                .allowWriteAfterShrink(false)
                .maxPrimaryShardSize("string")
                .numberOfShards(0)
                .build())
            .unfollow(ElasticsearchIndexLifecycleWarmUnfollowArgs.builder()
                .enabled(false)
                .build())
            .build())
        .build());
    
    elasticsearch_index_lifecycle_resource = elasticstack.ElasticsearchIndexLifecycle("elasticsearchIndexLifecycleResource",
        cold={
            "allocate": {
                "exclude": "string",
                "include": "string",
                "number_of_replicas": 0,
                "require": "string",
                "total_shards_per_node": 0,
            },
            "downsample": {
                "fixed_interval": "string",
                "wait_timeout": "string",
            },
            "freeze": {
                "enabled": False,
            },
            "migrate": {
                "enabled": False,
            },
            "min_age": "string",
            "readonly": {
                "enabled": False,
            },
            "searchable_snapshot": {
                "snapshot_repository": "string",
                "force_merge_index": False,
            },
            "set_priority": {
                "priority": 0,
            },
            "unfollow": {
                "enabled": False,
            },
        },
        delete={
            "delete": {
                "delete_searchable_snapshot": False,
            },
            "min_age": "string",
            "wait_for_snapshot": {
                "policy": "string",
            },
        },
        frozen={
            "min_age": "string",
            "searchable_snapshot": {
                "snapshot_repository": "string",
                "force_merge_index": False,
            },
        },
        hot={
            "downsample": {
                "fixed_interval": "string",
                "wait_timeout": "string",
            },
            "forcemerge": {
                "max_num_segments": 0,
                "index_codec": "string",
            },
            "min_age": "string",
            "readonly": {
                "enabled": False,
            },
            "rollover": {
                "max_age": "string",
                "max_docs": 0,
                "max_primary_shard_docs": 0,
                "max_primary_shard_size": "string",
                "max_size": "string",
                "min_age": "string",
                "min_docs": 0,
                "min_primary_shard_docs": 0,
                "min_primary_shard_size": "string",
                "min_size": "string",
            },
            "searchable_snapshot": {
                "snapshot_repository": "string",
                "force_merge_index": False,
            },
            "set_priority": {
                "priority": 0,
            },
            "shrink": {
                "allow_write_after_shrink": False,
                "max_primary_shard_size": "string",
                "number_of_shards": 0,
            },
            "unfollow": {
                "enabled": False,
            },
        },
        metadata="string",
        name="string",
        warm={
            "allocate": {
                "exclude": "string",
                "include": "string",
                "number_of_replicas": 0,
                "require": "string",
                "total_shards_per_node": 0,
            },
            "downsample": {
                "fixed_interval": "string",
                "wait_timeout": "string",
            },
            "forcemerge": {
                "max_num_segments": 0,
                "index_codec": "string",
            },
            "migrate": {
                "enabled": False,
            },
            "min_age": "string",
            "readonly": {
                "enabled": False,
            },
            "set_priority": {
                "priority": 0,
            },
            "shrink": {
                "allow_write_after_shrink": False,
                "max_primary_shard_size": "string",
                "number_of_shards": 0,
            },
            "unfollow": {
                "enabled": False,
            },
        })
    
    const elasticsearchIndexLifecycleResource = new elasticstack.ElasticsearchIndexLifecycle("elasticsearchIndexLifecycleResource", {
        cold: {
            allocate: {
                exclude: "string",
                include: "string",
                numberOfReplicas: 0,
                require: "string",
                totalShardsPerNode: 0,
            },
            downsample: {
                fixedInterval: "string",
                waitTimeout: "string",
            },
            freeze: {
                enabled: false,
            },
            migrate: {
                enabled: false,
            },
            minAge: "string",
            readonly: {
                enabled: false,
            },
            searchableSnapshot: {
                snapshotRepository: "string",
                forceMergeIndex: false,
            },
            setPriority: {
                priority: 0,
            },
            unfollow: {
                enabled: false,
            },
        },
        "delete": {
            "delete": {
                deleteSearchableSnapshot: false,
            },
            minAge: "string",
            waitForSnapshot: {
                policy: "string",
            },
        },
        frozen: {
            minAge: "string",
            searchableSnapshot: {
                snapshotRepository: "string",
                forceMergeIndex: false,
            },
        },
        hot: {
            downsample: {
                fixedInterval: "string",
                waitTimeout: "string",
            },
            forcemerge: {
                maxNumSegments: 0,
                indexCodec: "string",
            },
            minAge: "string",
            readonly: {
                enabled: false,
            },
            rollover: {
                maxAge: "string",
                maxDocs: 0,
                maxPrimaryShardDocs: 0,
                maxPrimaryShardSize: "string",
                maxSize: "string",
                minAge: "string",
                minDocs: 0,
                minPrimaryShardDocs: 0,
                minPrimaryShardSize: "string",
                minSize: "string",
            },
            searchableSnapshot: {
                snapshotRepository: "string",
                forceMergeIndex: false,
            },
            setPriority: {
                priority: 0,
            },
            shrink: {
                allowWriteAfterShrink: false,
                maxPrimaryShardSize: "string",
                numberOfShards: 0,
            },
            unfollow: {
                enabled: false,
            },
        },
        metadata: "string",
        name: "string",
        warm: {
            allocate: {
                exclude: "string",
                include: "string",
                numberOfReplicas: 0,
                require: "string",
                totalShardsPerNode: 0,
            },
            downsample: {
                fixedInterval: "string",
                waitTimeout: "string",
            },
            forcemerge: {
                maxNumSegments: 0,
                indexCodec: "string",
            },
            migrate: {
                enabled: false,
            },
            minAge: "string",
            readonly: {
                enabled: false,
            },
            setPriority: {
                priority: 0,
            },
            shrink: {
                allowWriteAfterShrink: false,
                maxPrimaryShardSize: "string",
                numberOfShards: 0,
            },
            unfollow: {
                enabled: false,
            },
        },
    });
    
    type: elasticstack:ElasticsearchIndexLifecycle
    properties:
        cold:
            allocate:
                exclude: string
                include: string
                numberOfReplicas: 0
                require: string
                totalShardsPerNode: 0
            downsample:
                fixedInterval: string
                waitTimeout: string
            freeze:
                enabled: false
            migrate:
                enabled: false
            minAge: string
            readonly:
                enabled: false
            searchableSnapshot:
                forceMergeIndex: false
                snapshotRepository: string
            setPriority:
                priority: 0
            unfollow:
                enabled: false
        delete:
            delete:
                deleteSearchableSnapshot: false
            minAge: string
            waitForSnapshot:
                policy: string
        frozen:
            minAge: string
            searchableSnapshot:
                forceMergeIndex: false
                snapshotRepository: string
        hot:
            downsample:
                fixedInterval: string
                waitTimeout: string
            forcemerge:
                indexCodec: string
                maxNumSegments: 0
            minAge: string
            readonly:
                enabled: false
            rollover:
                maxAge: string
                maxDocs: 0
                maxPrimaryShardDocs: 0
                maxPrimaryShardSize: string
                maxSize: string
                minAge: string
                minDocs: 0
                minPrimaryShardDocs: 0
                minPrimaryShardSize: string
                minSize: string
            searchableSnapshot:
                forceMergeIndex: false
                snapshotRepository: string
            setPriority:
                priority: 0
            shrink:
                allowWriteAfterShrink: false
                maxPrimaryShardSize: string
                numberOfShards: 0
            unfollow:
                enabled: false
        metadata: string
        name: string
        warm:
            allocate:
                exclude: string
                include: string
                numberOfReplicas: 0
                require: string
                totalShardsPerNode: 0
            downsample:
                fixedInterval: string
                waitTimeout: string
            forcemerge:
                indexCodec: string
                maxNumSegments: 0
            migrate:
                enabled: false
            minAge: string
            readonly:
                enabled: false
            setPriority:
                priority: 0
            shrink:
                allowWriteAfterShrink: false
                maxPrimaryShardSize: string
                numberOfShards: 0
            unfollow:
                enabled: false
    

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

    Cold ElasticsearchIndexLifecycleCold
    The index is no longer being updated and is queried infrequently. The information still needs to be searchable, but it’s okay if those queries are slower.
    Delete ElasticsearchIndexLifecycleDelete
    The index is no longer needed and can safely be removed.
    ElasticsearchConnection ElasticsearchIndexLifecycleElasticsearchConnection
    Elasticsearch connection configuration block. This property will be removed in a future provider version. Configure the Elasticsearch connection via the provider configuration instead.

    Deprecated: Deprecated

    Frozen ElasticsearchIndexLifecycleFrozen
    The index is no longer being updated and is queried rarely. The information still needs to be searchable, but it’s okay if those queries are extremely slow.
    Hot ElasticsearchIndexLifecycleHot
    The index is actively being updated and queried.
    Metadata string
    Optional user metadata about the ilm policy. Must be valid JSON document.
    Name string
    Identifier for the policy.
    Warm ElasticsearchIndexLifecycleWarm
    The index is no longer being updated but is still being queried.
    Cold ElasticsearchIndexLifecycleColdArgs
    The index is no longer being updated and is queried infrequently. The information still needs to be searchable, but it’s okay if those queries are slower.
    Delete ElasticsearchIndexLifecycleDeleteArgs
    The index is no longer needed and can safely be removed.
    ElasticsearchConnection ElasticsearchIndexLifecycleElasticsearchConnectionArgs
    Elasticsearch connection configuration block. This property will be removed in a future provider version. Configure the Elasticsearch connection via the provider configuration instead.

    Deprecated: Deprecated

    Frozen ElasticsearchIndexLifecycleFrozenArgs
    The index is no longer being updated and is queried rarely. The information still needs to be searchable, but it’s okay if those queries are extremely slow.
    Hot ElasticsearchIndexLifecycleHotArgs
    The index is actively being updated and queried.
    Metadata string
    Optional user metadata about the ilm policy. Must be valid JSON document.
    Name string
    Identifier for the policy.
    Warm ElasticsearchIndexLifecycleWarmArgs
    The index is no longer being updated but is still being queried.
    cold ElasticsearchIndexLifecycleCold
    The index is no longer being updated and is queried infrequently. The information still needs to be searchable, but it’s okay if those queries are slower.
    delete ElasticsearchIndexLifecycleDelete
    The index is no longer needed and can safely be removed.
    elasticsearchConnection ElasticsearchIndexLifecycleElasticsearchConnection
    Elasticsearch connection configuration block. This property will be removed in a future provider version. Configure the Elasticsearch connection via the provider configuration instead.

    Deprecated: Deprecated

    frozen ElasticsearchIndexLifecycleFrozen
    The index is no longer being updated and is queried rarely. The information still needs to be searchable, but it’s okay if those queries are extremely slow.
    hot ElasticsearchIndexLifecycleHot
    The index is actively being updated and queried.
    metadata String
    Optional user metadata about the ilm policy. Must be valid JSON document.
    name String
    Identifier for the policy.
    warm ElasticsearchIndexLifecycleWarm
    The index is no longer being updated but is still being queried.
    cold ElasticsearchIndexLifecycleCold
    The index is no longer being updated and is queried infrequently. The information still needs to be searchable, but it’s okay if those queries are slower.
    delete ElasticsearchIndexLifecycleDelete
    The index is no longer needed and can safely be removed.
    elasticsearchConnection ElasticsearchIndexLifecycleElasticsearchConnection
    Elasticsearch connection configuration block. This property will be removed in a future provider version. Configure the Elasticsearch connection via the provider configuration instead.

    Deprecated: Deprecated

    frozen ElasticsearchIndexLifecycleFrozen
    The index is no longer being updated and is queried rarely. The information still needs to be searchable, but it’s okay if those queries are extremely slow.
    hot ElasticsearchIndexLifecycleHot
    The index is actively being updated and queried.
    metadata string
    Optional user metadata about the ilm policy. Must be valid JSON document.
    name string
    Identifier for the policy.
    warm ElasticsearchIndexLifecycleWarm
    The index is no longer being updated but is still being queried.
    cold ElasticsearchIndexLifecycleColdArgs
    The index is no longer being updated and is queried infrequently. The information still needs to be searchable, but it’s okay if those queries are slower.
    delete ElasticsearchIndexLifecycleDeleteArgs
    The index is no longer needed and can safely be removed.
    elasticsearch_connection ElasticsearchIndexLifecycleElasticsearchConnectionArgs
    Elasticsearch connection configuration block. This property will be removed in a future provider version. Configure the Elasticsearch connection via the provider configuration instead.

    Deprecated: Deprecated

    frozen ElasticsearchIndexLifecycleFrozenArgs
    The index is no longer being updated and is queried rarely. The information still needs to be searchable, but it’s okay if those queries are extremely slow.
    hot ElasticsearchIndexLifecycleHotArgs
    The index is actively being updated and queried.
    metadata str
    Optional user metadata about the ilm policy. Must be valid JSON document.
    name str
    Identifier for the policy.
    warm ElasticsearchIndexLifecycleWarmArgs
    The index is no longer being updated but is still being queried.
    cold Property Map
    The index is no longer being updated and is queried infrequently. The information still needs to be searchable, but it’s okay if those queries are slower.
    delete Property Map
    The index is no longer needed and can safely be removed.
    elasticsearchConnection Property Map
    Elasticsearch connection configuration block. This property will be removed in a future provider version. Configure the Elasticsearch connection via the provider configuration instead.

    Deprecated: Deprecated

    frozen Property Map
    The index is no longer being updated and is queried rarely. The information still needs to be searchable, but it’s okay if those queries are extremely slow.
    hot Property Map
    The index is actively being updated and queried.
    metadata String
    Optional user metadata about the ilm policy. Must be valid JSON document.
    name String
    Identifier for the policy.
    warm Property Map
    The index is no longer being updated but is still being queried.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    ModifiedDate string
    The DateTime of the last modification.
    Id string
    The provider-assigned unique ID for this managed resource.
    ModifiedDate string
    The DateTime of the last modification.
    id String
    The provider-assigned unique ID for this managed resource.
    modifiedDate String
    The DateTime of the last modification.
    id string
    The provider-assigned unique ID for this managed resource.
    modifiedDate string
    The DateTime of the last modification.
    id str
    The provider-assigned unique ID for this managed resource.
    modified_date str
    The DateTime of the last modification.
    id String
    The provider-assigned unique ID for this managed resource.
    modifiedDate String
    The DateTime of the last modification.

    Look up Existing ElasticsearchIndexLifecycle Resource

    Get an existing ElasticsearchIndexLifecycle 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?: ElasticsearchIndexLifecycleState, opts?: CustomResourceOptions): ElasticsearchIndexLifecycle
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cold: Optional[ElasticsearchIndexLifecycleColdArgs] = None,
            delete: Optional[ElasticsearchIndexLifecycleDeleteArgs] = None,
            elasticsearch_connection: Optional[ElasticsearchIndexLifecycleElasticsearchConnectionArgs] = None,
            frozen: Optional[ElasticsearchIndexLifecycleFrozenArgs] = None,
            hot: Optional[ElasticsearchIndexLifecycleHotArgs] = None,
            metadata: Optional[str] = None,
            modified_date: Optional[str] = None,
            name: Optional[str] = None,
            warm: Optional[ElasticsearchIndexLifecycleWarmArgs] = None) -> ElasticsearchIndexLifecycle
    func GetElasticsearchIndexLifecycle(ctx *Context, name string, id IDInput, state *ElasticsearchIndexLifecycleState, opts ...ResourceOption) (*ElasticsearchIndexLifecycle, error)
    public static ElasticsearchIndexLifecycle Get(string name, Input<string> id, ElasticsearchIndexLifecycleState? state, CustomResourceOptions? opts = null)
    public static ElasticsearchIndexLifecycle get(String name, Output<String> id, ElasticsearchIndexLifecycleState state, CustomResourceOptions options)
    resources:  _:    type: elasticstack:ElasticsearchIndexLifecycle    get:      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:
    Cold ElasticsearchIndexLifecycleCold
    The index is no longer being updated and is queried infrequently. The information still needs to be searchable, but it’s okay if those queries are slower.
    Delete ElasticsearchIndexLifecycleDelete
    The index is no longer needed and can safely be removed.
    ElasticsearchConnection ElasticsearchIndexLifecycleElasticsearchConnection
    Elasticsearch connection configuration block. This property will be removed in a future provider version. Configure the Elasticsearch connection via the provider configuration instead.

    Deprecated: Deprecated

    Frozen ElasticsearchIndexLifecycleFrozen
    The index is no longer being updated and is queried rarely. The information still needs to be searchable, but it’s okay if those queries are extremely slow.
    Hot ElasticsearchIndexLifecycleHot
    The index is actively being updated and queried.
    Metadata string
    Optional user metadata about the ilm policy. Must be valid JSON document.
    ModifiedDate string
    The DateTime of the last modification.
    Name string
    Identifier for the policy.
    Warm ElasticsearchIndexLifecycleWarm
    The index is no longer being updated but is still being queried.
    Cold ElasticsearchIndexLifecycleColdArgs
    The index is no longer being updated and is queried infrequently. The information still needs to be searchable, but it’s okay if those queries are slower.
    Delete ElasticsearchIndexLifecycleDeleteArgs
    The index is no longer needed and can safely be removed.
    ElasticsearchConnection ElasticsearchIndexLifecycleElasticsearchConnectionArgs
    Elasticsearch connection configuration block. This property will be removed in a future provider version. Configure the Elasticsearch connection via the provider configuration instead.

    Deprecated: Deprecated

    Frozen ElasticsearchIndexLifecycleFrozenArgs
    The index is no longer being updated and is queried rarely. The information still needs to be searchable, but it’s okay if those queries are extremely slow.
    Hot ElasticsearchIndexLifecycleHotArgs
    The index is actively being updated and queried.
    Metadata string
    Optional user metadata about the ilm policy. Must be valid JSON document.
    ModifiedDate string
    The DateTime of the last modification.
    Name string
    Identifier for the policy.
    Warm ElasticsearchIndexLifecycleWarmArgs
    The index is no longer being updated but is still being queried.
    cold ElasticsearchIndexLifecycleCold
    The index is no longer being updated and is queried infrequently. The information still needs to be searchable, but it’s okay if those queries are slower.
    delete ElasticsearchIndexLifecycleDelete
    The index is no longer needed and can safely be removed.
    elasticsearchConnection ElasticsearchIndexLifecycleElasticsearchConnection
    Elasticsearch connection configuration block. This property will be removed in a future provider version. Configure the Elasticsearch connection via the provider configuration instead.

    Deprecated: Deprecated

    frozen ElasticsearchIndexLifecycleFrozen
    The index is no longer being updated and is queried rarely. The information still needs to be searchable, but it’s okay if those queries are extremely slow.
    hot ElasticsearchIndexLifecycleHot
    The index is actively being updated and queried.
    metadata String
    Optional user metadata about the ilm policy. Must be valid JSON document.
    modifiedDate String
    The DateTime of the last modification.
    name String
    Identifier for the policy.
    warm ElasticsearchIndexLifecycleWarm
    The index is no longer being updated but is still being queried.
    cold ElasticsearchIndexLifecycleCold
    The index is no longer being updated and is queried infrequently. The information still needs to be searchable, but it’s okay if those queries are slower.
    delete ElasticsearchIndexLifecycleDelete
    The index is no longer needed and can safely be removed.
    elasticsearchConnection ElasticsearchIndexLifecycleElasticsearchConnection
    Elasticsearch connection configuration block. This property will be removed in a future provider version. Configure the Elasticsearch connection via the provider configuration instead.

    Deprecated: Deprecated

    frozen ElasticsearchIndexLifecycleFrozen
    The index is no longer being updated and is queried rarely. The information still needs to be searchable, but it’s okay if those queries are extremely slow.
    hot ElasticsearchIndexLifecycleHot
    The index is actively being updated and queried.
    metadata string
    Optional user metadata about the ilm policy. Must be valid JSON document.
    modifiedDate string
    The DateTime of the last modification.
    name string
    Identifier for the policy.
    warm ElasticsearchIndexLifecycleWarm
    The index is no longer being updated but is still being queried.
    cold ElasticsearchIndexLifecycleColdArgs
    The index is no longer being updated and is queried infrequently. The information still needs to be searchable, but it’s okay if those queries are slower.
    delete ElasticsearchIndexLifecycleDeleteArgs
    The index is no longer needed and can safely be removed.
    elasticsearch_connection ElasticsearchIndexLifecycleElasticsearchConnectionArgs
    Elasticsearch connection configuration block. This property will be removed in a future provider version. Configure the Elasticsearch connection via the provider configuration instead.

    Deprecated: Deprecated

    frozen ElasticsearchIndexLifecycleFrozenArgs
    The index is no longer being updated and is queried rarely. The information still needs to be searchable, but it’s okay if those queries are extremely slow.
    hot ElasticsearchIndexLifecycleHotArgs
    The index is actively being updated and queried.
    metadata str
    Optional user metadata about the ilm policy. Must be valid JSON document.
    modified_date str
    The DateTime of the last modification.
    name str
    Identifier for the policy.
    warm ElasticsearchIndexLifecycleWarmArgs
    The index is no longer being updated but is still being queried.
    cold Property Map
    The index is no longer being updated and is queried infrequently. The information still needs to be searchable, but it’s okay if those queries are slower.
    delete Property Map
    The index is no longer needed and can safely be removed.
    elasticsearchConnection Property Map
    Elasticsearch connection configuration block. This property will be removed in a future provider version. Configure the Elasticsearch connection via the provider configuration instead.

    Deprecated: Deprecated

    frozen Property Map
    The index is no longer being updated and is queried rarely. The information still needs to be searchable, but it’s okay if those queries are extremely slow.
    hot Property Map
    The index is actively being updated and queried.
    metadata String
    Optional user metadata about the ilm policy. Must be valid JSON document.
    modifiedDate String
    The DateTime of the last modification.
    name String
    Identifier for the policy.
    warm Property Map
    The index is no longer being updated but is still being queried.

    Supporting Types

    ElasticsearchIndexLifecycleCold, ElasticsearchIndexLifecycleColdArgs

    Allocate ElasticsearchIndexLifecycleColdAllocate
    Updates the index settings to change which nodes are allowed to host the index shards and change the number of replicas.
    Downsample ElasticsearchIndexLifecycleColdDownsample
    Roll up documents within a fixed interval to a single summary document. Reduces the index footprint by storing time series data at reduced granularity.
    Freeze ElasticsearchIndexLifecycleColdFreeze
    Freeze the index to minimize its memory footprint.
    Migrate ElasticsearchIndexLifecycleColdMigrate
    Moves the index to the data tier that corresponds to the current phase by updating the "index.routing.allocation.include.tierpreference" index setting.
    MinAge string
    ILM moves indices through the lifecycle according to their age. To control the timing of these transitions, you set a minimum age for each phase.
    Readonly ElasticsearchIndexLifecycleColdReadonly
    Makes the index read-only.
    SearchableSnapshot ElasticsearchIndexLifecycleColdSearchableSnapshot
    Takes a snapshot of the managed index in the configured repository and mounts it as a searchable snapshot.
    SetPriority ElasticsearchIndexLifecycleColdSetPriority
    Sets the priority of the index as soon as the policy enters the hot, warm, or cold phase. Higher priority indices are recovered before indices with lower priorities following a node restart. Default priority is 1.
    Unfollow ElasticsearchIndexLifecycleColdUnfollow
    Convert a follower index to a regular index. Performed automatically before a rollover, shrink, or searchable snapshot action.
    Allocate ElasticsearchIndexLifecycleColdAllocate
    Updates the index settings to change which nodes are allowed to host the index shards and change the number of replicas.
    Downsample ElasticsearchIndexLifecycleColdDownsample
    Roll up documents within a fixed interval to a single summary document. Reduces the index footprint by storing time series data at reduced granularity.
    Freeze ElasticsearchIndexLifecycleColdFreeze
    Freeze the index to minimize its memory footprint.
    Migrate ElasticsearchIndexLifecycleColdMigrate
    Moves the index to the data tier that corresponds to the current phase by updating the "index.routing.allocation.include.tierpreference" index setting.
    MinAge string
    ILM moves indices through the lifecycle according to their age. To control the timing of these transitions, you set a minimum age for each phase.
    Readonly ElasticsearchIndexLifecycleColdReadonly
    Makes the index read-only.
    SearchableSnapshot ElasticsearchIndexLifecycleColdSearchableSnapshot
    Takes a snapshot of the managed index in the configured repository and mounts it as a searchable snapshot.
    SetPriority ElasticsearchIndexLifecycleColdSetPriority
    Sets the priority of the index as soon as the policy enters the hot, warm, or cold phase. Higher priority indices are recovered before indices with lower priorities following a node restart. Default priority is 1.
    Unfollow ElasticsearchIndexLifecycleColdUnfollow
    Convert a follower index to a regular index. Performed automatically before a rollover, shrink, or searchable snapshot action.
    allocate ElasticsearchIndexLifecycleColdAllocate
    Updates the index settings to change which nodes are allowed to host the index shards and change the number of replicas.
    downsample ElasticsearchIndexLifecycleColdDownsample
    Roll up documents within a fixed interval to a single summary document. Reduces the index footprint by storing time series data at reduced granularity.
    freeze ElasticsearchIndexLifecycleColdFreeze
    Freeze the index to minimize its memory footprint.
    migrate ElasticsearchIndexLifecycleColdMigrate
    Moves the index to the data tier that corresponds to the current phase by updating the "index.routing.allocation.include.tierpreference" index setting.
    minAge String
    ILM moves indices through the lifecycle according to their age. To control the timing of these transitions, you set a minimum age for each phase.
    readonly ElasticsearchIndexLifecycleColdReadonly
    Makes the index read-only.
    searchableSnapshot ElasticsearchIndexLifecycleColdSearchableSnapshot
    Takes a snapshot of the managed index in the configured repository and mounts it as a searchable snapshot.
    setPriority ElasticsearchIndexLifecycleColdSetPriority
    Sets the priority of the index as soon as the policy enters the hot, warm, or cold phase. Higher priority indices are recovered before indices with lower priorities following a node restart. Default priority is 1.
    unfollow ElasticsearchIndexLifecycleColdUnfollow
    Convert a follower index to a regular index. Performed automatically before a rollover, shrink, or searchable snapshot action.
    allocate ElasticsearchIndexLifecycleColdAllocate
    Updates the index settings to change which nodes are allowed to host the index shards and change the number of replicas.
    downsample ElasticsearchIndexLifecycleColdDownsample
    Roll up documents within a fixed interval to a single summary document. Reduces the index footprint by storing time series data at reduced granularity.
    freeze ElasticsearchIndexLifecycleColdFreeze
    Freeze the index to minimize its memory footprint.
    migrate ElasticsearchIndexLifecycleColdMigrate
    Moves the index to the data tier that corresponds to the current phase by updating the "index.routing.allocation.include.tierpreference" index setting.
    minAge string
    ILM moves indices through the lifecycle according to their age. To control the timing of these transitions, you set a minimum age for each phase.
    readonly ElasticsearchIndexLifecycleColdReadonly
    Makes the index read-only.
    searchableSnapshot ElasticsearchIndexLifecycleColdSearchableSnapshot
    Takes a snapshot of the managed index in the configured repository and mounts it as a searchable snapshot.
    setPriority ElasticsearchIndexLifecycleColdSetPriority
    Sets the priority of the index as soon as the policy enters the hot, warm, or cold phase. Higher priority indices are recovered before indices with lower priorities following a node restart. Default priority is 1.
    unfollow ElasticsearchIndexLifecycleColdUnfollow
    Convert a follower index to a regular index. Performed automatically before a rollover, shrink, or searchable snapshot action.
    allocate ElasticsearchIndexLifecycleColdAllocate
    Updates the index settings to change which nodes are allowed to host the index shards and change the number of replicas.
    downsample ElasticsearchIndexLifecycleColdDownsample
    Roll up documents within a fixed interval to a single summary document. Reduces the index footprint by storing time series data at reduced granularity.
    freeze ElasticsearchIndexLifecycleColdFreeze
    Freeze the index to minimize its memory footprint.
    migrate ElasticsearchIndexLifecycleColdMigrate
    Moves the index to the data tier that corresponds to the current phase by updating the "index.routing.allocation.include.tierpreference" index setting.
    min_age str
    ILM moves indices through the lifecycle according to their age. To control the timing of these transitions, you set a minimum age for each phase.
    readonly ElasticsearchIndexLifecycleColdReadonly
    Makes the index read-only.
    searchable_snapshot ElasticsearchIndexLifecycleColdSearchableSnapshot
    Takes a snapshot of the managed index in the configured repository and mounts it as a searchable snapshot.
    set_priority ElasticsearchIndexLifecycleColdSetPriority
    Sets the priority of the index as soon as the policy enters the hot, warm, or cold phase. Higher priority indices are recovered before indices with lower priorities following a node restart. Default priority is 1.
    unfollow ElasticsearchIndexLifecycleColdUnfollow
    Convert a follower index to a regular index. Performed automatically before a rollover, shrink, or searchable snapshot action.
    allocate Property Map
    Updates the index settings to change which nodes are allowed to host the index shards and change the number of replicas.
    downsample Property Map
    Roll up documents within a fixed interval to a single summary document. Reduces the index footprint by storing time series data at reduced granularity.
    freeze Property Map
    Freeze the index to minimize its memory footprint.
    migrate Property Map
    Moves the index to the data tier that corresponds to the current phase by updating the "index.routing.allocation.include.tierpreference" index setting.
    minAge String
    ILM moves indices through the lifecycle according to their age. To control the timing of these transitions, you set a minimum age for each phase.
    readonly Property Map
    Makes the index read-only.
    searchableSnapshot Property Map
    Takes a snapshot of the managed index in the configured repository and mounts it as a searchable snapshot.
    setPriority Property Map
    Sets the priority of the index as soon as the policy enters the hot, warm, or cold phase. Higher priority indices are recovered before indices with lower priorities following a node restart. Default priority is 1.
    unfollow Property Map
    Convert a follower index to a regular index. Performed automatically before a rollover, shrink, or searchable snapshot action.

    ElasticsearchIndexLifecycleColdAllocate, ElasticsearchIndexLifecycleColdAllocateArgs

    Exclude string
    Assigns an index to nodes that have none of the specified custom attributes. Must be valid JSON document.
    Include string
    Assigns an index to nodes that have at least one of the specified custom attributes. Must be valid JSON document.
    NumberOfReplicas double
    Number of replicas to assign to the index. Default: 0
    Require string
    Assigns an index to nodes that have all of the specified custom attributes. Must be valid JSON document.
    TotalShardsPerNode double
    The maximum number of shards for the index on a single Elasticsearch node. Defaults to -1 (unlimited). Supported from Elasticsearch version 7.16
    Exclude string
    Assigns an index to nodes that have none of the specified custom attributes. Must be valid JSON document.
    Include string
    Assigns an index to nodes that have at least one of the specified custom attributes. Must be valid JSON document.
    NumberOfReplicas float64
    Number of replicas to assign to the index. Default: 0
    Require string
    Assigns an index to nodes that have all of the specified custom attributes. Must be valid JSON document.
    TotalShardsPerNode float64
    The maximum number of shards for the index on a single Elasticsearch node. Defaults to -1 (unlimited). Supported from Elasticsearch version 7.16
    exclude String
    Assigns an index to nodes that have none of the specified custom attributes. Must be valid JSON document.
    include String
    Assigns an index to nodes that have at least one of the specified custom attributes. Must be valid JSON document.
    numberOfReplicas Double
    Number of replicas to assign to the index. Default: 0
    require String
    Assigns an index to nodes that have all of the specified custom attributes. Must be valid JSON document.
    totalShardsPerNode Double
    The maximum number of shards for the index on a single Elasticsearch node. Defaults to -1 (unlimited). Supported from Elasticsearch version 7.16
    exclude string
    Assigns an index to nodes that have none of the specified custom attributes. Must be valid JSON document.
    include string
    Assigns an index to nodes that have at least one of the specified custom attributes. Must be valid JSON document.
    numberOfReplicas number
    Number of replicas to assign to the index. Default: 0
    require string
    Assigns an index to nodes that have all of the specified custom attributes. Must be valid JSON document.
    totalShardsPerNode number
    The maximum number of shards for the index on a single Elasticsearch node. Defaults to -1 (unlimited). Supported from Elasticsearch version 7.16
    exclude str
    Assigns an index to nodes that have none of the specified custom attributes. Must be valid JSON document.
    include str
    Assigns an index to nodes that have at least one of the specified custom attributes. Must be valid JSON document.
    number_of_replicas float
    Number of replicas to assign to the index. Default: 0
    require str
    Assigns an index to nodes that have all of the specified custom attributes. Must be valid JSON document.
    total_shards_per_node float
    The maximum number of shards for the index on a single Elasticsearch node. Defaults to -1 (unlimited). Supported from Elasticsearch version 7.16
    exclude String
    Assigns an index to nodes that have none of the specified custom attributes. Must be valid JSON document.
    include String
    Assigns an index to nodes that have at least one of the specified custom attributes. Must be valid JSON document.
    numberOfReplicas Number
    Number of replicas to assign to the index. Default: 0
    require String
    Assigns an index to nodes that have all of the specified custom attributes. Must be valid JSON document.
    totalShardsPerNode Number
    The maximum number of shards for the index on a single Elasticsearch node. Defaults to -1 (unlimited). Supported from Elasticsearch version 7.16

    ElasticsearchIndexLifecycleColdDownsample, ElasticsearchIndexLifecycleColdDownsampleArgs

    FixedInterval string
    Downsampling interval
    WaitTimeout string
    Downsampling interval
    FixedInterval string
    Downsampling interval
    WaitTimeout string
    Downsampling interval
    fixedInterval String
    Downsampling interval
    waitTimeout String
    Downsampling interval
    fixedInterval string
    Downsampling interval
    waitTimeout string
    Downsampling interval
    fixed_interval str
    Downsampling interval
    wait_timeout str
    Downsampling interval
    fixedInterval String
    Downsampling interval
    waitTimeout String
    Downsampling interval

    ElasticsearchIndexLifecycleColdFreeze, ElasticsearchIndexLifecycleColdFreezeArgs

    Enabled bool
    Controls whether ILM freezes the index.
    Enabled bool
    Controls whether ILM freezes the index.
    enabled Boolean
    Controls whether ILM freezes the index.
    enabled boolean
    Controls whether ILM freezes the index.
    enabled bool
    Controls whether ILM freezes the index.
    enabled Boolean
    Controls whether ILM freezes the index.

    ElasticsearchIndexLifecycleColdMigrate, ElasticsearchIndexLifecycleColdMigrateArgs

    Enabled bool
    Controls whether ILM automatically migrates the index during this phase.
    Enabled bool
    Controls whether ILM automatically migrates the index during this phase.
    enabled Boolean
    Controls whether ILM automatically migrates the index during this phase.
    enabled boolean
    Controls whether ILM automatically migrates the index during this phase.
    enabled bool
    Controls whether ILM automatically migrates the index during this phase.
    enabled Boolean
    Controls whether ILM automatically migrates the index during this phase.

    ElasticsearchIndexLifecycleColdReadonly, ElasticsearchIndexLifecycleColdReadonlyArgs

    Enabled bool
    Controls whether ILM makes the index read-only.
    Enabled bool
    Controls whether ILM makes the index read-only.
    enabled Boolean
    Controls whether ILM makes the index read-only.
    enabled boolean
    Controls whether ILM makes the index read-only.
    enabled bool
    Controls whether ILM makes the index read-only.
    enabled Boolean
    Controls whether ILM makes the index read-only.

    ElasticsearchIndexLifecycleColdSearchableSnapshot, ElasticsearchIndexLifecycleColdSearchableSnapshotArgs

    SnapshotRepository string
    Repository used to store the snapshot.
    ForceMergeIndex bool
    Force merges the managed index to one segment.
    SnapshotRepository string
    Repository used to store the snapshot.
    ForceMergeIndex bool
    Force merges the managed index to one segment.
    snapshotRepository String
    Repository used to store the snapshot.
    forceMergeIndex Boolean
    Force merges the managed index to one segment.
    snapshotRepository string
    Repository used to store the snapshot.
    forceMergeIndex boolean
    Force merges the managed index to one segment.
    snapshot_repository str
    Repository used to store the snapshot.
    force_merge_index bool
    Force merges the managed index to one segment.
    snapshotRepository String
    Repository used to store the snapshot.
    forceMergeIndex Boolean
    Force merges the managed index to one segment.

    ElasticsearchIndexLifecycleColdSetPriority, ElasticsearchIndexLifecycleColdSetPriorityArgs

    Priority double
    The priority for the index. Must be 0 or greater.
    Priority float64
    The priority for the index. Must be 0 or greater.
    priority Double
    The priority for the index. Must be 0 or greater.
    priority number
    The priority for the index. Must be 0 or greater.
    priority float
    The priority for the index. Must be 0 or greater.
    priority Number
    The priority for the index. Must be 0 or greater.

    ElasticsearchIndexLifecycleColdUnfollow, ElasticsearchIndexLifecycleColdUnfollowArgs

    Enabled bool
    Controls whether ILM makes the follower index a regular one.
    Enabled bool
    Controls whether ILM makes the follower index a regular one.
    enabled Boolean
    Controls whether ILM makes the follower index a regular one.
    enabled boolean
    Controls whether ILM makes the follower index a regular one.
    enabled bool
    Controls whether ILM makes the follower index a regular one.
    enabled Boolean
    Controls whether ILM makes the follower index a regular one.

    ElasticsearchIndexLifecycleDelete, ElasticsearchIndexLifecycleDeleteArgs

    Delete ElasticsearchIndexLifecycleDeleteDelete
    Permanently removes the index.
    MinAge string
    ILM moves indices through the lifecycle according to their age. To control the timing of these transitions, you set a minimum age for each phase.
    WaitForSnapshot ElasticsearchIndexLifecycleDeleteWaitForSnapshot
    Waits for the specified SLM policy to be executed before removing the index. This ensures that a snapshot of the deleted index is available.
    Delete ElasticsearchIndexLifecycleDeleteDelete
    Permanently removes the index.
    MinAge string
    ILM moves indices through the lifecycle according to their age. To control the timing of these transitions, you set a minimum age for each phase.
    WaitForSnapshot ElasticsearchIndexLifecycleDeleteWaitForSnapshot
    Waits for the specified SLM policy to be executed before removing the index. This ensures that a snapshot of the deleted index is available.
    delete ElasticsearchIndexLifecycleDeleteDelete
    Permanently removes the index.
    minAge String
    ILM moves indices through the lifecycle according to their age. To control the timing of these transitions, you set a minimum age for each phase.
    waitForSnapshot ElasticsearchIndexLifecycleDeleteWaitForSnapshot
    Waits for the specified SLM policy to be executed before removing the index. This ensures that a snapshot of the deleted index is available.
    delete ElasticsearchIndexLifecycleDeleteDelete
    Permanently removes the index.
    minAge string
    ILM moves indices through the lifecycle according to their age. To control the timing of these transitions, you set a minimum age for each phase.
    waitForSnapshot ElasticsearchIndexLifecycleDeleteWaitForSnapshot
    Waits for the specified SLM policy to be executed before removing the index. This ensures that a snapshot of the deleted index is available.
    delete ElasticsearchIndexLifecycleDeleteDelete
    Permanently removes the index.
    min_age str
    ILM moves indices through the lifecycle according to their age. To control the timing of these transitions, you set a minimum age for each phase.
    wait_for_snapshot ElasticsearchIndexLifecycleDeleteWaitForSnapshot
    Waits for the specified SLM policy to be executed before removing the index. This ensures that a snapshot of the deleted index is available.
    delete Property Map
    Permanently removes the index.
    minAge String
    ILM moves indices through the lifecycle according to their age. To control the timing of these transitions, you set a minimum age for each phase.
    waitForSnapshot Property Map
    Waits for the specified SLM policy to be executed before removing the index. This ensures that a snapshot of the deleted index is available.

    ElasticsearchIndexLifecycleDeleteDelete, ElasticsearchIndexLifecycleDeleteDeleteArgs

    DeleteSearchableSnapshot bool
    Deletes the searchable snapshot created in a previous phase.
    DeleteSearchableSnapshot bool
    Deletes the searchable snapshot created in a previous phase.
    deleteSearchableSnapshot Boolean
    Deletes the searchable snapshot created in a previous phase.
    deleteSearchableSnapshot boolean
    Deletes the searchable snapshot created in a previous phase.
    delete_searchable_snapshot bool
    Deletes the searchable snapshot created in a previous phase.
    deleteSearchableSnapshot Boolean
    Deletes the searchable snapshot created in a previous phase.

    ElasticsearchIndexLifecycleDeleteWaitForSnapshot, ElasticsearchIndexLifecycleDeleteWaitForSnapshotArgs

    Policy string
    Name of the SLM policy that the delete action should wait for.
    Policy string
    Name of the SLM policy that the delete action should wait for.
    policy String
    Name of the SLM policy that the delete action should wait for.
    policy string
    Name of the SLM policy that the delete action should wait for.
    policy str
    Name of the SLM policy that the delete action should wait for.
    policy String
    Name of the SLM policy that the delete action should wait for.

    ElasticsearchIndexLifecycleElasticsearchConnection, ElasticsearchIndexLifecycleElasticsearchConnectionArgs

    ApiKey string
    API Key to use for authentication to Elasticsearch
    BearerToken string
    Bearer Token to use for authentication to Elasticsearch
    CaData string
    PEM-encoded custom Certificate Authority certificate
    CaFile string
    Path to a custom Certificate Authority certificate
    CertData string
    PEM encoded certificate for client auth
    CertFile string
    Path to a file containing the PEM encoded certificate for client auth
    Endpoints List<string>
    EsClientAuthentication string
    ES Client Authentication field to be used with the JWT token
    Insecure bool
    Disable TLS certificate validation
    KeyData string
    PEM encoded private key for client auth
    KeyFile string
    Path to a file containing the PEM encoded private key for client auth
    Password string
    Password to use for API authentication to Elasticsearch.
    Username string
    Username to use for API authentication to Elasticsearch.
    ApiKey string
    API Key to use for authentication to Elasticsearch
    BearerToken string
    Bearer Token to use for authentication to Elasticsearch
    CaData string
    PEM-encoded custom Certificate Authority certificate
    CaFile string
    Path to a custom Certificate Authority certificate
    CertData string
    PEM encoded certificate for client auth
    CertFile string
    Path to a file containing the PEM encoded certificate for client auth
    Endpoints []string
    EsClientAuthentication string
    ES Client Authentication field to be used with the JWT token
    Insecure bool
    Disable TLS certificate validation
    KeyData string
    PEM encoded private key for client auth
    KeyFile string
    Path to a file containing the PEM encoded private key for client auth
    Password string
    Password to use for API authentication to Elasticsearch.
    Username string
    Username to use for API authentication to Elasticsearch.
    apiKey String
    API Key to use for authentication to Elasticsearch
    bearerToken String
    Bearer Token to use for authentication to Elasticsearch
    caData String
    PEM-encoded custom Certificate Authority certificate
    caFile String
    Path to a custom Certificate Authority certificate
    certData String
    PEM encoded certificate for client auth
    certFile String
    Path to a file containing the PEM encoded certificate for client auth
    endpoints List<String>
    esClientAuthentication String
    ES Client Authentication field to be used with the JWT token
    insecure Boolean
    Disable TLS certificate validation
    keyData String
    PEM encoded private key for client auth
    keyFile String
    Path to a file containing the PEM encoded private key for client auth
    password String
    Password to use for API authentication to Elasticsearch.
    username String
    Username to use for API authentication to Elasticsearch.
    apiKey string
    API Key to use for authentication to Elasticsearch
    bearerToken string
    Bearer Token to use for authentication to Elasticsearch
    caData string
    PEM-encoded custom Certificate Authority certificate
    caFile string
    Path to a custom Certificate Authority certificate
    certData string
    PEM encoded certificate for client auth
    certFile string
    Path to a file containing the PEM encoded certificate for client auth
    endpoints string[]
    esClientAuthentication string
    ES Client Authentication field to be used with the JWT token
    insecure boolean
    Disable TLS certificate validation
    keyData string
    PEM encoded private key for client auth
    keyFile string
    Path to a file containing the PEM encoded private key for client auth
    password string
    Password to use for API authentication to Elasticsearch.
    username string
    Username to use for API authentication to Elasticsearch.
    api_key str
    API Key to use for authentication to Elasticsearch
    bearer_token str
    Bearer Token to use for authentication to Elasticsearch
    ca_data str
    PEM-encoded custom Certificate Authority certificate
    ca_file str
    Path to a custom Certificate Authority certificate
    cert_data str
    PEM encoded certificate for client auth
    cert_file str
    Path to a file containing the PEM encoded certificate for client auth
    endpoints Sequence[str]
    es_client_authentication str
    ES Client Authentication field to be used with the JWT token
    insecure bool
    Disable TLS certificate validation
    key_data str
    PEM encoded private key for client auth
    key_file str
    Path to a file containing the PEM encoded private key for client auth
    password str
    Password to use for API authentication to Elasticsearch.
    username str
    Username to use for API authentication to Elasticsearch.
    apiKey String
    API Key to use for authentication to Elasticsearch
    bearerToken String
    Bearer Token to use for authentication to Elasticsearch
    caData String
    PEM-encoded custom Certificate Authority certificate
    caFile String
    Path to a custom Certificate Authority certificate
    certData String
    PEM encoded certificate for client auth
    certFile String
    Path to a file containing the PEM encoded certificate for client auth
    endpoints List<String>
    esClientAuthentication String
    ES Client Authentication field to be used with the JWT token
    insecure Boolean
    Disable TLS certificate validation
    keyData String
    PEM encoded private key for client auth
    keyFile String
    Path to a file containing the PEM encoded private key for client auth
    password String
    Password to use for API authentication to Elasticsearch.
    username String
    Username to use for API authentication to Elasticsearch.

    ElasticsearchIndexLifecycleFrozen, ElasticsearchIndexLifecycleFrozenArgs

    MinAge string
    ILM moves indices through the lifecycle according to their age. To control the timing of these transitions, you set a minimum age for each phase.
    SearchableSnapshot ElasticsearchIndexLifecycleFrozenSearchableSnapshot
    Takes a snapshot of the managed index in the configured repository and mounts it as a searchable snapshot.
    MinAge string
    ILM moves indices through the lifecycle according to their age. To control the timing of these transitions, you set a minimum age for each phase.
    SearchableSnapshot ElasticsearchIndexLifecycleFrozenSearchableSnapshot
    Takes a snapshot of the managed index in the configured repository and mounts it as a searchable snapshot.
    minAge String
    ILM moves indices through the lifecycle according to their age. To control the timing of these transitions, you set a minimum age for each phase.
    searchableSnapshot ElasticsearchIndexLifecycleFrozenSearchableSnapshot
    Takes a snapshot of the managed index in the configured repository and mounts it as a searchable snapshot.
    minAge string
    ILM moves indices through the lifecycle according to their age. To control the timing of these transitions, you set a minimum age for each phase.
    searchableSnapshot ElasticsearchIndexLifecycleFrozenSearchableSnapshot
    Takes a snapshot of the managed index in the configured repository and mounts it as a searchable snapshot.
    min_age str
    ILM moves indices through the lifecycle according to their age. To control the timing of these transitions, you set a minimum age for each phase.
    searchable_snapshot ElasticsearchIndexLifecycleFrozenSearchableSnapshot
    Takes a snapshot of the managed index in the configured repository and mounts it as a searchable snapshot.
    minAge String
    ILM moves indices through the lifecycle according to their age. To control the timing of these transitions, you set a minimum age for each phase.
    searchableSnapshot Property Map
    Takes a snapshot of the managed index in the configured repository and mounts it as a searchable snapshot.

    ElasticsearchIndexLifecycleFrozenSearchableSnapshot, ElasticsearchIndexLifecycleFrozenSearchableSnapshotArgs

    SnapshotRepository string
    Repository used to store the snapshot.
    ForceMergeIndex bool
    Force merges the managed index to one segment.
    SnapshotRepository string
    Repository used to store the snapshot.
    ForceMergeIndex bool
    Force merges the managed index to one segment.
    snapshotRepository String
    Repository used to store the snapshot.
    forceMergeIndex Boolean
    Force merges the managed index to one segment.
    snapshotRepository string
    Repository used to store the snapshot.
    forceMergeIndex boolean
    Force merges the managed index to one segment.
    snapshot_repository str
    Repository used to store the snapshot.
    force_merge_index bool
    Force merges the managed index to one segment.
    snapshotRepository String
    Repository used to store the snapshot.
    forceMergeIndex Boolean
    Force merges the managed index to one segment.

    ElasticsearchIndexLifecycleHot, ElasticsearchIndexLifecycleHotArgs

    Downsample ElasticsearchIndexLifecycleHotDownsample
    Roll up documents within a fixed interval to a single summary document. Reduces the index footprint by storing time series data at reduced granularity.
    Forcemerge ElasticsearchIndexLifecycleHotForcemerge
    Force merges the index into the specified maximum number of segments. This action makes the index read-only.
    MinAge string
    ILM moves indices through the lifecycle according to their age. To control the timing of these transitions, you set a minimum age for each phase.
    Readonly ElasticsearchIndexLifecycleHotReadonly
    Makes the index read-only.
    Rollover ElasticsearchIndexLifecycleHotRollover
    Rolls over a target to a new index when the existing index meets one or more of the rollover conditions.
    SearchableSnapshot ElasticsearchIndexLifecycleHotSearchableSnapshot
    Takes a snapshot of the managed index in the configured repository and mounts it as a searchable snapshot.
    SetPriority ElasticsearchIndexLifecycleHotSetPriority
    Sets the priority of the index as soon as the policy enters the hot, warm, or cold phase. Higher priority indices are recovered before indices with lower priorities following a node restart. Default priority is 1.
    Shrink ElasticsearchIndexLifecycleHotShrink
    Sets a source index to read-only and shrinks it into a new index with fewer primary shards.
    Unfollow ElasticsearchIndexLifecycleHotUnfollow
    Convert a follower index to a regular index. Performed automatically before a rollover, shrink, or searchable snapshot action.
    Downsample ElasticsearchIndexLifecycleHotDownsample
    Roll up documents within a fixed interval to a single summary document. Reduces the index footprint by storing time series data at reduced granularity.
    Forcemerge ElasticsearchIndexLifecycleHotForcemerge
    Force merges the index into the specified maximum number of segments. This action makes the index read-only.
    MinAge string
    ILM moves indices through the lifecycle according to their age. To control the timing of these transitions, you set a minimum age for each phase.
    Readonly ElasticsearchIndexLifecycleHotReadonly
    Makes the index read-only.
    Rollover ElasticsearchIndexLifecycleHotRollover
    Rolls over a target to a new index when the existing index meets one or more of the rollover conditions.
    SearchableSnapshot ElasticsearchIndexLifecycleHotSearchableSnapshot
    Takes a snapshot of the managed index in the configured repository and mounts it as a searchable snapshot.
    SetPriority ElasticsearchIndexLifecycleHotSetPriority
    Sets the priority of the index as soon as the policy enters the hot, warm, or cold phase. Higher priority indices are recovered before indices with lower priorities following a node restart. Default priority is 1.
    Shrink ElasticsearchIndexLifecycleHotShrink
    Sets a source index to read-only and shrinks it into a new index with fewer primary shards.
    Unfollow ElasticsearchIndexLifecycleHotUnfollow
    Convert a follower index to a regular index. Performed automatically before a rollover, shrink, or searchable snapshot action.
    downsample ElasticsearchIndexLifecycleHotDownsample
    Roll up documents within a fixed interval to a single summary document. Reduces the index footprint by storing time series data at reduced granularity.
    forcemerge ElasticsearchIndexLifecycleHotForcemerge
    Force merges the index into the specified maximum number of segments. This action makes the index read-only.
    minAge String
    ILM moves indices through the lifecycle according to their age. To control the timing of these transitions, you set a minimum age for each phase.
    readonly ElasticsearchIndexLifecycleHotReadonly
    Makes the index read-only.
    rollover ElasticsearchIndexLifecycleHotRollover
    Rolls over a target to a new index when the existing index meets one or more of the rollover conditions.
    searchableSnapshot ElasticsearchIndexLifecycleHotSearchableSnapshot
    Takes a snapshot of the managed index in the configured repository and mounts it as a searchable snapshot.
    setPriority ElasticsearchIndexLifecycleHotSetPriority
    Sets the priority of the index as soon as the policy enters the hot, warm, or cold phase. Higher priority indices are recovered before indices with lower priorities following a node restart. Default priority is 1.
    shrink ElasticsearchIndexLifecycleHotShrink
    Sets a source index to read-only and shrinks it into a new index with fewer primary shards.
    unfollow ElasticsearchIndexLifecycleHotUnfollow
    Convert a follower index to a regular index. Performed automatically before a rollover, shrink, or searchable snapshot action.
    downsample ElasticsearchIndexLifecycleHotDownsample
    Roll up documents within a fixed interval to a single summary document. Reduces the index footprint by storing time series data at reduced granularity.
    forcemerge ElasticsearchIndexLifecycleHotForcemerge
    Force merges the index into the specified maximum number of segments. This action makes the index read-only.
    minAge string
    ILM moves indices through the lifecycle according to their age. To control the timing of these transitions, you set a minimum age for each phase.
    readonly ElasticsearchIndexLifecycleHotReadonly
    Makes the index read-only.
    rollover ElasticsearchIndexLifecycleHotRollover
    Rolls over a target to a new index when the existing index meets one or more of the rollover conditions.
    searchableSnapshot ElasticsearchIndexLifecycleHotSearchableSnapshot
    Takes a snapshot of the managed index in the configured repository and mounts it as a searchable snapshot.
    setPriority ElasticsearchIndexLifecycleHotSetPriority
    Sets the priority of the index as soon as the policy enters the hot, warm, or cold phase. Higher priority indices are recovered before indices with lower priorities following a node restart. Default priority is 1.
    shrink ElasticsearchIndexLifecycleHotShrink
    Sets a source index to read-only and shrinks it into a new index with fewer primary shards.
    unfollow ElasticsearchIndexLifecycleHotUnfollow
    Convert a follower index to a regular index. Performed automatically before a rollover, shrink, or searchable snapshot action.
    downsample ElasticsearchIndexLifecycleHotDownsample
    Roll up documents within a fixed interval to a single summary document. Reduces the index footprint by storing time series data at reduced granularity.
    forcemerge ElasticsearchIndexLifecycleHotForcemerge
    Force merges the index into the specified maximum number of segments. This action makes the index read-only.
    min_age str
    ILM moves indices through the lifecycle according to their age. To control the timing of these transitions, you set a minimum age for each phase.
    readonly ElasticsearchIndexLifecycleHotReadonly
    Makes the index read-only.
    rollover ElasticsearchIndexLifecycleHotRollover
    Rolls over a target to a new index when the existing index meets one or more of the rollover conditions.
    searchable_snapshot ElasticsearchIndexLifecycleHotSearchableSnapshot
    Takes a snapshot of the managed index in the configured repository and mounts it as a searchable snapshot.
    set_priority ElasticsearchIndexLifecycleHotSetPriority
    Sets the priority of the index as soon as the policy enters the hot, warm, or cold phase. Higher priority indices are recovered before indices with lower priorities following a node restart. Default priority is 1.
    shrink ElasticsearchIndexLifecycleHotShrink
    Sets a source index to read-only and shrinks it into a new index with fewer primary shards.
    unfollow ElasticsearchIndexLifecycleHotUnfollow
    Convert a follower index to a regular index. Performed automatically before a rollover, shrink, or searchable snapshot action.
    downsample Property Map
    Roll up documents within a fixed interval to a single summary document. Reduces the index footprint by storing time series data at reduced granularity.
    forcemerge Property Map
    Force merges the index into the specified maximum number of segments. This action makes the index read-only.
    minAge String
    ILM moves indices through the lifecycle according to their age. To control the timing of these transitions, you set a minimum age for each phase.
    readonly Property Map
    Makes the index read-only.
    rollover Property Map
    Rolls over a target to a new index when the existing index meets one or more of the rollover conditions.
    searchableSnapshot Property Map
    Takes a snapshot of the managed index in the configured repository and mounts it as a searchable snapshot.
    setPriority Property Map
    Sets the priority of the index as soon as the policy enters the hot, warm, or cold phase. Higher priority indices are recovered before indices with lower priorities following a node restart. Default priority is 1.
    shrink Property Map
    Sets a source index to read-only and shrinks it into a new index with fewer primary shards.
    unfollow Property Map
    Convert a follower index to a regular index. Performed automatically before a rollover, shrink, or searchable snapshot action.

    ElasticsearchIndexLifecycleHotDownsample, ElasticsearchIndexLifecycleHotDownsampleArgs

    FixedInterval string
    Downsampling interval
    WaitTimeout string
    Downsampling interval
    FixedInterval string
    Downsampling interval
    WaitTimeout string
    Downsampling interval
    fixedInterval String
    Downsampling interval
    waitTimeout String
    Downsampling interval
    fixedInterval string
    Downsampling interval
    waitTimeout string
    Downsampling interval
    fixed_interval str
    Downsampling interval
    wait_timeout str
    Downsampling interval
    fixedInterval String
    Downsampling interval
    waitTimeout String
    Downsampling interval

    ElasticsearchIndexLifecycleHotForcemerge, ElasticsearchIndexLifecycleHotForcemergeArgs

    MaxNumSegments double
    Number of segments to merge to. To fully merge the index, set to 1.
    IndexCodec string
    Codec used to compress the document store.
    MaxNumSegments float64
    Number of segments to merge to. To fully merge the index, set to 1.
    IndexCodec string
    Codec used to compress the document store.
    maxNumSegments Double
    Number of segments to merge to. To fully merge the index, set to 1.
    indexCodec String
    Codec used to compress the document store.
    maxNumSegments number
    Number of segments to merge to. To fully merge the index, set to 1.
    indexCodec string
    Codec used to compress the document store.
    max_num_segments float
    Number of segments to merge to. To fully merge the index, set to 1.
    index_codec str
    Codec used to compress the document store.
    maxNumSegments Number
    Number of segments to merge to. To fully merge the index, set to 1.
    indexCodec String
    Codec used to compress the document store.

    ElasticsearchIndexLifecycleHotReadonly, ElasticsearchIndexLifecycleHotReadonlyArgs

    Enabled bool
    Controls whether ILM makes the index read-only.
    Enabled bool
    Controls whether ILM makes the index read-only.
    enabled Boolean
    Controls whether ILM makes the index read-only.
    enabled boolean
    Controls whether ILM makes the index read-only.
    enabled bool
    Controls whether ILM makes the index read-only.
    enabled Boolean
    Controls whether ILM makes the index read-only.

    ElasticsearchIndexLifecycleHotRollover, ElasticsearchIndexLifecycleHotRolloverArgs

    MaxAge string
    Triggers rollover after the maximum elapsed time from index creation is reached.
    MaxDocs double
    Triggers rollover after the specified maximum number of documents is reached.
    MaxPrimaryShardDocs double
    Triggers rollover when the largest primary shard in the index reaches a certain number of documents. Supported from Elasticsearch version 8.2
    MaxPrimaryShardSize string
    Triggers rollover when the largest primary shard in the index reaches a certain size.
    MaxSize string
    Triggers rollover when the index reaches a certain size.
    MinAge string
    Prevents rollover until after the minimum elapsed time from index creation is reached. Supported from Elasticsearch version 8.4
    MinDocs double
    Prevents rollover until after the specified minimum number of documents is reached. Supported from Elasticsearch version 8.4
    MinPrimaryShardDocs double
    Prevents rollover until the largest primary shard in the index reaches a certain number of documents. Supported from Elasticsearch version 8.4
    MinPrimaryShardSize string
    Prevents rollover until the largest primary shard in the index reaches a certain size. Supported from Elasticsearch version 8.4
    MinSize string
    Prevents rollover until the index reaches a certain size.
    MaxAge string
    Triggers rollover after the maximum elapsed time from index creation is reached.
    MaxDocs float64
    Triggers rollover after the specified maximum number of documents is reached.
    MaxPrimaryShardDocs float64
    Triggers rollover when the largest primary shard in the index reaches a certain number of documents. Supported from Elasticsearch version 8.2
    MaxPrimaryShardSize string
    Triggers rollover when the largest primary shard in the index reaches a certain size.
    MaxSize string
    Triggers rollover when the index reaches a certain size.
    MinAge string
    Prevents rollover until after the minimum elapsed time from index creation is reached. Supported from Elasticsearch version 8.4
    MinDocs float64
    Prevents rollover until after the specified minimum number of documents is reached. Supported from Elasticsearch version 8.4
    MinPrimaryShardDocs float64
    Prevents rollover until the largest primary shard in the index reaches a certain number of documents. Supported from Elasticsearch version 8.4
    MinPrimaryShardSize string
    Prevents rollover until the largest primary shard in the index reaches a certain size. Supported from Elasticsearch version 8.4
    MinSize string
    Prevents rollover until the index reaches a certain size.
    maxAge String
    Triggers rollover after the maximum elapsed time from index creation is reached.
    maxDocs Double
    Triggers rollover after the specified maximum number of documents is reached.
    maxPrimaryShardDocs Double
    Triggers rollover when the largest primary shard in the index reaches a certain number of documents. Supported from Elasticsearch version 8.2
    maxPrimaryShardSize String
    Triggers rollover when the largest primary shard in the index reaches a certain size.
    maxSize String
    Triggers rollover when the index reaches a certain size.
    minAge String
    Prevents rollover until after the minimum elapsed time from index creation is reached. Supported from Elasticsearch version 8.4
    minDocs Double
    Prevents rollover until after the specified minimum number of documents is reached. Supported from Elasticsearch version 8.4
    minPrimaryShardDocs Double
    Prevents rollover until the largest primary shard in the index reaches a certain number of documents. Supported from Elasticsearch version 8.4
    minPrimaryShardSize String
    Prevents rollover until the largest primary shard in the index reaches a certain size. Supported from Elasticsearch version 8.4
    minSize String
    Prevents rollover until the index reaches a certain size.
    maxAge string
    Triggers rollover after the maximum elapsed time from index creation is reached.
    maxDocs number
    Triggers rollover after the specified maximum number of documents is reached.
    maxPrimaryShardDocs number
    Triggers rollover when the largest primary shard in the index reaches a certain number of documents. Supported from Elasticsearch version 8.2
    maxPrimaryShardSize string
    Triggers rollover when the largest primary shard in the index reaches a certain size.
    maxSize string
    Triggers rollover when the index reaches a certain size.
    minAge string
    Prevents rollover until after the minimum elapsed time from index creation is reached. Supported from Elasticsearch version 8.4
    minDocs number
    Prevents rollover until after the specified minimum number of documents is reached. Supported from Elasticsearch version 8.4
    minPrimaryShardDocs number
    Prevents rollover until the largest primary shard in the index reaches a certain number of documents. Supported from Elasticsearch version 8.4
    minPrimaryShardSize string
    Prevents rollover until the largest primary shard in the index reaches a certain size. Supported from Elasticsearch version 8.4
    minSize string
    Prevents rollover until the index reaches a certain size.
    max_age str
    Triggers rollover after the maximum elapsed time from index creation is reached.
    max_docs float
    Triggers rollover after the specified maximum number of documents is reached.
    max_primary_shard_docs float
    Triggers rollover when the largest primary shard in the index reaches a certain number of documents. Supported from Elasticsearch version 8.2
    max_primary_shard_size str
    Triggers rollover when the largest primary shard in the index reaches a certain size.
    max_size str
    Triggers rollover when the index reaches a certain size.
    min_age str
    Prevents rollover until after the minimum elapsed time from index creation is reached. Supported from Elasticsearch version 8.4
    min_docs float
    Prevents rollover until after the specified minimum number of documents is reached. Supported from Elasticsearch version 8.4
    min_primary_shard_docs float
    Prevents rollover until the largest primary shard in the index reaches a certain number of documents. Supported from Elasticsearch version 8.4
    min_primary_shard_size str
    Prevents rollover until the largest primary shard in the index reaches a certain size. Supported from Elasticsearch version 8.4
    min_size str
    Prevents rollover until the index reaches a certain size.
    maxAge String
    Triggers rollover after the maximum elapsed time from index creation is reached.
    maxDocs Number
    Triggers rollover after the specified maximum number of documents is reached.
    maxPrimaryShardDocs Number
    Triggers rollover when the largest primary shard in the index reaches a certain number of documents. Supported from Elasticsearch version 8.2
    maxPrimaryShardSize String
    Triggers rollover when the largest primary shard in the index reaches a certain size.
    maxSize String
    Triggers rollover when the index reaches a certain size.
    minAge String
    Prevents rollover until after the minimum elapsed time from index creation is reached. Supported from Elasticsearch version 8.4
    minDocs Number
    Prevents rollover until after the specified minimum number of documents is reached. Supported from Elasticsearch version 8.4
    minPrimaryShardDocs Number
    Prevents rollover until the largest primary shard in the index reaches a certain number of documents. Supported from Elasticsearch version 8.4
    minPrimaryShardSize String
    Prevents rollover until the largest primary shard in the index reaches a certain size. Supported from Elasticsearch version 8.4
    minSize String
    Prevents rollover until the index reaches a certain size.

    ElasticsearchIndexLifecycleHotSearchableSnapshot, ElasticsearchIndexLifecycleHotSearchableSnapshotArgs

    SnapshotRepository string
    Repository used to store the snapshot.
    ForceMergeIndex bool
    Force merges the managed index to one segment.
    SnapshotRepository string
    Repository used to store the snapshot.
    ForceMergeIndex bool
    Force merges the managed index to one segment.
    snapshotRepository String
    Repository used to store the snapshot.
    forceMergeIndex Boolean
    Force merges the managed index to one segment.
    snapshotRepository string
    Repository used to store the snapshot.
    forceMergeIndex boolean
    Force merges the managed index to one segment.
    snapshot_repository str
    Repository used to store the snapshot.
    force_merge_index bool
    Force merges the managed index to one segment.
    snapshotRepository String
    Repository used to store the snapshot.
    forceMergeIndex Boolean
    Force merges the managed index to one segment.

    ElasticsearchIndexLifecycleHotSetPriority, ElasticsearchIndexLifecycleHotSetPriorityArgs

    Priority double
    The priority for the index. Must be 0 or greater.
    Priority float64
    The priority for the index. Must be 0 or greater.
    priority Double
    The priority for the index. Must be 0 or greater.
    priority number
    The priority for the index. Must be 0 or greater.
    priority float
    The priority for the index. Must be 0 or greater.
    priority Number
    The priority for the index. Must be 0 or greater.

    ElasticsearchIndexLifecycleHotShrink, ElasticsearchIndexLifecycleHotShrinkArgs

    AllowWriteAfterShrink bool
    If true, the shrunken index is made writable by removing the write block.
    MaxPrimaryShardSize string
    The max primary shard size for the target index.
    NumberOfShards double
    Number of shards to shrink to.
    AllowWriteAfterShrink bool
    If true, the shrunken index is made writable by removing the write block.
    MaxPrimaryShardSize string
    The max primary shard size for the target index.
    NumberOfShards float64
    Number of shards to shrink to.
    allowWriteAfterShrink Boolean
    If true, the shrunken index is made writable by removing the write block.
    maxPrimaryShardSize String
    The max primary shard size for the target index.
    numberOfShards Double
    Number of shards to shrink to.
    allowWriteAfterShrink boolean
    If true, the shrunken index is made writable by removing the write block.
    maxPrimaryShardSize string
    The max primary shard size for the target index.
    numberOfShards number
    Number of shards to shrink to.
    allow_write_after_shrink bool
    If true, the shrunken index is made writable by removing the write block.
    max_primary_shard_size str
    The max primary shard size for the target index.
    number_of_shards float
    Number of shards to shrink to.
    allowWriteAfterShrink Boolean
    If true, the shrunken index is made writable by removing the write block.
    maxPrimaryShardSize String
    The max primary shard size for the target index.
    numberOfShards Number
    Number of shards to shrink to.

    ElasticsearchIndexLifecycleHotUnfollow, ElasticsearchIndexLifecycleHotUnfollowArgs

    Enabled bool
    Controls whether ILM makes the follower index a regular one.
    Enabled bool
    Controls whether ILM makes the follower index a regular one.
    enabled Boolean
    Controls whether ILM makes the follower index a regular one.
    enabled boolean
    Controls whether ILM makes the follower index a regular one.
    enabled bool
    Controls whether ILM makes the follower index a regular one.
    enabled Boolean
    Controls whether ILM makes the follower index a regular one.

    ElasticsearchIndexLifecycleWarm, ElasticsearchIndexLifecycleWarmArgs

    Allocate ElasticsearchIndexLifecycleWarmAllocate
    Updates the index settings to change which nodes are allowed to host the index shards and change the number of replicas.
    Downsample ElasticsearchIndexLifecycleWarmDownsample
    Roll up documents within a fixed interval to a single summary document. Reduces the index footprint by storing time series data at reduced granularity.
    Forcemerge ElasticsearchIndexLifecycleWarmForcemerge
    Force merges the index into the specified maximum number of segments. This action makes the index read-only.
    Migrate ElasticsearchIndexLifecycleWarmMigrate
    Moves the index to the data tier that corresponds to the current phase by updating the "index.routing.allocation.include.tierpreference" index setting.
    MinAge string
    ILM moves indices through the lifecycle according to their age. To control the timing of these transitions, you set a minimum age for each phase.
    Readonly ElasticsearchIndexLifecycleWarmReadonly
    Makes the index read-only.
    SetPriority ElasticsearchIndexLifecycleWarmSetPriority
    Sets the priority of the index as soon as the policy enters the hot, warm, or cold phase. Higher priority indices are recovered before indices with lower priorities following a node restart. Default priority is 1.
    Shrink ElasticsearchIndexLifecycleWarmShrink
    Sets a source index to read-only and shrinks it into a new index with fewer primary shards.
    Unfollow ElasticsearchIndexLifecycleWarmUnfollow
    Convert a follower index to a regular index. Performed automatically before a rollover, shrink, or searchable snapshot action.
    Allocate ElasticsearchIndexLifecycleWarmAllocate
    Updates the index settings to change which nodes are allowed to host the index shards and change the number of replicas.
    Downsample ElasticsearchIndexLifecycleWarmDownsample
    Roll up documents within a fixed interval to a single summary document. Reduces the index footprint by storing time series data at reduced granularity.
    Forcemerge ElasticsearchIndexLifecycleWarmForcemerge
    Force merges the index into the specified maximum number of segments. This action makes the index read-only.
    Migrate ElasticsearchIndexLifecycleWarmMigrate
    Moves the index to the data tier that corresponds to the current phase by updating the "index.routing.allocation.include.tierpreference" index setting.
    MinAge string
    ILM moves indices through the lifecycle according to their age. To control the timing of these transitions, you set a minimum age for each phase.
    Readonly ElasticsearchIndexLifecycleWarmReadonly
    Makes the index read-only.
    SetPriority ElasticsearchIndexLifecycleWarmSetPriority
    Sets the priority of the index as soon as the policy enters the hot, warm, or cold phase. Higher priority indices are recovered before indices with lower priorities following a node restart. Default priority is 1.
    Shrink ElasticsearchIndexLifecycleWarmShrink
    Sets a source index to read-only and shrinks it into a new index with fewer primary shards.
    Unfollow ElasticsearchIndexLifecycleWarmUnfollow
    Convert a follower index to a regular index. Performed automatically before a rollover, shrink, or searchable snapshot action.
    allocate ElasticsearchIndexLifecycleWarmAllocate
    Updates the index settings to change which nodes are allowed to host the index shards and change the number of replicas.
    downsample ElasticsearchIndexLifecycleWarmDownsample
    Roll up documents within a fixed interval to a single summary document. Reduces the index footprint by storing time series data at reduced granularity.
    forcemerge ElasticsearchIndexLifecycleWarmForcemerge
    Force merges the index into the specified maximum number of segments. This action makes the index read-only.
    migrate ElasticsearchIndexLifecycleWarmMigrate
    Moves the index to the data tier that corresponds to the current phase by updating the "index.routing.allocation.include.tierpreference" index setting.
    minAge String
    ILM moves indices through the lifecycle according to their age. To control the timing of these transitions, you set a minimum age for each phase.
    readonly ElasticsearchIndexLifecycleWarmReadonly
    Makes the index read-only.
    setPriority ElasticsearchIndexLifecycleWarmSetPriority
    Sets the priority of the index as soon as the policy enters the hot, warm, or cold phase. Higher priority indices are recovered before indices with lower priorities following a node restart. Default priority is 1.
    shrink ElasticsearchIndexLifecycleWarmShrink
    Sets a source index to read-only and shrinks it into a new index with fewer primary shards.
    unfollow ElasticsearchIndexLifecycleWarmUnfollow
    Convert a follower index to a regular index. Performed automatically before a rollover, shrink, or searchable snapshot action.
    allocate ElasticsearchIndexLifecycleWarmAllocate
    Updates the index settings to change which nodes are allowed to host the index shards and change the number of replicas.
    downsample ElasticsearchIndexLifecycleWarmDownsample
    Roll up documents within a fixed interval to a single summary document. Reduces the index footprint by storing time series data at reduced granularity.
    forcemerge ElasticsearchIndexLifecycleWarmForcemerge
    Force merges the index into the specified maximum number of segments. This action makes the index read-only.
    migrate ElasticsearchIndexLifecycleWarmMigrate
    Moves the index to the data tier that corresponds to the current phase by updating the "index.routing.allocation.include.tierpreference" index setting.
    minAge string
    ILM moves indices through the lifecycle according to their age. To control the timing of these transitions, you set a minimum age for each phase.
    readonly ElasticsearchIndexLifecycleWarmReadonly
    Makes the index read-only.
    setPriority ElasticsearchIndexLifecycleWarmSetPriority
    Sets the priority of the index as soon as the policy enters the hot, warm, or cold phase. Higher priority indices are recovered before indices with lower priorities following a node restart. Default priority is 1.
    shrink ElasticsearchIndexLifecycleWarmShrink
    Sets a source index to read-only and shrinks it into a new index with fewer primary shards.
    unfollow ElasticsearchIndexLifecycleWarmUnfollow
    Convert a follower index to a regular index. Performed automatically before a rollover, shrink, or searchable snapshot action.
    allocate ElasticsearchIndexLifecycleWarmAllocate
    Updates the index settings to change which nodes are allowed to host the index shards and change the number of replicas.
    downsample ElasticsearchIndexLifecycleWarmDownsample
    Roll up documents within a fixed interval to a single summary document. Reduces the index footprint by storing time series data at reduced granularity.
    forcemerge ElasticsearchIndexLifecycleWarmForcemerge
    Force merges the index into the specified maximum number of segments. This action makes the index read-only.
    migrate ElasticsearchIndexLifecycleWarmMigrate
    Moves the index to the data tier that corresponds to the current phase by updating the "index.routing.allocation.include.tierpreference" index setting.
    min_age str
    ILM moves indices through the lifecycle according to their age. To control the timing of these transitions, you set a minimum age for each phase.
    readonly ElasticsearchIndexLifecycleWarmReadonly
    Makes the index read-only.
    set_priority ElasticsearchIndexLifecycleWarmSetPriority
    Sets the priority of the index as soon as the policy enters the hot, warm, or cold phase. Higher priority indices are recovered before indices with lower priorities following a node restart. Default priority is 1.
    shrink ElasticsearchIndexLifecycleWarmShrink
    Sets a source index to read-only and shrinks it into a new index with fewer primary shards.
    unfollow ElasticsearchIndexLifecycleWarmUnfollow
    Convert a follower index to a regular index. Performed automatically before a rollover, shrink, or searchable snapshot action.
    allocate Property Map
    Updates the index settings to change which nodes are allowed to host the index shards and change the number of replicas.
    downsample Property Map
    Roll up documents within a fixed interval to a single summary document. Reduces the index footprint by storing time series data at reduced granularity.
    forcemerge Property Map
    Force merges the index into the specified maximum number of segments. This action makes the index read-only.
    migrate Property Map
    Moves the index to the data tier that corresponds to the current phase by updating the "index.routing.allocation.include.tierpreference" index setting.
    minAge String
    ILM moves indices through the lifecycle according to their age. To control the timing of these transitions, you set a minimum age for each phase.
    readonly Property Map
    Makes the index read-only.
    setPriority Property Map
    Sets the priority of the index as soon as the policy enters the hot, warm, or cold phase. Higher priority indices are recovered before indices with lower priorities following a node restart. Default priority is 1.
    shrink Property Map
    Sets a source index to read-only and shrinks it into a new index with fewer primary shards.
    unfollow Property Map
    Convert a follower index to a regular index. Performed automatically before a rollover, shrink, or searchable snapshot action.

    ElasticsearchIndexLifecycleWarmAllocate, ElasticsearchIndexLifecycleWarmAllocateArgs

    Exclude string
    Assigns an index to nodes that have none of the specified custom attributes. Must be valid JSON document.
    Include string
    Assigns an index to nodes that have at least one of the specified custom attributes. Must be valid JSON document.
    NumberOfReplicas double
    Number of replicas to assign to the index. Default: 0
    Require string
    Assigns an index to nodes that have all of the specified custom attributes. Must be valid JSON document.
    TotalShardsPerNode double
    The maximum number of shards for the index on a single Elasticsearch node. Defaults to -1 (unlimited). Supported from Elasticsearch version 7.16
    Exclude string
    Assigns an index to nodes that have none of the specified custom attributes. Must be valid JSON document.
    Include string
    Assigns an index to nodes that have at least one of the specified custom attributes. Must be valid JSON document.
    NumberOfReplicas float64
    Number of replicas to assign to the index. Default: 0
    Require string
    Assigns an index to nodes that have all of the specified custom attributes. Must be valid JSON document.
    TotalShardsPerNode float64
    The maximum number of shards for the index on a single Elasticsearch node. Defaults to -1 (unlimited). Supported from Elasticsearch version 7.16
    exclude String
    Assigns an index to nodes that have none of the specified custom attributes. Must be valid JSON document.
    include String
    Assigns an index to nodes that have at least one of the specified custom attributes. Must be valid JSON document.
    numberOfReplicas Double
    Number of replicas to assign to the index. Default: 0
    require String
    Assigns an index to nodes that have all of the specified custom attributes. Must be valid JSON document.
    totalShardsPerNode Double
    The maximum number of shards for the index on a single Elasticsearch node. Defaults to -1 (unlimited). Supported from Elasticsearch version 7.16
    exclude string
    Assigns an index to nodes that have none of the specified custom attributes. Must be valid JSON document.
    include string
    Assigns an index to nodes that have at least one of the specified custom attributes. Must be valid JSON document.
    numberOfReplicas number
    Number of replicas to assign to the index. Default: 0
    require string
    Assigns an index to nodes that have all of the specified custom attributes. Must be valid JSON document.
    totalShardsPerNode number
    The maximum number of shards for the index on a single Elasticsearch node. Defaults to -1 (unlimited). Supported from Elasticsearch version 7.16
    exclude str
    Assigns an index to nodes that have none of the specified custom attributes. Must be valid JSON document.
    include str
    Assigns an index to nodes that have at least one of the specified custom attributes. Must be valid JSON document.
    number_of_replicas float
    Number of replicas to assign to the index. Default: 0
    require str
    Assigns an index to nodes that have all of the specified custom attributes. Must be valid JSON document.
    total_shards_per_node float
    The maximum number of shards for the index on a single Elasticsearch node. Defaults to -1 (unlimited). Supported from Elasticsearch version 7.16
    exclude String
    Assigns an index to nodes that have none of the specified custom attributes. Must be valid JSON document.
    include String
    Assigns an index to nodes that have at least one of the specified custom attributes. Must be valid JSON document.
    numberOfReplicas Number
    Number of replicas to assign to the index. Default: 0
    require String
    Assigns an index to nodes that have all of the specified custom attributes. Must be valid JSON document.
    totalShardsPerNode Number
    The maximum number of shards for the index on a single Elasticsearch node. Defaults to -1 (unlimited). Supported from Elasticsearch version 7.16

    ElasticsearchIndexLifecycleWarmDownsample, ElasticsearchIndexLifecycleWarmDownsampleArgs

    FixedInterval string
    Downsampling interval
    WaitTimeout string
    Downsampling interval
    FixedInterval string
    Downsampling interval
    WaitTimeout string
    Downsampling interval
    fixedInterval String
    Downsampling interval
    waitTimeout String
    Downsampling interval
    fixedInterval string
    Downsampling interval
    waitTimeout string
    Downsampling interval
    fixed_interval str
    Downsampling interval
    wait_timeout str
    Downsampling interval
    fixedInterval String
    Downsampling interval
    waitTimeout String
    Downsampling interval

    ElasticsearchIndexLifecycleWarmForcemerge, ElasticsearchIndexLifecycleWarmForcemergeArgs

    MaxNumSegments double
    Number of segments to merge to. To fully merge the index, set to 1.
    IndexCodec string
    Codec used to compress the document store.
    MaxNumSegments float64
    Number of segments to merge to. To fully merge the index, set to 1.
    IndexCodec string
    Codec used to compress the document store.
    maxNumSegments Double
    Number of segments to merge to. To fully merge the index, set to 1.
    indexCodec String
    Codec used to compress the document store.
    maxNumSegments number
    Number of segments to merge to. To fully merge the index, set to 1.
    indexCodec string
    Codec used to compress the document store.
    max_num_segments float
    Number of segments to merge to. To fully merge the index, set to 1.
    index_codec str
    Codec used to compress the document store.
    maxNumSegments Number
    Number of segments to merge to. To fully merge the index, set to 1.
    indexCodec String
    Codec used to compress the document store.

    ElasticsearchIndexLifecycleWarmMigrate, ElasticsearchIndexLifecycleWarmMigrateArgs

    Enabled bool
    Controls whether ILM automatically migrates the index during this phase.
    Enabled bool
    Controls whether ILM automatically migrates the index during this phase.
    enabled Boolean
    Controls whether ILM automatically migrates the index during this phase.
    enabled boolean
    Controls whether ILM automatically migrates the index during this phase.
    enabled bool
    Controls whether ILM automatically migrates the index during this phase.
    enabled Boolean
    Controls whether ILM automatically migrates the index during this phase.

    ElasticsearchIndexLifecycleWarmReadonly, ElasticsearchIndexLifecycleWarmReadonlyArgs

    Enabled bool
    Controls whether ILM makes the index read-only.
    Enabled bool
    Controls whether ILM makes the index read-only.
    enabled Boolean
    Controls whether ILM makes the index read-only.
    enabled boolean
    Controls whether ILM makes the index read-only.
    enabled bool
    Controls whether ILM makes the index read-only.
    enabled Boolean
    Controls whether ILM makes the index read-only.

    ElasticsearchIndexLifecycleWarmSetPriority, ElasticsearchIndexLifecycleWarmSetPriorityArgs

    Priority double
    The priority for the index. Must be 0 or greater.
    Priority float64
    The priority for the index. Must be 0 or greater.
    priority Double
    The priority for the index. Must be 0 or greater.
    priority number
    The priority for the index. Must be 0 or greater.
    priority float
    The priority for the index. Must be 0 or greater.
    priority Number
    The priority for the index. Must be 0 or greater.

    ElasticsearchIndexLifecycleWarmShrink, ElasticsearchIndexLifecycleWarmShrinkArgs

    AllowWriteAfterShrink bool
    If true, the shrunken index is made writable by removing the write block.
    MaxPrimaryShardSize string
    The max primary shard size for the target index.
    NumberOfShards double
    Number of shards to shrink to.
    AllowWriteAfterShrink bool
    If true, the shrunken index is made writable by removing the write block.
    MaxPrimaryShardSize string
    The max primary shard size for the target index.
    NumberOfShards float64
    Number of shards to shrink to.
    allowWriteAfterShrink Boolean
    If true, the shrunken index is made writable by removing the write block.
    maxPrimaryShardSize String
    The max primary shard size for the target index.
    numberOfShards Double
    Number of shards to shrink to.
    allowWriteAfterShrink boolean
    If true, the shrunken index is made writable by removing the write block.
    maxPrimaryShardSize string
    The max primary shard size for the target index.
    numberOfShards number
    Number of shards to shrink to.
    allow_write_after_shrink bool
    If true, the shrunken index is made writable by removing the write block.
    max_primary_shard_size str
    The max primary shard size for the target index.
    number_of_shards float
    Number of shards to shrink to.
    allowWriteAfterShrink Boolean
    If true, the shrunken index is made writable by removing the write block.
    maxPrimaryShardSize String
    The max primary shard size for the target index.
    numberOfShards Number
    Number of shards to shrink to.

    ElasticsearchIndexLifecycleWarmUnfollow, ElasticsearchIndexLifecycleWarmUnfollowArgs

    Enabled bool
    Controls whether ILM makes the follower index a regular one.
    Enabled bool
    Controls whether ILM makes the follower index a regular one.
    enabled Boolean
    Controls whether ILM makes the follower index a regular one.
    enabled boolean
    Controls whether ILM makes the follower index a regular one.
    enabled bool
    Controls whether ILM makes the follower index a regular one.
    enabled Boolean
    Controls whether ILM makes the follower index a regular one.

    Import

    $ pulumi import elasticstack:index/elasticsearchIndexLifecycle:ElasticsearchIndexLifecycle my_ilm <cluster_uuid>/<ilm_name>
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    elasticstack elastic/terraform-provider-elasticstack
    License
    Notes
    This Pulumi package is based on the elasticstack Terraform Provider.
    elasticstack logo
    elasticstack 0.11.15 published on Wednesday, Apr 23, 2025 by elastic