1. Packages
  2. Snowflake
  3. API Docs
  4. ObjectParameter
Snowflake v0.52.0 published on Thursday, Apr 18, 2024 by Pulumi

snowflake.ObjectParameter

Explore with Pulumi AI

snowflake logo
Snowflake v0.52.0 published on Thursday, Apr 18, 2024 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as snowflake from "@pulumi/snowflake";
    
    const database = new snowflake.Database("database", {});
    const objectParameter = new snowflake.ObjectParameter("objectParameter", {
        key: "SUSPEND_TASK_AFTER_NUM_FAILURES",
        value: "33",
        objectType: "DATABASE",
        objectIdentifiers: [{
            name: database.name,
        }],
    });
    const schema = new snowflake.Schema("schema", {database: database.name});
    const o2 = new snowflake.ObjectParameter("o2", {
        key: "USER_TASK_TIMEOUT_MS",
        value: "500",
        objectType: "SCHEMA",
        objectIdentifiers: [{
            database: database.name,
            name: schema.name,
        }],
    });
    const table = new snowflake.Table("table", {
        database: database.name,
        schema: schema.name,
        columns: [{
            name: "id",
            type: "NUMBER",
        }],
    });
    const o3 = new snowflake.ObjectParameter("o3", {
        key: "DATA_RETENTION_TIME_IN_DAYS",
        value: "89",
        objectType: "TABLE",
        objectIdentifiers: [{
            database: database.name,
            schema: schema.name,
            name: table.name,
        }],
    });
    // Setting object parameter at account level
    const o4 = new snowflake.ObjectParameter("o4", {
        key: "DATA_RETENTION_TIME_IN_DAYS",
        value: "89",
        onAccount: true,
    });
    
    import pulumi
    import pulumi_snowflake as snowflake
    
    database = snowflake.Database("database")
    object_parameter = snowflake.ObjectParameter("objectParameter",
        key="SUSPEND_TASK_AFTER_NUM_FAILURES",
        value="33",
        object_type="DATABASE",
        object_identifiers=[snowflake.ObjectParameterObjectIdentifierArgs(
            name=database.name,
        )])
    schema = snowflake.Schema("schema", database=database.name)
    o2 = snowflake.ObjectParameter("o2",
        key="USER_TASK_TIMEOUT_MS",
        value="500",
        object_type="SCHEMA",
        object_identifiers=[snowflake.ObjectParameterObjectIdentifierArgs(
            database=database.name,
            name=schema.name,
        )])
    table = snowflake.Table("table",
        database=database.name,
        schema=schema.name,
        columns=[snowflake.TableColumnArgs(
            name="id",
            type="NUMBER",
        )])
    o3 = snowflake.ObjectParameter("o3",
        key="DATA_RETENTION_TIME_IN_DAYS",
        value="89",
        object_type="TABLE",
        object_identifiers=[snowflake.ObjectParameterObjectIdentifierArgs(
            database=database.name,
            schema=schema.name,
            name=table.name,
        )])
    # Setting object parameter at account level
    o4 = snowflake.ObjectParameter("o4",
        key="DATA_RETENTION_TIME_IN_DAYS",
        value="89",
        on_account=True)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-snowflake/sdk/go/snowflake"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		database, err := snowflake.NewDatabase(ctx, "database", nil)
    		if err != nil {
    			return err
    		}
    		_, err = snowflake.NewObjectParameter(ctx, "objectParameter", &snowflake.ObjectParameterArgs{
    			Key:        pulumi.String("SUSPEND_TASK_AFTER_NUM_FAILURES"),
    			Value:      pulumi.String("33"),
    			ObjectType: pulumi.String("DATABASE"),
    			ObjectIdentifiers: snowflake.ObjectParameterObjectIdentifierArray{
    				&snowflake.ObjectParameterObjectIdentifierArgs{
    					Name: database.Name,
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		schema, err := snowflake.NewSchema(ctx, "schema", &snowflake.SchemaArgs{
    			Database: database.Name,
    		})
    		if err != nil {
    			return err
    		}
    		_, err = snowflake.NewObjectParameter(ctx, "o2", &snowflake.ObjectParameterArgs{
    			Key:        pulumi.String("USER_TASK_TIMEOUT_MS"),
    			Value:      pulumi.String("500"),
    			ObjectType: pulumi.String("SCHEMA"),
    			ObjectIdentifiers: snowflake.ObjectParameterObjectIdentifierArray{
    				&snowflake.ObjectParameterObjectIdentifierArgs{
    					Database: database.Name,
    					Name:     schema.Name,
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		table, err := snowflake.NewTable(ctx, "table", &snowflake.TableArgs{
    			Database: database.Name,
    			Schema:   schema.Name,
    			Columns: snowflake.TableColumnArray{
    				&snowflake.TableColumnArgs{
    					Name: pulumi.String("id"),
    					Type: pulumi.String("NUMBER"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = snowflake.NewObjectParameter(ctx, "o3", &snowflake.ObjectParameterArgs{
    			Key:        pulumi.String("DATA_RETENTION_TIME_IN_DAYS"),
    			Value:      pulumi.String("89"),
    			ObjectType: pulumi.String("TABLE"),
    			ObjectIdentifiers: snowflake.ObjectParameterObjectIdentifierArray{
    				&snowflake.ObjectParameterObjectIdentifierArgs{
    					Database: database.Name,
    					Schema:   schema.Name,
    					Name:     table.Name,
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		// Setting object parameter at account level
    		_, err = snowflake.NewObjectParameter(ctx, "o4", &snowflake.ObjectParameterArgs{
    			Key:       pulumi.String("DATA_RETENTION_TIME_IN_DAYS"),
    			Value:     pulumi.String("89"),
    			OnAccount: pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Snowflake = Pulumi.Snowflake;
    
    return await Deployment.RunAsync(() => 
    {
        var database = new Snowflake.Database("database");
    
        var objectParameter = new Snowflake.ObjectParameter("objectParameter", new()
        {
            Key = "SUSPEND_TASK_AFTER_NUM_FAILURES",
            Value = "33",
            ObjectType = "DATABASE",
            ObjectIdentifiers = new[]
            {
                new Snowflake.Inputs.ObjectParameterObjectIdentifierArgs
                {
                    Name = database.Name,
                },
            },
        });
    
        var schema = new Snowflake.Schema("schema", new()
        {
            Database = database.Name,
        });
    
        var o2 = new Snowflake.ObjectParameter("o2", new()
        {
            Key = "USER_TASK_TIMEOUT_MS",
            Value = "500",
            ObjectType = "SCHEMA",
            ObjectIdentifiers = new[]
            {
                new Snowflake.Inputs.ObjectParameterObjectIdentifierArgs
                {
                    Database = database.Name,
                    Name = schema.Name,
                },
            },
        });
    
        var table = new Snowflake.Table("table", new()
        {
            Database = database.Name,
            Schema = schema.Name,
            Columns = new[]
            {
                new Snowflake.Inputs.TableColumnArgs
                {
                    Name = "id",
                    Type = "NUMBER",
                },
            },
        });
    
        var o3 = new Snowflake.ObjectParameter("o3", new()
        {
            Key = "DATA_RETENTION_TIME_IN_DAYS",
            Value = "89",
            ObjectType = "TABLE",
            ObjectIdentifiers = new[]
            {
                new Snowflake.Inputs.ObjectParameterObjectIdentifierArgs
                {
                    Database = database.Name,
                    Schema = schema.Name,
                    Name = table.Name,
                },
            },
        });
    
        // Setting object parameter at account level
        var o4 = new Snowflake.ObjectParameter("o4", new()
        {
            Key = "DATA_RETENTION_TIME_IN_DAYS",
            Value = "89",
            OnAccount = true,
        });
    
    });
    
    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.ObjectParameter;
    import com.pulumi.snowflake.ObjectParameterArgs;
    import com.pulumi.snowflake.inputs.ObjectParameterObjectIdentifierArgs;
    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 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 database = new Database("database");
    
            var objectParameter = new ObjectParameter("objectParameter", ObjectParameterArgs.builder()        
                .key("SUSPEND_TASK_AFTER_NUM_FAILURES")
                .value("33")
                .objectType("DATABASE")
                .objectIdentifiers(ObjectParameterObjectIdentifierArgs.builder()
                    .name(database.name())
                    .build())
                .build());
    
            var schema = new Schema("schema", SchemaArgs.builder()        
                .database(database.name())
                .build());
    
            var o2 = new ObjectParameter("o2", ObjectParameterArgs.builder()        
                .key("USER_TASK_TIMEOUT_MS")
                .value("500")
                .objectType("SCHEMA")
                .objectIdentifiers(ObjectParameterObjectIdentifierArgs.builder()
                    .database(database.name())
                    .name(schema.name())
                    .build())
                .build());
    
            var table = new Table("table", TableArgs.builder()        
                .database(database.name())
                .schema(schema.name())
                .columns(TableColumnArgs.builder()
                    .name("id")
                    .type("NUMBER")
                    .build())
                .build());
    
            var o3 = new ObjectParameter("o3", ObjectParameterArgs.builder()        
                .key("DATA_RETENTION_TIME_IN_DAYS")
                .value("89")
                .objectType("TABLE")
                .objectIdentifiers(ObjectParameterObjectIdentifierArgs.builder()
                    .database(database.name())
                    .schema(schema.name())
                    .name(table.name())
                    .build())
                .build());
    
            // Setting object parameter at account level
            var o4 = new ObjectParameter("o4", ObjectParameterArgs.builder()        
                .key("DATA_RETENTION_TIME_IN_DAYS")
                .value("89")
                .onAccount(true)
                .build());
    
        }
    }
    
    resources:
      database:
        type: snowflake:Database
      objectParameter:
        type: snowflake:ObjectParameter
        properties:
          key: SUSPEND_TASK_AFTER_NUM_FAILURES
          value: '33'
          objectType: DATABASE
          objectIdentifiers:
            - name: ${database.name}
      schema:
        type: snowflake:Schema
        properties:
          database: ${database.name}
      o2:
        type: snowflake:ObjectParameter
        properties:
          key: USER_TASK_TIMEOUT_MS
          value: '500'
          objectType: SCHEMA
          objectIdentifiers:
            - database: ${database.name}
              name: ${schema.name}
      table:
        type: snowflake:Table
        properties:
          database: ${database.name}
          schema: ${schema.name}
          columns:
            - name: id
              type: NUMBER
      o3:
        type: snowflake:ObjectParameter
        properties:
          key: DATA_RETENTION_TIME_IN_DAYS
          value: '89'
          objectType: TABLE
          objectIdentifiers:
            - database: ${database.name}
              schema: ${schema.name}
              name: ${table.name}
      # Setting object parameter at account level
      o4:
        type: snowflake:ObjectParameter
        properties:
          key: DATA_RETENTION_TIME_IN_DAYS
          value: '89'
          onAccount: true
    

    Create ObjectParameter Resource

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

    Constructor syntax

    new ObjectParameter(name: string, args: ObjectParameterArgs, opts?: CustomResourceOptions);
    @overload
    def ObjectParameter(resource_name: str,
                        args: ObjectParameterArgs,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def ObjectParameter(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        key: Optional[str] = None,
                        value: Optional[str] = None,
                        object_identifiers: Optional[Sequence[ObjectParameterObjectIdentifierArgs]] = None,
                        object_type: Optional[str] = None,
                        on_account: Optional[bool] = None)
    func NewObjectParameter(ctx *Context, name string, args ObjectParameterArgs, opts ...ResourceOption) (*ObjectParameter, error)
    public ObjectParameter(string name, ObjectParameterArgs args, CustomResourceOptions? opts = null)
    public ObjectParameter(String name, ObjectParameterArgs args)
    public ObjectParameter(String name, ObjectParameterArgs args, CustomResourceOptions options)
    
    type: snowflake:ObjectParameter
    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 ObjectParameterArgs
    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 ObjectParameterArgs
    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 ObjectParameterArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ObjectParameterArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ObjectParameterArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var objectParameterResource = new Snowflake.ObjectParameter("objectParameterResource", new()
    {
        Key = "string",
        Value = "string",
        ObjectIdentifiers = new[]
        {
            new Snowflake.Inputs.ObjectParameterObjectIdentifierArgs
            {
                Name = "string",
                Database = "string",
                Schema = "string",
            },
        },
        ObjectType = "string",
        OnAccount = false,
    });
    
    example, err := snowflake.NewObjectParameter(ctx, "objectParameterResource", &snowflake.ObjectParameterArgs{
    	Key:   pulumi.String("string"),
    	Value: pulumi.String("string"),
    	ObjectIdentifiers: snowflake.ObjectParameterObjectIdentifierArray{
    		&snowflake.ObjectParameterObjectIdentifierArgs{
    			Name:     pulumi.String("string"),
    			Database: pulumi.String("string"),
    			Schema:   pulumi.String("string"),
    		},
    	},
    	ObjectType: pulumi.String("string"),
    	OnAccount:  pulumi.Bool(false),
    })
    
    var objectParameterResource = new ObjectParameter("objectParameterResource", ObjectParameterArgs.builder()        
        .key("string")
        .value("string")
        .objectIdentifiers(ObjectParameterObjectIdentifierArgs.builder()
            .name("string")
            .database("string")
            .schema("string")
            .build())
        .objectType("string")
        .onAccount(false)
        .build());
    
    object_parameter_resource = snowflake.ObjectParameter("objectParameterResource",
        key="string",
        value="string",
        object_identifiers=[snowflake.ObjectParameterObjectIdentifierArgs(
            name="string",
            database="string",
            schema="string",
        )],
        object_type="string",
        on_account=False)
    
    const objectParameterResource = new snowflake.ObjectParameter("objectParameterResource", {
        key: "string",
        value: "string",
        objectIdentifiers: [{
            name: "string",
            database: "string",
            schema: "string",
        }],
        objectType: "string",
        onAccount: false,
    });
    
    type: snowflake:ObjectParameter
    properties:
        key: string
        objectIdentifiers:
            - database: string
              name: string
              schema: string
        objectType: string
        onAccount: false
        value: string
    

    ObjectParameter Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The ObjectParameter resource accepts the following input properties:

    Key string
    Name of object parameter. Valid values are those in object parameters.
    Value string
    Value of object parameter, as a string. Constraints are the same as those for the parameters in Snowflake documentation.
    ObjectIdentifiers List<ObjectParameterObjectIdentifier>
    Specifies the object identifier for the object parameter. If no value is provided, then the resource will default to setting the object parameter at account level.
    ObjectType string
    Type of object to which the parameter applies. Valid values are those in object types. If no value is provided, then the resource will default to setting the object parameter at account level.
    OnAccount bool
    If true, the object parameter will be set on the account level.
    Key string
    Name of object parameter. Valid values are those in object parameters.
    Value string
    Value of object parameter, as a string. Constraints are the same as those for the parameters in Snowflake documentation.
    ObjectIdentifiers []ObjectParameterObjectIdentifierArgs
    Specifies the object identifier for the object parameter. If no value is provided, then the resource will default to setting the object parameter at account level.
    ObjectType string
    Type of object to which the parameter applies. Valid values are those in object types. If no value is provided, then the resource will default to setting the object parameter at account level.
    OnAccount bool
    If true, the object parameter will be set on the account level.
    key String
    Name of object parameter. Valid values are those in object parameters.
    value String
    Value of object parameter, as a string. Constraints are the same as those for the parameters in Snowflake documentation.
    objectIdentifiers List<ObjectParameterObjectIdentifier>
    Specifies the object identifier for the object parameter. If no value is provided, then the resource will default to setting the object parameter at account level.
    objectType String
    Type of object to which the parameter applies. Valid values are those in object types. If no value is provided, then the resource will default to setting the object parameter at account level.
    onAccount Boolean
    If true, the object parameter will be set on the account level.
    key string
    Name of object parameter. Valid values are those in object parameters.
    value string
    Value of object parameter, as a string. Constraints are the same as those for the parameters in Snowflake documentation.
    objectIdentifiers ObjectParameterObjectIdentifier[]
    Specifies the object identifier for the object parameter. If no value is provided, then the resource will default to setting the object parameter at account level.
    objectType string
    Type of object to which the parameter applies. Valid values are those in object types. If no value is provided, then the resource will default to setting the object parameter at account level.
    onAccount boolean
    If true, the object parameter will be set on the account level.
    key str
    Name of object parameter. Valid values are those in object parameters.
    value str
    Value of object parameter, as a string. Constraints are the same as those for the parameters in Snowflake documentation.
    object_identifiers Sequence[ObjectParameterObjectIdentifierArgs]
    Specifies the object identifier for the object parameter. If no value is provided, then the resource will default to setting the object parameter at account level.
    object_type str
    Type of object to which the parameter applies. Valid values are those in object types. If no value is provided, then the resource will default to setting the object parameter at account level.
    on_account bool
    If true, the object parameter will be set on the account level.
    key String
    Name of object parameter. Valid values are those in object parameters.
    value String
    Value of object parameter, as a string. Constraints are the same as those for the parameters in Snowflake documentation.
    objectIdentifiers List<Property Map>
    Specifies the object identifier for the object parameter. If no value is provided, then the resource will default to setting the object parameter at account level.
    objectType String
    Type of object to which the parameter applies. Valid values are those in object types. If no value is provided, then the resource will default to setting the object parameter at account level.
    onAccount Boolean
    If true, the object parameter will be set on the account level.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ObjectParameter 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 str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing ObjectParameter Resource

    Get an existing ObjectParameter 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?: ObjectParameterState, opts?: CustomResourceOptions): ObjectParameter
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            key: Optional[str] = None,
            object_identifiers: Optional[Sequence[ObjectParameterObjectIdentifierArgs]] = None,
            object_type: Optional[str] = None,
            on_account: Optional[bool] = None,
            value: Optional[str] = None) -> ObjectParameter
    func GetObjectParameter(ctx *Context, name string, id IDInput, state *ObjectParameterState, opts ...ResourceOption) (*ObjectParameter, error)
    public static ObjectParameter Get(string name, Input<string> id, ObjectParameterState? state, CustomResourceOptions? opts = null)
    public static ObjectParameter get(String name, Output<String> id, ObjectParameterState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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:
    Key string
    Name of object parameter. Valid values are those in object parameters.
    ObjectIdentifiers List<ObjectParameterObjectIdentifier>
    Specifies the object identifier for the object parameter. If no value is provided, then the resource will default to setting the object parameter at account level.
    ObjectType string
    Type of object to which the parameter applies. Valid values are those in object types. If no value is provided, then the resource will default to setting the object parameter at account level.
    OnAccount bool
    If true, the object parameter will be set on the account level.
    Value string
    Value of object parameter, as a string. Constraints are the same as those for the parameters in Snowflake documentation.
    Key string
    Name of object parameter. Valid values are those in object parameters.
    ObjectIdentifiers []ObjectParameterObjectIdentifierArgs
    Specifies the object identifier for the object parameter. If no value is provided, then the resource will default to setting the object parameter at account level.
    ObjectType string
    Type of object to which the parameter applies. Valid values are those in object types. If no value is provided, then the resource will default to setting the object parameter at account level.
    OnAccount bool
    If true, the object parameter will be set on the account level.
    Value string
    Value of object parameter, as a string. Constraints are the same as those for the parameters in Snowflake documentation.
    key String
    Name of object parameter. Valid values are those in object parameters.
    objectIdentifiers List<ObjectParameterObjectIdentifier>
    Specifies the object identifier for the object parameter. If no value is provided, then the resource will default to setting the object parameter at account level.
    objectType String
    Type of object to which the parameter applies. Valid values are those in object types. If no value is provided, then the resource will default to setting the object parameter at account level.
    onAccount Boolean
    If true, the object parameter will be set on the account level.
    value String
    Value of object parameter, as a string. Constraints are the same as those for the parameters in Snowflake documentation.
    key string
    Name of object parameter. Valid values are those in object parameters.
    objectIdentifiers ObjectParameterObjectIdentifier[]
    Specifies the object identifier for the object parameter. If no value is provided, then the resource will default to setting the object parameter at account level.
    objectType string
    Type of object to which the parameter applies. Valid values are those in object types. If no value is provided, then the resource will default to setting the object parameter at account level.
    onAccount boolean
    If true, the object parameter will be set on the account level.
    value string
    Value of object parameter, as a string. Constraints are the same as those for the parameters in Snowflake documentation.
    key str
    Name of object parameter. Valid values are those in object parameters.
    object_identifiers Sequence[ObjectParameterObjectIdentifierArgs]
    Specifies the object identifier for the object parameter. If no value is provided, then the resource will default to setting the object parameter at account level.
    object_type str
    Type of object to which the parameter applies. Valid values are those in object types. If no value is provided, then the resource will default to setting the object parameter at account level.
    on_account bool
    If true, the object parameter will be set on the account level.
    value str
    Value of object parameter, as a string. Constraints are the same as those for the parameters in Snowflake documentation.
    key String
    Name of object parameter. Valid values are those in object parameters.
    objectIdentifiers List<Property Map>
    Specifies the object identifier for the object parameter. If no value is provided, then the resource will default to setting the object parameter at account level.
    objectType String
    Type of object to which the parameter applies. Valid values are those in object types. If no value is provided, then the resource will default to setting the object parameter at account level.
    onAccount Boolean
    If true, the object parameter will be set on the account level.
    value String
    Value of object parameter, as a string. Constraints are the same as those for the parameters in Snowflake documentation.

    Supporting Types

    ObjectParameterObjectIdentifier, ObjectParameterObjectIdentifierArgs

    Name string
    Name of the object to set the parameter for.
    Database string
    Name of the database that the object was created in.
    Schema string
    Name of the schema that the object was created in.
    Name string
    Name of the object to set the parameter for.
    Database string
    Name of the database that the object was created in.
    Schema string
    Name of the schema that the object was created in.
    name String
    Name of the object to set the parameter for.
    database String
    Name of the database that the object was created in.
    schema String
    Name of the schema that the object was created in.
    name string
    Name of the object to set the parameter for.
    database string
    Name of the database that the object was created in.
    schema string
    Name of the schema that the object was created in.
    name str
    Name of the object to set the parameter for.
    database str
    Name of the database that the object was created in.
    schema str
    Name of the schema that the object was created in.
    name String
    Name of the object to set the parameter for.
    database String
    Name of the database that the object was created in.
    schema String
    Name of the schema that the object was created in.

    Import

    $ pulumi import snowflake:index/objectParameter:ObjectParameter s <key>❄️<object_type>❄️<object_identifier>
    

    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 v0.52.0 published on Thursday, Apr 18, 2024 by Pulumi