1. Packages
  2. Snowflake Provider
  3. API Docs
  4. CortexSearchService
Snowflake v2.13.0 published on Thursday, Feb 26, 2026 by Pulumi
snowflake logo
Snowflake v2.13.0 published on Thursday, Feb 26, 2026 by Pulumi

    !> Caution: Preview Feature This feature is considered a preview feature in the provider, regardless of the state of the resource in Snowflake. We do not guarantee its stability. It will be reworked and marked as a stable feature in future releases. Breaking changes are expected, even without bumping the major version. To use this feature, add the relevant feature name to preview_features_enabled field in the provider configuration. Please always refer to the Getting Help section in our Github repo to best determine how to get help for your questions.

    Note: Default timeout is set to 60 minutes for Terraform Create and Update operations.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as snowflake from "@pulumi/snowflake";
    
    //# Basic
    const test = new snowflake.Database("test", {name: "some_database"});
    const testSchema = new snowflake.Schema("test", {
        database: test.name,
        name: "some_schema",
    });
    const testTable = new snowflake.Table("test", {
        database: test.name,
        schema: testSchema.name,
        name: "some_table",
        changeTracking: true,
        columns: [
            {
                name: "ID",
                type: "NUMBER(38,0)",
            },
            {
                name: "SOME_TEXT",
                type: "VARCHAR",
            },
        ],
    });
    const testCortexSearchService = new snowflake.CortexSearchService("test", {
        database: test.name,
        schema: testSchema.name,
        name: "some_name",
        on: "SOME_TEXT",
        targetLag: "2 minutes",
        warehouse: "some_warehouse",
        query: "SELECT SOME_TEXT FROM \"some_database\".\"some_schema\".\"some_table\"",
        comment: "some comment",
        embeddingModel: "snowflake-arctic-embed-m-v1.5",
    }, {
        dependsOn: [testTable],
    });
    
    import pulumi
    import pulumi_snowflake as snowflake
    
    ## Basic
    test = snowflake.Database("test", name="some_database")
    test_schema = snowflake.Schema("test",
        database=test.name,
        name="some_schema")
    test_table = snowflake.Table("test",
        database=test.name,
        schema=test_schema.name,
        name="some_table",
        change_tracking=True,
        columns=[
            {
                "name": "ID",
                "type": "NUMBER(38,0)",
            },
            {
                "name": "SOME_TEXT",
                "type": "VARCHAR",
            },
        ])
    test_cortex_search_service = snowflake.CortexSearchService("test",
        database=test.name,
        schema=test_schema.name,
        name="some_name",
        on="SOME_TEXT",
        target_lag="2 minutes",
        warehouse="some_warehouse",
        query="SELECT SOME_TEXT FROM \"some_database\".\"some_schema\".\"some_table\"",
        comment="some comment",
        embedding_model="snowflake-arctic-embed-m-v1.5",
        opts = pulumi.ResourceOptions(depends_on=[test_table]))
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-snowflake/sdk/v2/go/snowflake"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		// # Basic
    		test, err := snowflake.NewDatabase(ctx, "test", &snowflake.DatabaseArgs{
    			Name: pulumi.String("some_database"),
    		})
    		if err != nil {
    			return err
    		}
    		testSchema, err := snowflake.NewSchema(ctx, "test", &snowflake.SchemaArgs{
    			Database: test.Name,
    			Name:     pulumi.String("some_schema"),
    		})
    		if err != nil {
    			return err
    		}
    		testTable, err := snowflake.NewTable(ctx, "test", &snowflake.TableArgs{
    			Database:       test.Name,
    			Schema:         testSchema.Name,
    			Name:           pulumi.String("some_table"),
    			ChangeTracking: pulumi.Bool(true),
    			Columns: snowflake.TableColumnArray{
    				&snowflake.TableColumnArgs{
    					Name: pulumi.String("ID"),
    					Type: pulumi.String("NUMBER(38,0)"),
    				},
    				&snowflake.TableColumnArgs{
    					Name: pulumi.String("SOME_TEXT"),
    					Type: pulumi.String("VARCHAR"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = snowflake.NewCortexSearchService(ctx, "test", &snowflake.CortexSearchServiceArgs{
    			Database:       test.Name,
    			Schema:         testSchema.Name,
    			Name:           pulumi.String("some_name"),
    			On:             pulumi.String("SOME_TEXT"),
    			TargetLag:      pulumi.String("2 minutes"),
    			Warehouse:      pulumi.String("some_warehouse"),
    			Query:          pulumi.String("SELECT SOME_TEXT FROM \"some_database\".\"some_schema\".\"some_table\""),
    			Comment:        pulumi.String("some comment"),
    			EmbeddingModel: pulumi.String("snowflake-arctic-embed-m-v1.5"),
    		}, pulumi.DependsOn([]pulumi.Resource{
    			testTable,
    		}))
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Snowflake = Pulumi.Snowflake;
    
    return await Deployment.RunAsync(() => 
    {
        //# Basic
        var test = new Snowflake.Database("test", new()
        {
            Name = "some_database",
        });
    
        var testSchema = new Snowflake.Schema("test", new()
        {
            Database = test.Name,
            Name = "some_schema",
        });
    
        var testTable = new Snowflake.Table("test", new()
        {
            Database = test.Name,
            Schema = testSchema.Name,
            Name = "some_table",
            ChangeTracking = true,
            Columns = new[]
            {
                new Snowflake.Inputs.TableColumnArgs
                {
                    Name = "ID",
                    Type = "NUMBER(38,0)",
                },
                new Snowflake.Inputs.TableColumnArgs
                {
                    Name = "SOME_TEXT",
                    Type = "VARCHAR",
                },
            },
        });
    
        var testCortexSearchService = new Snowflake.CortexSearchService("test", new()
        {
            Database = test.Name,
            Schema = testSchema.Name,
            Name = "some_name",
            On = "SOME_TEXT",
            TargetLag = "2 minutes",
            Warehouse = "some_warehouse",
            Query = "SELECT SOME_TEXT FROM \"some_database\".\"some_schema\".\"some_table\"",
            Comment = "some comment",
            EmbeddingModel = "snowflake-arctic-embed-m-v1.5",
        }, new CustomResourceOptions
        {
            DependsOn =
            {
                testTable,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.snowflake.Database;
    import com.pulumi.snowflake.DatabaseArgs;
    import com.pulumi.snowflake.Schema;
    import com.pulumi.snowflake.SchemaArgs;
    import com.pulumi.snowflake.Table;
    import com.pulumi.snowflake.TableArgs;
    import com.pulumi.snowflake.inputs.TableColumnArgs;
    import com.pulumi.snowflake.CortexSearchService;
    import com.pulumi.snowflake.CortexSearchServiceArgs;
    import com.pulumi.resources.CustomResourceOptions;
    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) {
            //# Basic
            var test = new Database("test", DatabaseArgs.builder()
                .name("some_database")
                .build());
    
            var testSchema = new Schema("testSchema", SchemaArgs.builder()
                .database(test.name())
                .name("some_schema")
                .build());
    
            var testTable = new Table("testTable", TableArgs.builder()
                .database(test.name())
                .schema(testSchema.name())
                .name("some_table")
                .changeTracking(true)
                .columns(            
                    TableColumnArgs.builder()
                        .name("ID")
                        .type("NUMBER(38,0)")
                        .build(),
                    TableColumnArgs.builder()
                        .name("SOME_TEXT")
                        .type("VARCHAR")
                        .build())
                .build());
    
            var testCortexSearchService = new CortexSearchService("testCortexSearchService", CortexSearchServiceArgs.builder()
                .database(test.name())
                .schema(testSchema.name())
                .name("some_name")
                .on("SOME_TEXT")
                .targetLag("2 minutes")
                .warehouse("some_warehouse")
                .query("SELECT SOME_TEXT FROM \"some_database\".\"some_schema\".\"some_table\"")
                .comment("some comment")
                .embeddingModel("snowflake-arctic-embed-m-v1.5")
                .build(), CustomResourceOptions.builder()
                    .dependsOn(testTable)
                    .build());
    
        }
    }
    
    resources:
      ## Basic
      test:
        type: snowflake:Database
        properties:
          name: some_database
      testSchema:
        type: snowflake:Schema
        name: test
        properties:
          database: ${test.name}
          name: some_schema
      testTable:
        type: snowflake:Table
        name: test
        properties:
          database: ${test.name}
          schema: ${testSchema.name}
          name: some_table
          changeTracking: true
          columns:
            - name: ID
              type: NUMBER(38,0)
            - name: SOME_TEXT
              type: VARCHAR
      testCortexSearchService:
        type: snowflake:CortexSearchService
        name: test
        properties:
          database: ${test.name}
          schema: ${testSchema.name}
          name: some_name
          on: SOME_TEXT
          targetLag: 2 minutes
          warehouse: some_warehouse
          query: SELECT SOME_TEXT FROM "some_database"."some_schema"."some_table"
          comment: some comment
          embeddingModel: snowflake-arctic-embed-m-v1.5
        options:
          dependsOn:
            - ${testTable}
    

    Note Instead of using fully_qualified_name, you can reference objects managed outside Terraform by constructing a correct ID, consult identifiers guide.

    Note If a field has a default value, it is shown next to the type in the schema.

    Create CortexSearchService Resource

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

    Constructor syntax

    new CortexSearchService(name: string, args: CortexSearchServiceArgs, opts?: CustomResourceOptions);
    @overload
    def CortexSearchService(resource_name: str,
                            args: CortexSearchServiceArgs,
                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def CortexSearchService(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            database: Optional[str] = None,
                            on: Optional[str] = None,
                            query: Optional[str] = None,
                            schema: Optional[str] = None,
                            target_lag: Optional[str] = None,
                            warehouse: Optional[str] = None,
                            attributes: Optional[Sequence[str]] = None,
                            comment: Optional[str] = None,
                            embedding_model: Optional[str] = None,
                            name: Optional[str] = None)
    func NewCortexSearchService(ctx *Context, name string, args CortexSearchServiceArgs, opts ...ResourceOption) (*CortexSearchService, error)
    public CortexSearchService(string name, CortexSearchServiceArgs args, CustomResourceOptions? opts = null)
    public CortexSearchService(String name, CortexSearchServiceArgs args)
    public CortexSearchService(String name, CortexSearchServiceArgs args, CustomResourceOptions options)
    
    type: snowflake:CortexSearchService
    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 CortexSearchServiceArgs
    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 CortexSearchServiceArgs
    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 CortexSearchServiceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CortexSearchServiceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CortexSearchServiceArgs
    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 cortexSearchServiceResource = new Snowflake.CortexSearchService("cortexSearchServiceResource", new()
    {
        Database = "string",
        On = "string",
        Query = "string",
        Schema = "string",
        TargetLag = "string",
        Warehouse = "string",
        Attributes = new[]
        {
            "string",
        },
        Comment = "string",
        EmbeddingModel = "string",
        Name = "string",
    });
    
    example, err := snowflake.NewCortexSearchService(ctx, "cortexSearchServiceResource", &snowflake.CortexSearchServiceArgs{
    	Database:  pulumi.String("string"),
    	On:        pulumi.String("string"),
    	Query:     pulumi.String("string"),
    	Schema:    pulumi.String("string"),
    	TargetLag: pulumi.String("string"),
    	Warehouse: pulumi.String("string"),
    	Attributes: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Comment:        pulumi.String("string"),
    	EmbeddingModel: pulumi.String("string"),
    	Name:           pulumi.String("string"),
    })
    
    var cortexSearchServiceResource = new CortexSearchService("cortexSearchServiceResource", CortexSearchServiceArgs.builder()
        .database("string")
        .on("string")
        .query("string")
        .schema("string")
        .targetLag("string")
        .warehouse("string")
        .attributes("string")
        .comment("string")
        .embeddingModel("string")
        .name("string")
        .build());
    
    cortex_search_service_resource = snowflake.CortexSearchService("cortexSearchServiceResource",
        database="string",
        on="string",
        query="string",
        schema="string",
        target_lag="string",
        warehouse="string",
        attributes=["string"],
        comment="string",
        embedding_model="string",
        name="string")
    
    const cortexSearchServiceResource = new snowflake.CortexSearchService("cortexSearchServiceResource", {
        database: "string",
        on: "string",
        query: "string",
        schema: "string",
        targetLag: "string",
        warehouse: "string",
        attributes: ["string"],
        comment: "string",
        embeddingModel: "string",
        name: "string",
    });
    
    type: snowflake:CortexSearchService
    properties:
        attributes:
            - string
        comment: string
        database: string
        embeddingModel: string
        name: string
        "on": string
        query: string
        schema: string
        targetLag: string
        warehouse: string
    

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

    Database string
    The database in which to create the Cortex search service.
    On string
    Specifies the column to use as the search column for the Cortex search service; must be a text value.
    Query string
    Specifies the query to use to populate the Cortex search service.
    Schema string
    The schema in which to create the Cortex search service.
    TargetLag string
    Specifies the maximum target lag time for the Cortex search service.
    Warehouse string
    The warehouse in which to create the Cortex search service.
    Attributes List<string>
    Specifies the list of columns in the base table to enable filtering on when issuing queries to the service.
    Comment string
    Specifies a comment for the Cortex search service.
    EmbeddingModel string
    Specifies the embedding model to use for the Cortex search service.
    Name string
    Specifies the name of the Cortex search service. The name must be unique for the schema in which the service is created.
    Database string
    The database in which to create the Cortex search service.
    On string
    Specifies the column to use as the search column for the Cortex search service; must be a text value.
    Query string
    Specifies the query to use to populate the Cortex search service.
    Schema string
    The schema in which to create the Cortex search service.
    TargetLag string
    Specifies the maximum target lag time for the Cortex search service.
    Warehouse string
    The warehouse in which to create the Cortex search service.
    Attributes []string
    Specifies the list of columns in the base table to enable filtering on when issuing queries to the service.
    Comment string
    Specifies a comment for the Cortex search service.
    EmbeddingModel string
    Specifies the embedding model to use for the Cortex search service.
    Name string
    Specifies the name of the Cortex search service. The name must be unique for the schema in which the service is created.
    database String
    The database in which to create the Cortex search service.
    on String
    Specifies the column to use as the search column for the Cortex search service; must be a text value.
    query String
    Specifies the query to use to populate the Cortex search service.
    schema String
    The schema in which to create the Cortex search service.
    targetLag String
    Specifies the maximum target lag time for the Cortex search service.
    warehouse String
    The warehouse in which to create the Cortex search service.
    attributes List<String>
    Specifies the list of columns in the base table to enable filtering on when issuing queries to the service.
    comment String
    Specifies a comment for the Cortex search service.
    embeddingModel String
    Specifies the embedding model to use for the Cortex search service.
    name String
    Specifies the name of the Cortex search service. The name must be unique for the schema in which the service is created.
    database string
    The database in which to create the Cortex search service.
    on string
    Specifies the column to use as the search column for the Cortex search service; must be a text value.
    query string
    Specifies the query to use to populate the Cortex search service.
    schema string
    The schema in which to create the Cortex search service.
    targetLag string
    Specifies the maximum target lag time for the Cortex search service.
    warehouse string
    The warehouse in which to create the Cortex search service.
    attributes string[]
    Specifies the list of columns in the base table to enable filtering on when issuing queries to the service.
    comment string
    Specifies a comment for the Cortex search service.
    embeddingModel string
    Specifies the embedding model to use for the Cortex search service.
    name string
    Specifies the name of the Cortex search service. The name must be unique for the schema in which the service is created.
    database str
    The database in which to create the Cortex search service.
    on str
    Specifies the column to use as the search column for the Cortex search service; must be a text value.
    query str
    Specifies the query to use to populate the Cortex search service.
    schema str
    The schema in which to create the Cortex search service.
    target_lag str
    Specifies the maximum target lag time for the Cortex search service.
    warehouse str
    The warehouse in which to create the Cortex search service.
    attributes Sequence[str]
    Specifies the list of columns in the base table to enable filtering on when issuing queries to the service.
    comment str
    Specifies a comment for the Cortex search service.
    embedding_model str
    Specifies the embedding model to use for the Cortex search service.
    name str
    Specifies the name of the Cortex search service. The name must be unique for the schema in which the service is created.
    database String
    The database in which to create the Cortex search service.
    on String
    Specifies the column to use as the search column for the Cortex search service; must be a text value.
    query String
    Specifies the query to use to populate the Cortex search service.
    schema String
    The schema in which to create the Cortex search service.
    targetLag String
    Specifies the maximum target lag time for the Cortex search service.
    warehouse String
    The warehouse in which to create the Cortex search service.
    attributes List<String>
    Specifies the list of columns in the base table to enable filtering on when issuing queries to the service.
    comment String
    Specifies a comment for the Cortex search service.
    embeddingModel String
    Specifies the embedding model to use for the Cortex search service.
    name String
    Specifies the name of the Cortex search service. The name must be unique for the schema in which the service is created.

    Outputs

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

    CreatedOn string
    Creation date for the given Cortex search service.
    DescribeOutputs List<CortexSearchServiceDescribeOutput>
    Outputs the result of DESCRIBE CORTEX SEARCH SERVICE for the given cortex search service.
    FullyQualifiedName string
    Fully qualified name of the resource. For more information, see object name resolution.
    Id string
    The provider-assigned unique ID for this managed resource.
    CreatedOn string
    Creation date for the given Cortex search service.
    DescribeOutputs []CortexSearchServiceDescribeOutput
    Outputs the result of DESCRIBE CORTEX SEARCH SERVICE for the given cortex search service.
    FullyQualifiedName string
    Fully qualified name of the resource. For more information, see object name resolution.
    Id string
    The provider-assigned unique ID for this managed resource.
    createdOn String
    Creation date for the given Cortex search service.
    describeOutputs List<CortexSearchServiceDescribeOutput>
    Outputs the result of DESCRIBE CORTEX SEARCH SERVICE for the given cortex search service.
    fullyQualifiedName String
    Fully qualified name of the resource. For more information, see object name resolution.
    id String
    The provider-assigned unique ID for this managed resource.
    createdOn string
    Creation date for the given Cortex search service.
    describeOutputs CortexSearchServiceDescribeOutput[]
    Outputs the result of DESCRIBE CORTEX SEARCH SERVICE for the given cortex search service.
    fullyQualifiedName string
    Fully qualified name of the resource. For more information, see object name resolution.
    id string
    The provider-assigned unique ID for this managed resource.
    created_on str
    Creation date for the given Cortex search service.
    describe_outputs Sequence[CortexSearchServiceDescribeOutput]
    Outputs the result of DESCRIBE CORTEX SEARCH SERVICE for the given cortex search service.
    fully_qualified_name str
    Fully qualified name of the resource. For more information, see object name resolution.
    id str
    The provider-assigned unique ID for this managed resource.
    createdOn String
    Creation date for the given Cortex search service.
    describeOutputs List<Property Map>
    Outputs the result of DESCRIBE CORTEX SEARCH SERVICE for the given cortex search service.
    fullyQualifiedName String
    Fully qualified name of the resource. For more information, see object name resolution.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing CortexSearchService Resource

    Get an existing CortexSearchService 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?: CortexSearchServiceState, opts?: CustomResourceOptions): CortexSearchService
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            attributes: Optional[Sequence[str]] = None,
            comment: Optional[str] = None,
            created_on: Optional[str] = None,
            database: Optional[str] = None,
            describe_outputs: Optional[Sequence[CortexSearchServiceDescribeOutputArgs]] = None,
            embedding_model: Optional[str] = None,
            fully_qualified_name: Optional[str] = None,
            name: Optional[str] = None,
            on: Optional[str] = None,
            query: Optional[str] = None,
            schema: Optional[str] = None,
            target_lag: Optional[str] = None,
            warehouse: Optional[str] = None) -> CortexSearchService
    func GetCortexSearchService(ctx *Context, name string, id IDInput, state *CortexSearchServiceState, opts ...ResourceOption) (*CortexSearchService, error)
    public static CortexSearchService Get(string name, Input<string> id, CortexSearchServiceState? state, CustomResourceOptions? opts = null)
    public static CortexSearchService get(String name, Output<String> id, CortexSearchServiceState state, CustomResourceOptions options)
    resources:  _:    type: snowflake:CortexSearchService    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:
    Attributes List<string>
    Specifies the list of columns in the base table to enable filtering on when issuing queries to the service.
    Comment string
    Specifies a comment for the Cortex search service.
    CreatedOn string
    Creation date for the given Cortex search service.
    Database string
    The database in which to create the Cortex search service.
    DescribeOutputs List<CortexSearchServiceDescribeOutput>
    Outputs the result of DESCRIBE CORTEX SEARCH SERVICE for the given cortex search service.
    EmbeddingModel string
    Specifies the embedding model to use for the Cortex search service.
    FullyQualifiedName string
    Fully qualified name of the resource. For more information, see object name resolution.
    Name string
    Specifies the name of the Cortex search service. The name must be unique for the schema in which the service is created.
    On string
    Specifies the column to use as the search column for the Cortex search service; must be a text value.
    Query string
    Specifies the query to use to populate the Cortex search service.
    Schema string
    The schema in which to create the Cortex search service.
    TargetLag string
    Specifies the maximum target lag time for the Cortex search service.
    Warehouse string
    The warehouse in which to create the Cortex search service.
    Attributes []string
    Specifies the list of columns in the base table to enable filtering on when issuing queries to the service.
    Comment string
    Specifies a comment for the Cortex search service.
    CreatedOn string
    Creation date for the given Cortex search service.
    Database string
    The database in which to create the Cortex search service.
    DescribeOutputs []CortexSearchServiceDescribeOutputArgs
    Outputs the result of DESCRIBE CORTEX SEARCH SERVICE for the given cortex search service.
    EmbeddingModel string
    Specifies the embedding model to use for the Cortex search service.
    FullyQualifiedName string
    Fully qualified name of the resource. For more information, see object name resolution.
    Name string
    Specifies the name of the Cortex search service. The name must be unique for the schema in which the service is created.
    On string
    Specifies the column to use as the search column for the Cortex search service; must be a text value.
    Query string
    Specifies the query to use to populate the Cortex search service.
    Schema string
    The schema in which to create the Cortex search service.
    TargetLag string
    Specifies the maximum target lag time for the Cortex search service.
    Warehouse string
    The warehouse in which to create the Cortex search service.
    attributes List<String>
    Specifies the list of columns in the base table to enable filtering on when issuing queries to the service.
    comment String
    Specifies a comment for the Cortex search service.
    createdOn String
    Creation date for the given Cortex search service.
    database String
    The database in which to create the Cortex search service.
    describeOutputs List<CortexSearchServiceDescribeOutput>
    Outputs the result of DESCRIBE CORTEX SEARCH SERVICE for the given cortex search service.
    embeddingModel String
    Specifies the embedding model to use for the Cortex search service.
    fullyQualifiedName String
    Fully qualified name of the resource. For more information, see object name resolution.
    name String
    Specifies the name of the Cortex search service. The name must be unique for the schema in which the service is created.
    on String
    Specifies the column to use as the search column for the Cortex search service; must be a text value.
    query String
    Specifies the query to use to populate the Cortex search service.
    schema String
    The schema in which to create the Cortex search service.
    targetLag String
    Specifies the maximum target lag time for the Cortex search service.
    warehouse String
    The warehouse in which to create the Cortex search service.
    attributes string[]
    Specifies the list of columns in the base table to enable filtering on when issuing queries to the service.
    comment string
    Specifies a comment for the Cortex search service.
    createdOn string
    Creation date for the given Cortex search service.
    database string
    The database in which to create the Cortex search service.
    describeOutputs CortexSearchServiceDescribeOutput[]
    Outputs the result of DESCRIBE CORTEX SEARCH SERVICE for the given cortex search service.
    embeddingModel string
    Specifies the embedding model to use for the Cortex search service.
    fullyQualifiedName string
    Fully qualified name of the resource. For more information, see object name resolution.
    name string
    Specifies the name of the Cortex search service. The name must be unique for the schema in which the service is created.
    on string
    Specifies the column to use as the search column for the Cortex search service; must be a text value.
    query string
    Specifies the query to use to populate the Cortex search service.
    schema string
    The schema in which to create the Cortex search service.
    targetLag string
    Specifies the maximum target lag time for the Cortex search service.
    warehouse string
    The warehouse in which to create the Cortex search service.
    attributes Sequence[str]
    Specifies the list of columns in the base table to enable filtering on when issuing queries to the service.
    comment str
    Specifies a comment for the Cortex search service.
    created_on str
    Creation date for the given Cortex search service.
    database str
    The database in which to create the Cortex search service.
    describe_outputs Sequence[CortexSearchServiceDescribeOutputArgs]
    Outputs the result of DESCRIBE CORTEX SEARCH SERVICE for the given cortex search service.
    embedding_model str
    Specifies the embedding model to use for the Cortex search service.
    fully_qualified_name str
    Fully qualified name of the resource. For more information, see object name resolution.
    name str
    Specifies the name of the Cortex search service. The name must be unique for the schema in which the service is created.
    on str
    Specifies the column to use as the search column for the Cortex search service; must be a text value.
    query str
    Specifies the query to use to populate the Cortex search service.
    schema str
    The schema in which to create the Cortex search service.
    target_lag str
    Specifies the maximum target lag time for the Cortex search service.
    warehouse str
    The warehouse in which to create the Cortex search service.
    attributes List<String>
    Specifies the list of columns in the base table to enable filtering on when issuing queries to the service.
    comment String
    Specifies a comment for the Cortex search service.
    createdOn String
    Creation date for the given Cortex search service.
    database String
    The database in which to create the Cortex search service.
    describeOutputs List<Property Map>
    Outputs the result of DESCRIBE CORTEX SEARCH SERVICE for the given cortex search service.
    embeddingModel String
    Specifies the embedding model to use for the Cortex search service.
    fullyQualifiedName String
    Fully qualified name of the resource. For more information, see object name resolution.
    name String
    Specifies the name of the Cortex search service. The name must be unique for the schema in which the service is created.
    on String
    Specifies the column to use as the search column for the Cortex search service; must be a text value.
    query String
    Specifies the query to use to populate the Cortex search service.
    schema String
    The schema in which to create the Cortex search service.
    targetLag String
    Specifies the maximum target lag time for the Cortex search service.
    warehouse String
    The warehouse in which to create the Cortex search service.

    Supporting Types

    CortexSearchServiceDescribeOutput, CortexSearchServiceDescribeOutputArgs

    AttributeColumns List<string>
    Columns List<string>
    Comment string
    CreatedOn string
    DataTimestamp string
    DatabaseName string
    Definition string
    EmbeddingModel string
    IndexingError string
    IndexingState string
    Name string
    SchemaName string
    SearchColumn string
    ServiceQueryUrl string
    SourceDataNumRows int
    TargetLag string
    Warehouse string
    attributeColumns List<String>
    columns List<String>
    comment String
    createdOn String
    dataTimestamp String
    databaseName String
    definition String
    embeddingModel String
    indexingError String
    indexingState String
    name String
    schemaName String
    searchColumn String
    serviceQueryUrl String
    sourceDataNumRows Integer
    targetLag String
    warehouse String
    attributeColumns List<String>
    columns List<String>
    comment String
    createdOn String
    dataTimestamp String
    databaseName String
    definition String
    embeddingModel String
    indexingError String
    indexingState String
    name String
    schemaName String
    searchColumn String
    serviceQueryUrl String
    sourceDataNumRows Number
    targetLag String
    warehouse String

    Import

    $ pulumi import snowflake:index/cortexSearchService:CortexSearchService example 'dbName|schemaName|fileFormatName'
    

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

    Package Details

    Repository
    Snowflake pulumi/pulumi-snowflake
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the snowflake Terraform Provider.
    snowflake logo
    Snowflake v2.13.0 published on Thursday, Feb 26, 2026 by Pulumi
      Meet Neo: Your AI Platform Teammate