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

    Manages an Elasticsearch alias. See the alias documentation for more details.

    Create ElasticsearchIndexAlias Resource

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

    Constructor syntax

    new ElasticsearchIndexAlias(name: string, args?: ElasticsearchIndexAliasArgs, opts?: CustomResourceOptions);
    @overload
    def ElasticsearchIndexAlias(resource_name: str,
                                args: Optional[ElasticsearchIndexAliasInitArgs] = None,
                                opts: Optional[ResourceOptions] = None)
    
    @overload
    def ElasticsearchIndexAlias(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                elasticsearch_connections: Optional[Sequence[ElasticsearchIndexAliasElasticsearchConnectionArgs]] = None,
                                name: Optional[str] = None,
                                read_indices: Optional[Sequence[ElasticsearchIndexAliasReadIndexArgs]] = None,
                                write_index: Optional[ElasticsearchIndexAliasWriteIndexArgs] = None)
    func NewElasticsearchIndexAlias(ctx *Context, name string, args *ElasticsearchIndexAliasArgs, opts ...ResourceOption) (*ElasticsearchIndexAlias, error)
    public ElasticsearchIndexAlias(string name, ElasticsearchIndexAliasArgs? args = null, CustomResourceOptions? opts = null)
    public ElasticsearchIndexAlias(String name, ElasticsearchIndexAliasArgs args)
    public ElasticsearchIndexAlias(String name, ElasticsearchIndexAliasArgs args, CustomResourceOptions options)
    
    type: elasticstack:ElasticsearchIndexAlias
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "elasticstack_elasticsearchindexalias" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args ElasticsearchIndexAliasArgs
    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 ElasticsearchIndexAliasInitArgs
    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 ElasticsearchIndexAliasArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ElasticsearchIndexAliasArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ElasticsearchIndexAliasArgs
    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 elasticsearchIndexAliasResource = new Elasticstack.ElasticsearchIndexAlias("elasticsearchIndexAliasResource", new()
    {
        ElasticsearchConnections = new[]
        {
            new Elasticstack.Inputs.ElasticsearchIndexAliasElasticsearchConnectionArgs
            {
                ApiKey = "string",
                BearerToken = "string",
                CaData = "string",
                CaFile = "string",
                CertData = "string",
                CertFile = "string",
                Endpoints = new[]
                {
                    "string",
                },
                EsClientAuthentication = "string",
                Headers = 
                {
                    { "string", "string" },
                },
                Insecure = false,
                KeyData = "string",
                KeyFile = "string",
                Password = "string",
                Username = "string",
            },
        },
        Name = "string",
        ReadIndices = new[]
        {
            new Elasticstack.Inputs.ElasticsearchIndexAliasReadIndexArgs
            {
                Name = "string",
                Filter = "string",
                IndexRouting = "string",
                IsHidden = false,
                Routing = "string",
                SearchRouting = "string",
            },
        },
        WriteIndex = new Elasticstack.Inputs.ElasticsearchIndexAliasWriteIndexArgs
        {
            Name = "string",
            Filter = "string",
            IndexRouting = "string",
            IsHidden = false,
            Routing = "string",
            SearchRouting = "string",
        },
    });
    
    example, err := elasticstack.NewElasticsearchIndexAlias(ctx, "elasticsearchIndexAliasResource", &elasticstack.ElasticsearchIndexAliasArgs{
    	ElasticsearchConnections: elasticstack.ElasticsearchIndexAliasElasticsearchConnectionArray{
    		&elasticstack.ElasticsearchIndexAliasElasticsearchConnectionArgs{
    			ApiKey:      pulumi.String("string"),
    			BearerToken: pulumi.String("string"),
    			CaData:      pulumi.String("string"),
    			CaFile:      pulumi.String("string"),
    			CertData:    pulumi.String("string"),
    			CertFile:    pulumi.String("string"),
    			Endpoints: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			EsClientAuthentication: pulumi.String("string"),
    			Headers: pulumi.StringMap{
    				"string": pulumi.String("string"),
    			},
    			Insecure: pulumi.Bool(false),
    			KeyData:  pulumi.String("string"),
    			KeyFile:  pulumi.String("string"),
    			Password: pulumi.String("string"),
    			Username: pulumi.String("string"),
    		},
    	},
    	Name: pulumi.String("string"),
    	ReadIndices: elasticstack.ElasticsearchIndexAliasReadIndexArray{
    		&elasticstack.ElasticsearchIndexAliasReadIndexArgs{
    			Name:          pulumi.String("string"),
    			Filter:        pulumi.String("string"),
    			IndexRouting:  pulumi.String("string"),
    			IsHidden:      pulumi.Bool(false),
    			Routing:       pulumi.String("string"),
    			SearchRouting: pulumi.String("string"),
    		},
    	},
    	WriteIndex: &elasticstack.ElasticsearchIndexAliasWriteIndexArgs{
    		Name:          pulumi.String("string"),
    		Filter:        pulumi.String("string"),
    		IndexRouting:  pulumi.String("string"),
    		IsHidden:      pulumi.Bool(false),
    		Routing:       pulumi.String("string"),
    		SearchRouting: pulumi.String("string"),
    	},
    })
    
    resource "elasticstack_elasticsearchindexalias" "elasticsearchIndexAliasResource" {
      elasticsearch_connections {
        api_key                  = "string"
        bearer_token             = "string"
        ca_data                  = "string"
        ca_file                  = "string"
        cert_data                = "string"
        cert_file                = "string"
        endpoints                = ["string"]
        es_client_authentication = "string"
        headers = {
          "string" = "string"
        }
        insecure = false
        key_data = "string"
        key_file = "string"
        password = "string"
        username = "string"
      }
      name = "string"
      read_indices {
        name           = "string"
        filter         = "string"
        index_routing  = "string"
        is_hidden      = false
        routing        = "string"
        search_routing = "string"
      }
      write_index = {
        name           = "string"
        filter         = "string"
        index_routing  = "string"
        is_hidden      = false
        routing        = "string"
        search_routing = "string"
      }
    }
    
    var elasticsearchIndexAliasResource = new ElasticsearchIndexAlias("elasticsearchIndexAliasResource", ElasticsearchIndexAliasArgs.builder()
        .elasticsearchConnections(ElasticsearchIndexAliasElasticsearchConnectionArgs.builder()
            .apiKey("string")
            .bearerToken("string")
            .caData("string")
            .caFile("string")
            .certData("string")
            .certFile("string")
            .endpoints("string")
            .esClientAuthentication("string")
            .headers(Map.of("string", "string"))
            .insecure(false)
            .keyData("string")
            .keyFile("string")
            .password("string")
            .username("string")
            .build())
        .name("string")
        .readIndices(ElasticsearchIndexAliasReadIndexArgs.builder()
            .name("string")
            .filter("string")
            .indexRouting("string")
            .isHidden(false)
            .routing("string")
            .searchRouting("string")
            .build())
        .writeIndex(ElasticsearchIndexAliasWriteIndexArgs.builder()
            .name("string")
            .filter("string")
            .indexRouting("string")
            .isHidden(false)
            .routing("string")
            .searchRouting("string")
            .build())
        .build());
    
    elasticsearch_index_alias_resource = elasticstack.ElasticsearchIndexAlias("elasticsearchIndexAliasResource",
        elasticsearch_connections=[{
            "api_key": "string",
            "bearer_token": "string",
            "ca_data": "string",
            "ca_file": "string",
            "cert_data": "string",
            "cert_file": "string",
            "endpoints": ["string"],
            "es_client_authentication": "string",
            "headers": {
                "string": "string",
            },
            "insecure": False,
            "key_data": "string",
            "key_file": "string",
            "password": "string",
            "username": "string",
        }],
        name="string",
        read_indices=[{
            "name": "string",
            "filter": "string",
            "index_routing": "string",
            "is_hidden": False,
            "routing": "string",
            "search_routing": "string",
        }],
        write_index={
            "name": "string",
            "filter": "string",
            "index_routing": "string",
            "is_hidden": False,
            "routing": "string",
            "search_routing": "string",
        })
    
    const elasticsearchIndexAliasResource = new elasticstack.ElasticsearchIndexAlias("elasticsearchIndexAliasResource", {
        elasticsearchConnections: [{
            apiKey: "string",
            bearerToken: "string",
            caData: "string",
            caFile: "string",
            certData: "string",
            certFile: "string",
            endpoints: ["string"],
            esClientAuthentication: "string",
            headers: {
                string: "string",
            },
            insecure: false,
            keyData: "string",
            keyFile: "string",
            password: "string",
            username: "string",
        }],
        name: "string",
        readIndices: [{
            name: "string",
            filter: "string",
            indexRouting: "string",
            isHidden: false,
            routing: "string",
            searchRouting: "string",
        }],
        writeIndex: {
            name: "string",
            filter: "string",
            indexRouting: "string",
            isHidden: false,
            routing: "string",
            searchRouting: "string",
        },
    });
    
    type: elasticstack:ElasticsearchIndexAlias
    properties:
        elasticsearchConnections:
            - apiKey: string
              bearerToken: string
              caData: string
              caFile: string
              certData: string
              certFile: string
              endpoints:
                - string
              esClientAuthentication: string
              headers:
                string: string
              insecure: false
              keyData: string
              keyFile: string
              password: string
              username: string
        name: string
        readIndices:
            - filter: string
              indexRouting: string
              isHidden: false
              name: string
              routing: string
              searchRouting: string
        writeIndex:
            filter: string
            indexRouting: string
            isHidden: false
            name: string
            routing: string
            searchRouting: string
    

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

    ElasticsearchConnections List<ElasticsearchIndexAliasElasticsearchConnection>
    Elasticsearch connection configuration block.
    Name string
    The alias name.
    ReadIndices List<ElasticsearchIndexAliasReadIndex>
    Set of read indices for the alias.
    WriteIndex ElasticsearchIndexAliasWriteIndex
    The write index for the alias. Only one write index is allowed per alias.
    ElasticsearchConnections []ElasticsearchIndexAliasElasticsearchConnectionArgs
    Elasticsearch connection configuration block.
    Name string
    The alias name.
    ReadIndices []ElasticsearchIndexAliasReadIndexArgs
    Set of read indices for the alias.
    WriteIndex ElasticsearchIndexAliasWriteIndexArgs
    The write index for the alias. Only one write index is allowed per alias.
    elasticsearch_connections list(object)
    Elasticsearch connection configuration block.
    name string
    The alias name.
    read_indices list(object)
    Set of read indices for the alias.
    write_index object
    The write index for the alias. Only one write index is allowed per alias.
    elasticsearchConnections List<ElasticsearchIndexAliasElasticsearchConnection>
    Elasticsearch connection configuration block.
    name String
    The alias name.
    readIndices List<ElasticsearchIndexAliasReadIndex>
    Set of read indices for the alias.
    writeIndex ElasticsearchIndexAliasWriteIndex
    The write index for the alias. Only one write index is allowed per alias.
    elasticsearchConnections ElasticsearchIndexAliasElasticsearchConnection[]
    Elasticsearch connection configuration block.
    name string
    The alias name.
    readIndices ElasticsearchIndexAliasReadIndex[]
    Set of read indices for the alias.
    writeIndex ElasticsearchIndexAliasWriteIndex
    The write index for the alias. Only one write index is allowed per alias.
    elasticsearch_connections Sequence[ElasticsearchIndexAliasElasticsearchConnectionArgs]
    Elasticsearch connection configuration block.
    name str
    The alias name.
    read_indices Sequence[ElasticsearchIndexAliasReadIndexArgs]
    Set of read indices for the alias.
    write_index ElasticsearchIndexAliasWriteIndexArgs
    The write index for the alias. Only one write index is allowed per alias.
    elasticsearchConnections List<Property Map>
    Elasticsearch connection configuration block.
    name String
    The alias name.
    readIndices List<Property Map>
    Set of read indices for the alias.
    writeIndex Property Map
    The write index for the alias. Only one write index is allowed per alias.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing ElasticsearchIndexAlias Resource

    Get an existing ElasticsearchIndexAlias 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?: ElasticsearchIndexAliasState, opts?: CustomResourceOptions): ElasticsearchIndexAlias
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            elasticsearch_connections: Optional[Sequence[ElasticsearchIndexAliasElasticsearchConnectionArgs]] = None,
            name: Optional[str] = None,
            read_indices: Optional[Sequence[ElasticsearchIndexAliasReadIndexArgs]] = None,
            write_index: Optional[ElasticsearchIndexAliasWriteIndexArgs] = None) -> ElasticsearchIndexAlias
    func GetElasticsearchIndexAlias(ctx *Context, name string, id IDInput, state *ElasticsearchIndexAliasState, opts ...ResourceOption) (*ElasticsearchIndexAlias, error)
    public static ElasticsearchIndexAlias Get(string name, Input<string> id, ElasticsearchIndexAliasState? state, CustomResourceOptions? opts = null)
    public static ElasticsearchIndexAlias get(String name, Output<String> id, ElasticsearchIndexAliasState state, CustomResourceOptions options)
    resources:  _:    type: elasticstack:ElasticsearchIndexAlias    get:      id: ${id}
    import {
      to = elasticstack_elasticsearchindexalias.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    ElasticsearchConnections List<ElasticsearchIndexAliasElasticsearchConnection>
    Elasticsearch connection configuration block.
    Name string
    The alias name.
    ReadIndices List<ElasticsearchIndexAliasReadIndex>
    Set of read indices for the alias.
    WriteIndex ElasticsearchIndexAliasWriteIndex
    The write index for the alias. Only one write index is allowed per alias.
    ElasticsearchConnections []ElasticsearchIndexAliasElasticsearchConnectionArgs
    Elasticsearch connection configuration block.
    Name string
    The alias name.
    ReadIndices []ElasticsearchIndexAliasReadIndexArgs
    Set of read indices for the alias.
    WriteIndex ElasticsearchIndexAliasWriteIndexArgs
    The write index for the alias. Only one write index is allowed per alias.
    elasticsearch_connections list(object)
    Elasticsearch connection configuration block.
    name string
    The alias name.
    read_indices list(object)
    Set of read indices for the alias.
    write_index object
    The write index for the alias. Only one write index is allowed per alias.
    elasticsearchConnections List<ElasticsearchIndexAliasElasticsearchConnection>
    Elasticsearch connection configuration block.
    name String
    The alias name.
    readIndices List<ElasticsearchIndexAliasReadIndex>
    Set of read indices for the alias.
    writeIndex ElasticsearchIndexAliasWriteIndex
    The write index for the alias. Only one write index is allowed per alias.
    elasticsearchConnections ElasticsearchIndexAliasElasticsearchConnection[]
    Elasticsearch connection configuration block.
    name string
    The alias name.
    readIndices ElasticsearchIndexAliasReadIndex[]
    Set of read indices for the alias.
    writeIndex ElasticsearchIndexAliasWriteIndex
    The write index for the alias. Only one write index is allowed per alias.
    elasticsearch_connections Sequence[ElasticsearchIndexAliasElasticsearchConnectionArgs]
    Elasticsearch connection configuration block.
    name str
    The alias name.
    read_indices Sequence[ElasticsearchIndexAliasReadIndexArgs]
    Set of read indices for the alias.
    write_index ElasticsearchIndexAliasWriteIndexArgs
    The write index for the alias. Only one write index is allowed per alias.
    elasticsearchConnections List<Property Map>
    Elasticsearch connection configuration block.
    name String
    The alias name.
    readIndices List<Property Map>
    Set of read indices for the alias.
    writeIndex Property Map
    The write index for the alias. Only one write index is allowed per alias.

    Supporting Types

    ElasticsearchIndexAliasElasticsearchConnection, ElasticsearchIndexAliasElasticsearchConnectionArgs

    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
    Headers Dictionary<string, string>
    A list of headers to be sent with each request to Elasticsearch.
    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
    Headers map[string]string
    A list of headers to be sent with each request to Elasticsearch.
    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.
    api_key string
    API Key to use for authentication to Elasticsearch
    bearer_token string
    Bearer Token to use for authentication to Elasticsearch
    ca_data string
    PEM-encoded custom Certificate Authority certificate
    ca_file string
    Path to a custom Certificate Authority certificate
    cert_data string
    PEM encoded certificate for client auth
    cert_file string
    Path to a file containing the PEM encoded certificate for client auth
    endpoints list(string)
    es_client_authentication string
    ES Client Authentication field to be used with the JWT token
    headers map(string)
    A list of headers to be sent with each request to Elasticsearch.
    insecure bool
    Disable TLS certificate validation
    key_data string
    PEM encoded private key for client auth
    key_file 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
    headers Map<String,String>
    A list of headers to be sent with each request to Elasticsearch.
    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
    headers {[key: string]: string}
    A list of headers to be sent with each request to Elasticsearch.
    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
    headers Mapping[str, str]
    A list of headers to be sent with each request to Elasticsearch.
    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
    headers Map<String>
    A list of headers to be sent with each request to Elasticsearch.
    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.

    ElasticsearchIndexAliasReadIndex, ElasticsearchIndexAliasReadIndexArgs

    Name string
    Name of the read index.
    Filter string
    Query used to limit documents the alias can access.
    IndexRouting string
    Value used to route indexing operations to a specific shard.
    IsHidden bool
    If true, the alias is hidden.
    Routing string
    Value used to route indexing and search operations to a specific shard.
    SearchRouting string
    Value used to route search operations to a specific shard.
    Name string
    Name of the read index.
    Filter string
    Query used to limit documents the alias can access.
    IndexRouting string
    Value used to route indexing operations to a specific shard.
    IsHidden bool
    If true, the alias is hidden.
    Routing string
    Value used to route indexing and search operations to a specific shard.
    SearchRouting string
    Value used to route search operations to a specific shard.
    name string
    Name of the read index.
    filter string
    Query used to limit documents the alias can access.
    index_routing string
    Value used to route indexing operations to a specific shard.
    is_hidden bool
    If true, the alias is hidden.
    routing string
    Value used to route indexing and search operations to a specific shard.
    search_routing string
    Value used to route search operations to a specific shard.
    name String
    Name of the read index.
    filter String
    Query used to limit documents the alias can access.
    indexRouting String
    Value used to route indexing operations to a specific shard.
    isHidden Boolean
    If true, the alias is hidden.
    routing String
    Value used to route indexing and search operations to a specific shard.
    searchRouting String
    Value used to route search operations to a specific shard.
    name string
    Name of the read index.
    filter string
    Query used to limit documents the alias can access.
    indexRouting string
    Value used to route indexing operations to a specific shard.
    isHidden boolean
    If true, the alias is hidden.
    routing string
    Value used to route indexing and search operations to a specific shard.
    searchRouting string
    Value used to route search operations to a specific shard.
    name str
    Name of the read index.
    filter str
    Query used to limit documents the alias can access.
    index_routing str
    Value used to route indexing operations to a specific shard.
    is_hidden bool
    If true, the alias is hidden.
    routing str
    Value used to route indexing and search operations to a specific shard.
    search_routing str
    Value used to route search operations to a specific shard.
    name String
    Name of the read index.
    filter String
    Query used to limit documents the alias can access.
    indexRouting String
    Value used to route indexing operations to a specific shard.
    isHidden Boolean
    If true, the alias is hidden.
    routing String
    Value used to route indexing and search operations to a specific shard.
    searchRouting String
    Value used to route search operations to a specific shard.

    ElasticsearchIndexAliasWriteIndex, ElasticsearchIndexAliasWriteIndexArgs

    Name string
    Name of the write index.
    Filter string
    Query used to limit documents the alias can access.
    IndexRouting string
    Value used to route indexing operations to a specific shard.
    IsHidden bool
    If true, the alias is hidden.
    Routing string
    Value used to route indexing and search operations to a specific shard.
    SearchRouting string
    Value used to route search operations to a specific shard.
    Name string
    Name of the write index.
    Filter string
    Query used to limit documents the alias can access.
    IndexRouting string
    Value used to route indexing operations to a specific shard.
    IsHidden bool
    If true, the alias is hidden.
    Routing string
    Value used to route indexing and search operations to a specific shard.
    SearchRouting string
    Value used to route search operations to a specific shard.
    name string
    Name of the write index.
    filter string
    Query used to limit documents the alias can access.
    index_routing string
    Value used to route indexing operations to a specific shard.
    is_hidden bool
    If true, the alias is hidden.
    routing string
    Value used to route indexing and search operations to a specific shard.
    search_routing string
    Value used to route search operations to a specific shard.
    name String
    Name of the write index.
    filter String
    Query used to limit documents the alias can access.
    indexRouting String
    Value used to route indexing operations to a specific shard.
    isHidden Boolean
    If true, the alias is hidden.
    routing String
    Value used to route indexing and search operations to a specific shard.
    searchRouting String
    Value used to route search operations to a specific shard.
    name string
    Name of the write index.
    filter string
    Query used to limit documents the alias can access.
    indexRouting string
    Value used to route indexing operations to a specific shard.
    isHidden boolean
    If true, the alias is hidden.
    routing string
    Value used to route indexing and search operations to a specific shard.
    searchRouting string
    Value used to route search operations to a specific shard.
    name str
    Name of the write index.
    filter str
    Query used to limit documents the alias can access.
    index_routing str
    Value used to route indexing operations to a specific shard.
    is_hidden bool
    If true, the alias is hidden.
    routing str
    Value used to route indexing and search operations to a specific shard.
    search_routing str
    Value used to route search operations to a specific shard.
    name String
    Name of the write index.
    filter String
    Query used to limit documents the alias can access.
    indexRouting String
    Value used to route indexing operations to a specific shard.
    isHidden Boolean
    If true, the alias is hidden.
    routing String
    Value used to route indexing and search operations to a specific shard.
    searchRouting String
    Value used to route search operations to a specific shard.

    Package Details

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