1. Packages
  2. Snowflake Provider
  3. API Docs
  4. GrantPrivilegesToAccountRole
Snowflake v1.2.0 published on Monday, Apr 14, 2025 by Pulumi

snowflake.GrantPrivilegesToAccountRole

Explore with Pulumi AI

Import

Import examples

Grant all privileges OnAccountObject (Database)

$ pulumi import snowflake:index/grantPrivilegesToAccountRole:GrantPrivilegesToAccountRole example '"test_db_role"|false|false|ALL|OnAccountObject|DATABASE|"test_db"'`
Copy

Grant list of privileges OnAllSchemasInDatabase

$ pulumi import snowflake:index/grantPrivilegesToAccountRole:GrantPrivilegesToAccountRole example '"test_db_role"|false|false|CREATE TAG,CREATE TABLE|OnSchema|OnAllSchemasInDatabase|"test_db"'`
Copy

Grant list of privileges on table

$ pulumi import snowflake:index/grantPrivilegesToAccountRole:GrantPrivilegesToAccountRole example '"test_db_role"|false|false|SELECT,DELETE,INSERT|OnSchemaObject|OnObject|TABLE|"test_db"."test_schema"."test_table"'`
Copy

Grant list of privileges OnAll tables in schema

$ pulumi import snowflake:index/grantPrivilegesToAccountRole:GrantPrivilegesToAccountRole example '"test_db_role"|false|false|SELECT,DELETE,INSERT|OnSchemaObject|OnAll|TABLES|InSchema|"test_db"."test_schema"'`
Copy

Create GrantPrivilegesToAccountRole Resource

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

Constructor syntax

new GrantPrivilegesToAccountRole(name: string, args: GrantPrivilegesToAccountRoleArgs, opts?: CustomResourceOptions);
@overload
def GrantPrivilegesToAccountRole(resource_name: str,
                                 args: GrantPrivilegesToAccountRoleArgs,
                                 opts: Optional[ResourceOptions] = None)

@overload
def GrantPrivilegesToAccountRole(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 account_role_name: Optional[str] = None,
                                 all_privileges: Optional[bool] = None,
                                 always_apply: Optional[bool] = None,
                                 always_apply_trigger: Optional[str] = None,
                                 on_account: Optional[bool] = None,
                                 on_account_object: Optional[GrantPrivilegesToAccountRoleOnAccountObjectArgs] = None,
                                 on_schema: Optional[GrantPrivilegesToAccountRoleOnSchemaArgs] = None,
                                 on_schema_object: Optional[GrantPrivilegesToAccountRoleOnSchemaObjectArgs] = None,
                                 privileges: Optional[Sequence[str]] = None,
                                 with_grant_option: Optional[bool] = None)
func NewGrantPrivilegesToAccountRole(ctx *Context, name string, args GrantPrivilegesToAccountRoleArgs, opts ...ResourceOption) (*GrantPrivilegesToAccountRole, error)
public GrantPrivilegesToAccountRole(string name, GrantPrivilegesToAccountRoleArgs args, CustomResourceOptions? opts = null)
public GrantPrivilegesToAccountRole(String name, GrantPrivilegesToAccountRoleArgs args)
public GrantPrivilegesToAccountRole(String name, GrantPrivilegesToAccountRoleArgs args, CustomResourceOptions options)
type: snowflake:GrantPrivilegesToAccountRole
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. GrantPrivilegesToAccountRoleArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. GrantPrivilegesToAccountRoleArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. GrantPrivilegesToAccountRoleArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. GrantPrivilegesToAccountRoleArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. GrantPrivilegesToAccountRoleArgs
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 grantPrivilegesToAccountRoleResource = new Snowflake.GrantPrivilegesToAccountRole("grantPrivilegesToAccountRoleResource", new()
{
    AccountRoleName = "string",
    AllPrivileges = false,
    AlwaysApply = false,
    AlwaysApplyTrigger = "string",
    OnAccount = false,
    OnAccountObject = new Snowflake.Inputs.GrantPrivilegesToAccountRoleOnAccountObjectArgs
    {
        ObjectName = "string",
        ObjectType = "string",
    },
    OnSchema = new Snowflake.Inputs.GrantPrivilegesToAccountRoleOnSchemaArgs
    {
        AllSchemasInDatabase = "string",
        FutureSchemasInDatabase = "string",
        SchemaName = "string",
    },
    OnSchemaObject = new Snowflake.Inputs.GrantPrivilegesToAccountRoleOnSchemaObjectArgs
    {
        All = new Snowflake.Inputs.GrantPrivilegesToAccountRoleOnSchemaObjectAllArgs
        {
            ObjectTypePlural = "string",
            InDatabase = "string",
            InSchema = "string",
        },
        Future = new Snowflake.Inputs.GrantPrivilegesToAccountRoleOnSchemaObjectFutureArgs
        {
            ObjectTypePlural = "string",
            InDatabase = "string",
            InSchema = "string",
        },
        ObjectName = "string",
        ObjectType = "string",
    },
    Privileges = new[]
    {
        "string",
    },
    WithGrantOption = false,
});
Copy
example, err := snowflake.NewGrantPrivilegesToAccountRole(ctx, "grantPrivilegesToAccountRoleResource", &snowflake.GrantPrivilegesToAccountRoleArgs{
	AccountRoleName:    pulumi.String("string"),
	AllPrivileges:      pulumi.Bool(false),
	AlwaysApply:        pulumi.Bool(false),
	AlwaysApplyTrigger: pulumi.String("string"),
	OnAccount:          pulumi.Bool(false),
	OnAccountObject: &snowflake.GrantPrivilegesToAccountRoleOnAccountObjectArgs{
		ObjectName: pulumi.String("string"),
		ObjectType: pulumi.String("string"),
	},
	OnSchema: &snowflake.GrantPrivilegesToAccountRoleOnSchemaArgs{
		AllSchemasInDatabase:    pulumi.String("string"),
		FutureSchemasInDatabase: pulumi.String("string"),
		SchemaName:              pulumi.String("string"),
	},
	OnSchemaObject: &snowflake.GrantPrivilegesToAccountRoleOnSchemaObjectArgs{
		All: &snowflake.GrantPrivilegesToAccountRoleOnSchemaObjectAllArgs{
			ObjectTypePlural: pulumi.String("string"),
			InDatabase:       pulumi.String("string"),
			InSchema:         pulumi.String("string"),
		},
		Future: &snowflake.GrantPrivilegesToAccountRoleOnSchemaObjectFutureArgs{
			ObjectTypePlural: pulumi.String("string"),
			InDatabase:       pulumi.String("string"),
			InSchema:         pulumi.String("string"),
		},
		ObjectName: pulumi.String("string"),
		ObjectType: pulumi.String("string"),
	},
	Privileges: pulumi.StringArray{
		pulumi.String("string"),
	},
	WithGrantOption: pulumi.Bool(false),
})
Copy
var grantPrivilegesToAccountRoleResource = new GrantPrivilegesToAccountRole("grantPrivilegesToAccountRoleResource", GrantPrivilegesToAccountRoleArgs.builder()
    .accountRoleName("string")
    .allPrivileges(false)
    .alwaysApply(false)
    .alwaysApplyTrigger("string")
    .onAccount(false)
    .onAccountObject(GrantPrivilegesToAccountRoleOnAccountObjectArgs.builder()
        .objectName("string")
        .objectType("string")
        .build())
    .onSchema(GrantPrivilegesToAccountRoleOnSchemaArgs.builder()
        .allSchemasInDatabase("string")
        .futureSchemasInDatabase("string")
        .schemaName("string")
        .build())
    .onSchemaObject(GrantPrivilegesToAccountRoleOnSchemaObjectArgs.builder()
        .all(GrantPrivilegesToAccountRoleOnSchemaObjectAllArgs.builder()
            .objectTypePlural("string")
            .inDatabase("string")
            .inSchema("string")
            .build())
        .future(GrantPrivilegesToAccountRoleOnSchemaObjectFutureArgs.builder()
            .objectTypePlural("string")
            .inDatabase("string")
            .inSchema("string")
            .build())
        .objectName("string")
        .objectType("string")
        .build())
    .privileges("string")
    .withGrantOption(false)
    .build());
Copy
grant_privileges_to_account_role_resource = snowflake.GrantPrivilegesToAccountRole("grantPrivilegesToAccountRoleResource",
    account_role_name="string",
    all_privileges=False,
    always_apply=False,
    always_apply_trigger="string",
    on_account=False,
    on_account_object={
        "object_name": "string",
        "object_type": "string",
    },
    on_schema={
        "all_schemas_in_database": "string",
        "future_schemas_in_database": "string",
        "schema_name": "string",
    },
    on_schema_object={
        "all": {
            "object_type_plural": "string",
            "in_database": "string",
            "in_schema": "string",
        },
        "future": {
            "object_type_plural": "string",
            "in_database": "string",
            "in_schema": "string",
        },
        "object_name": "string",
        "object_type": "string",
    },
    privileges=["string"],
    with_grant_option=False)
Copy
const grantPrivilegesToAccountRoleResource = new snowflake.GrantPrivilegesToAccountRole("grantPrivilegesToAccountRoleResource", {
    accountRoleName: "string",
    allPrivileges: false,
    alwaysApply: false,
    alwaysApplyTrigger: "string",
    onAccount: false,
    onAccountObject: {
        objectName: "string",
        objectType: "string",
    },
    onSchema: {
        allSchemasInDatabase: "string",
        futureSchemasInDatabase: "string",
        schemaName: "string",
    },
    onSchemaObject: {
        all: {
            objectTypePlural: "string",
            inDatabase: "string",
            inSchema: "string",
        },
        future: {
            objectTypePlural: "string",
            inDatabase: "string",
            inSchema: "string",
        },
        objectName: "string",
        objectType: "string",
    },
    privileges: ["string"],
    withGrantOption: false,
});
Copy
type: snowflake:GrantPrivilegesToAccountRole
properties:
    accountRoleName: string
    allPrivileges: false
    alwaysApply: false
    alwaysApplyTrigger: string
    onAccount: false
    onAccountObject:
        objectName: string
        objectType: string
    onSchema:
        allSchemasInDatabase: string
        futureSchemasInDatabase: string
        schemaName: string
    onSchemaObject:
        all:
            inDatabase: string
            inSchema: string
            objectTypePlural: string
        future:
            inDatabase: string
            inSchema: string
            objectTypePlural: string
        objectName: string
        objectType: string
    privileges:
        - string
    withGrantOption: false
Copy

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

AccountRoleName
This property is required.
Changes to this property will trigger replacement.
string
The fully qualified name of the account role to which privileges will be granted. For more information about this resource, see docs.
AllPrivileges bool
(Default: false) Grant all privileges on the account role. When all privileges cannot be granted, the provider returns a warning, which is aligned with the Snowsight behavior.
AlwaysApply bool
AlwaysApplyTrigger string
(Default: ``) This is a helper field and should not be set. Its main purpose is to help to achieve the functionality described by the always_apply field.
OnAccount Changes to this property will trigger replacement. bool
(Default: false) If true, the privileges will be granted on the account.
OnAccountObject Changes to this property will trigger replacement. GrantPrivilegesToAccountRoleOnAccountObject
Specifies the account object on which privileges will be granted
OnSchema Changes to this property will trigger replacement. GrantPrivilegesToAccountRoleOnSchema
Specifies the schema on which privileges will be granted.
OnSchemaObject Changes to this property will trigger replacement. GrantPrivilegesToAccountRoleOnSchemaObject
Specifies the schema object on which privileges will be granted.
Privileges List<string>
The privileges to grant on the account role. This field is case-sensitive; use only upper-case privileges.
WithGrantOption Changes to this property will trigger replacement. bool
(Default: false) Specifies whether the grantee can grant the privileges to other users.
AccountRoleName
This property is required.
Changes to this property will trigger replacement.
string
The fully qualified name of the account role to which privileges will be granted. For more information about this resource, see docs.
AllPrivileges bool
(Default: false) Grant all privileges on the account role. When all privileges cannot be granted, the provider returns a warning, which is aligned with the Snowsight behavior.
AlwaysApply bool
AlwaysApplyTrigger string
(Default: ``) This is a helper field and should not be set. Its main purpose is to help to achieve the functionality described by the always_apply field.
OnAccount Changes to this property will trigger replacement. bool
(Default: false) If true, the privileges will be granted on the account.
OnAccountObject Changes to this property will trigger replacement. GrantPrivilegesToAccountRoleOnAccountObjectArgs
Specifies the account object on which privileges will be granted
OnSchema Changes to this property will trigger replacement. GrantPrivilegesToAccountRoleOnSchemaArgs
Specifies the schema on which privileges will be granted.
OnSchemaObject Changes to this property will trigger replacement. GrantPrivilegesToAccountRoleOnSchemaObjectArgs
Specifies the schema object on which privileges will be granted.
Privileges []string
The privileges to grant on the account role. This field is case-sensitive; use only upper-case privileges.
WithGrantOption Changes to this property will trigger replacement. bool
(Default: false) Specifies whether the grantee can grant the privileges to other users.
accountRoleName
This property is required.
Changes to this property will trigger replacement.
String
The fully qualified name of the account role to which privileges will be granted. For more information about this resource, see docs.
allPrivileges Boolean
(Default: false) Grant all privileges on the account role. When all privileges cannot be granted, the provider returns a warning, which is aligned with the Snowsight behavior.
alwaysApply Boolean
alwaysApplyTrigger String
(Default: ``) This is a helper field and should not be set. Its main purpose is to help to achieve the functionality described by the always_apply field.
onAccount Changes to this property will trigger replacement. Boolean
(Default: false) If true, the privileges will be granted on the account.
onAccountObject Changes to this property will trigger replacement. GrantPrivilegesToAccountRoleOnAccountObject
Specifies the account object on which privileges will be granted
onSchema Changes to this property will trigger replacement. GrantPrivilegesToAccountRoleOnSchema
Specifies the schema on which privileges will be granted.
onSchemaObject Changes to this property will trigger replacement. GrantPrivilegesToAccountRoleOnSchemaObject
Specifies the schema object on which privileges will be granted.
privileges List<String>
The privileges to grant on the account role. This field is case-sensitive; use only upper-case privileges.
withGrantOption Changes to this property will trigger replacement. Boolean
(Default: false) Specifies whether the grantee can grant the privileges to other users.
accountRoleName
This property is required.
Changes to this property will trigger replacement.
string
The fully qualified name of the account role to which privileges will be granted. For more information about this resource, see docs.
allPrivileges boolean
(Default: false) Grant all privileges on the account role. When all privileges cannot be granted, the provider returns a warning, which is aligned with the Snowsight behavior.
alwaysApply boolean
alwaysApplyTrigger string
(Default: ``) This is a helper field and should not be set. Its main purpose is to help to achieve the functionality described by the always_apply field.
onAccount Changes to this property will trigger replacement. boolean
(Default: false) If true, the privileges will be granted on the account.
onAccountObject Changes to this property will trigger replacement. GrantPrivilegesToAccountRoleOnAccountObject
Specifies the account object on which privileges will be granted
onSchema Changes to this property will trigger replacement. GrantPrivilegesToAccountRoleOnSchema
Specifies the schema on which privileges will be granted.
onSchemaObject Changes to this property will trigger replacement. GrantPrivilegesToAccountRoleOnSchemaObject
Specifies the schema object on which privileges will be granted.
privileges string[]
The privileges to grant on the account role. This field is case-sensitive; use only upper-case privileges.
withGrantOption Changes to this property will trigger replacement. boolean
(Default: false) Specifies whether the grantee can grant the privileges to other users.
account_role_name
This property is required.
Changes to this property will trigger replacement.
str
The fully qualified name of the account role to which privileges will be granted. For more information about this resource, see docs.
all_privileges bool
(Default: false) Grant all privileges on the account role. When all privileges cannot be granted, the provider returns a warning, which is aligned with the Snowsight behavior.
always_apply bool
always_apply_trigger str
(Default: ``) This is a helper field and should not be set. Its main purpose is to help to achieve the functionality described by the always_apply field.
on_account Changes to this property will trigger replacement. bool
(Default: false) If true, the privileges will be granted on the account.
on_account_object Changes to this property will trigger replacement. GrantPrivilegesToAccountRoleOnAccountObjectArgs
Specifies the account object on which privileges will be granted
on_schema Changes to this property will trigger replacement. GrantPrivilegesToAccountRoleOnSchemaArgs
Specifies the schema on which privileges will be granted.
on_schema_object Changes to this property will trigger replacement. GrantPrivilegesToAccountRoleOnSchemaObjectArgs
Specifies the schema object on which privileges will be granted.
privileges Sequence[str]
The privileges to grant on the account role. This field is case-sensitive; use only upper-case privileges.
with_grant_option Changes to this property will trigger replacement. bool
(Default: false) Specifies whether the grantee can grant the privileges to other users.
accountRoleName
This property is required.
Changes to this property will trigger replacement.
String
The fully qualified name of the account role to which privileges will be granted. For more information about this resource, see docs.
allPrivileges Boolean
(Default: false) Grant all privileges on the account role. When all privileges cannot be granted, the provider returns a warning, which is aligned with the Snowsight behavior.
alwaysApply Boolean
alwaysApplyTrigger String
(Default: ``) This is a helper field and should not be set. Its main purpose is to help to achieve the functionality described by the always_apply field.
onAccount Changes to this property will trigger replacement. Boolean
(Default: false) If true, the privileges will be granted on the account.
onAccountObject Changes to this property will trigger replacement. Property Map
Specifies the account object on which privileges will be granted
onSchema Changes to this property will trigger replacement. Property Map
Specifies the schema on which privileges will be granted.
onSchemaObject Changes to this property will trigger replacement. Property Map
Specifies the schema object on which privileges will be granted.
privileges List<String>
The privileges to grant on the account role. This field is case-sensitive; use only upper-case privileges.
withGrantOption Changes to this property will trigger replacement. Boolean
(Default: false) Specifies whether the grantee can grant the privileges to other users.

Outputs

All input properties are implicitly available as output properties. Additionally, the GrantPrivilegesToAccountRole 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 GrantPrivilegesToAccountRole Resource

Get an existing GrantPrivilegesToAccountRole 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?: GrantPrivilegesToAccountRoleState, opts?: CustomResourceOptions): GrantPrivilegesToAccountRole
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        account_role_name: Optional[str] = None,
        all_privileges: Optional[bool] = None,
        always_apply: Optional[bool] = None,
        always_apply_trigger: Optional[str] = None,
        on_account: Optional[bool] = None,
        on_account_object: Optional[GrantPrivilegesToAccountRoleOnAccountObjectArgs] = None,
        on_schema: Optional[GrantPrivilegesToAccountRoleOnSchemaArgs] = None,
        on_schema_object: Optional[GrantPrivilegesToAccountRoleOnSchemaObjectArgs] = None,
        privileges: Optional[Sequence[str]] = None,
        with_grant_option: Optional[bool] = None) -> GrantPrivilegesToAccountRole
func GetGrantPrivilegesToAccountRole(ctx *Context, name string, id IDInput, state *GrantPrivilegesToAccountRoleState, opts ...ResourceOption) (*GrantPrivilegesToAccountRole, error)
public static GrantPrivilegesToAccountRole Get(string name, Input<string> id, GrantPrivilegesToAccountRoleState? state, CustomResourceOptions? opts = null)
public static GrantPrivilegesToAccountRole get(String name, Output<String> id, GrantPrivilegesToAccountRoleState state, CustomResourceOptions options)
resources:  _:    type: snowflake:GrantPrivilegesToAccountRole    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
AccountRoleName Changes to this property will trigger replacement. string
The fully qualified name of the account role to which privileges will be granted. For more information about this resource, see docs.
AllPrivileges bool
(Default: false) Grant all privileges on the account role. When all privileges cannot be granted, the provider returns a warning, which is aligned with the Snowsight behavior.
AlwaysApply bool
AlwaysApplyTrigger string
(Default: ``) This is a helper field and should not be set. Its main purpose is to help to achieve the functionality described by the always_apply field.
OnAccount Changes to this property will trigger replacement. bool
(Default: false) If true, the privileges will be granted on the account.
OnAccountObject Changes to this property will trigger replacement. GrantPrivilegesToAccountRoleOnAccountObject
Specifies the account object on which privileges will be granted
OnSchema Changes to this property will trigger replacement. GrantPrivilegesToAccountRoleOnSchema
Specifies the schema on which privileges will be granted.
OnSchemaObject Changes to this property will trigger replacement. GrantPrivilegesToAccountRoleOnSchemaObject
Specifies the schema object on which privileges will be granted.
Privileges List<string>
The privileges to grant on the account role. This field is case-sensitive; use only upper-case privileges.
WithGrantOption Changes to this property will trigger replacement. bool
(Default: false) Specifies whether the grantee can grant the privileges to other users.
AccountRoleName Changes to this property will trigger replacement. string
The fully qualified name of the account role to which privileges will be granted. For more information about this resource, see docs.
AllPrivileges bool
(Default: false) Grant all privileges on the account role. When all privileges cannot be granted, the provider returns a warning, which is aligned with the Snowsight behavior.
AlwaysApply bool
AlwaysApplyTrigger string
(Default: ``) This is a helper field and should not be set. Its main purpose is to help to achieve the functionality described by the always_apply field.
OnAccount Changes to this property will trigger replacement. bool
(Default: false) If true, the privileges will be granted on the account.
OnAccountObject Changes to this property will trigger replacement. GrantPrivilegesToAccountRoleOnAccountObjectArgs
Specifies the account object on which privileges will be granted
OnSchema Changes to this property will trigger replacement. GrantPrivilegesToAccountRoleOnSchemaArgs
Specifies the schema on which privileges will be granted.
OnSchemaObject Changes to this property will trigger replacement. GrantPrivilegesToAccountRoleOnSchemaObjectArgs
Specifies the schema object on which privileges will be granted.
Privileges []string
The privileges to grant on the account role. This field is case-sensitive; use only upper-case privileges.
WithGrantOption Changes to this property will trigger replacement. bool
(Default: false) Specifies whether the grantee can grant the privileges to other users.
accountRoleName Changes to this property will trigger replacement. String
The fully qualified name of the account role to which privileges will be granted. For more information about this resource, see docs.
allPrivileges Boolean
(Default: false) Grant all privileges on the account role. When all privileges cannot be granted, the provider returns a warning, which is aligned with the Snowsight behavior.
alwaysApply Boolean
alwaysApplyTrigger String
(Default: ``) This is a helper field and should not be set. Its main purpose is to help to achieve the functionality described by the always_apply field.
onAccount Changes to this property will trigger replacement. Boolean
(Default: false) If true, the privileges will be granted on the account.
onAccountObject Changes to this property will trigger replacement. GrantPrivilegesToAccountRoleOnAccountObject
Specifies the account object on which privileges will be granted
onSchema Changes to this property will trigger replacement. GrantPrivilegesToAccountRoleOnSchema
Specifies the schema on which privileges will be granted.
onSchemaObject Changes to this property will trigger replacement. GrantPrivilegesToAccountRoleOnSchemaObject
Specifies the schema object on which privileges will be granted.
privileges List<String>
The privileges to grant on the account role. This field is case-sensitive; use only upper-case privileges.
withGrantOption Changes to this property will trigger replacement. Boolean
(Default: false) Specifies whether the grantee can grant the privileges to other users.
accountRoleName Changes to this property will trigger replacement. string
The fully qualified name of the account role to which privileges will be granted. For more information about this resource, see docs.
allPrivileges boolean
(Default: false) Grant all privileges on the account role. When all privileges cannot be granted, the provider returns a warning, which is aligned with the Snowsight behavior.
alwaysApply boolean
alwaysApplyTrigger string
(Default: ``) This is a helper field and should not be set. Its main purpose is to help to achieve the functionality described by the always_apply field.
onAccount Changes to this property will trigger replacement. boolean
(Default: false) If true, the privileges will be granted on the account.
onAccountObject Changes to this property will trigger replacement. GrantPrivilegesToAccountRoleOnAccountObject
Specifies the account object on which privileges will be granted
onSchema Changes to this property will trigger replacement. GrantPrivilegesToAccountRoleOnSchema
Specifies the schema on which privileges will be granted.
onSchemaObject Changes to this property will trigger replacement. GrantPrivilegesToAccountRoleOnSchemaObject
Specifies the schema object on which privileges will be granted.
privileges string[]
The privileges to grant on the account role. This field is case-sensitive; use only upper-case privileges.
withGrantOption Changes to this property will trigger replacement. boolean
(Default: false) Specifies whether the grantee can grant the privileges to other users.
account_role_name Changes to this property will trigger replacement. str
The fully qualified name of the account role to which privileges will be granted. For more information about this resource, see docs.
all_privileges bool
(Default: false) Grant all privileges on the account role. When all privileges cannot be granted, the provider returns a warning, which is aligned with the Snowsight behavior.
always_apply bool
always_apply_trigger str
(Default: ``) This is a helper field and should not be set. Its main purpose is to help to achieve the functionality described by the always_apply field.
on_account Changes to this property will trigger replacement. bool
(Default: false) If true, the privileges will be granted on the account.
on_account_object Changes to this property will trigger replacement. GrantPrivilegesToAccountRoleOnAccountObjectArgs
Specifies the account object on which privileges will be granted
on_schema Changes to this property will trigger replacement. GrantPrivilegesToAccountRoleOnSchemaArgs
Specifies the schema on which privileges will be granted.
on_schema_object Changes to this property will trigger replacement. GrantPrivilegesToAccountRoleOnSchemaObjectArgs
Specifies the schema object on which privileges will be granted.
privileges Sequence[str]
The privileges to grant on the account role. This field is case-sensitive; use only upper-case privileges.
with_grant_option Changes to this property will trigger replacement. bool
(Default: false) Specifies whether the grantee can grant the privileges to other users.
accountRoleName Changes to this property will trigger replacement. String
The fully qualified name of the account role to which privileges will be granted. For more information about this resource, see docs.
allPrivileges Boolean
(Default: false) Grant all privileges on the account role. When all privileges cannot be granted, the provider returns a warning, which is aligned with the Snowsight behavior.
alwaysApply Boolean
alwaysApplyTrigger String
(Default: ``) This is a helper field and should not be set. Its main purpose is to help to achieve the functionality described by the always_apply field.
onAccount Changes to this property will trigger replacement. Boolean
(Default: false) If true, the privileges will be granted on the account.
onAccountObject Changes to this property will trigger replacement. Property Map
Specifies the account object on which privileges will be granted
onSchema Changes to this property will trigger replacement. Property Map
Specifies the schema on which privileges will be granted.
onSchemaObject Changes to this property will trigger replacement. Property Map
Specifies the schema object on which privileges will be granted.
privileges List<String>
The privileges to grant on the account role. This field is case-sensitive; use only upper-case privileges.
withGrantOption Changes to this property will trigger replacement. Boolean
(Default: false) Specifies whether the grantee can grant the privileges to other users.

Supporting Types

GrantPrivilegesToAccountRoleOnAccountObject
, GrantPrivilegesToAccountRoleOnAccountObjectArgs

ObjectName
This property is required.
Changes to this property will trigger replacement.
string
The fully qualified name of the object on which privileges will be granted.
ObjectType
This property is required.
Changes to this property will trigger replacement.
string
The object type of the account object on which privileges will be granted. Valid values are: USER | RESOURCE MONITOR | WAREHOUSE | COMPUTE POOL | DATABASE | INTEGRATION | FAILOVER GROUP | REPLICATION GROUP | EXTERNAL VOLUME
ObjectName
This property is required.
Changes to this property will trigger replacement.
string
The fully qualified name of the object on which privileges will be granted.
ObjectType
This property is required.
Changes to this property will trigger replacement.
string
The object type of the account object on which privileges will be granted. Valid values are: USER | RESOURCE MONITOR | WAREHOUSE | COMPUTE POOL | DATABASE | INTEGRATION | FAILOVER GROUP | REPLICATION GROUP | EXTERNAL VOLUME
objectName
This property is required.
Changes to this property will trigger replacement.
String
The fully qualified name of the object on which privileges will be granted.
objectType
This property is required.
Changes to this property will trigger replacement.
String
The object type of the account object on which privileges will be granted. Valid values are: USER | RESOURCE MONITOR | WAREHOUSE | COMPUTE POOL | DATABASE | INTEGRATION | FAILOVER GROUP | REPLICATION GROUP | EXTERNAL VOLUME
objectName
This property is required.
Changes to this property will trigger replacement.
string
The fully qualified name of the object on which privileges will be granted.
objectType
This property is required.
Changes to this property will trigger replacement.
string
The object type of the account object on which privileges will be granted. Valid values are: USER | RESOURCE MONITOR | WAREHOUSE | COMPUTE POOL | DATABASE | INTEGRATION | FAILOVER GROUP | REPLICATION GROUP | EXTERNAL VOLUME
object_name
This property is required.
Changes to this property will trigger replacement.
str
The fully qualified name of the object on which privileges will be granted.
object_type
This property is required.
Changes to this property will trigger replacement.
str
The object type of the account object on which privileges will be granted. Valid values are: USER | RESOURCE MONITOR | WAREHOUSE | COMPUTE POOL | DATABASE | INTEGRATION | FAILOVER GROUP | REPLICATION GROUP | EXTERNAL VOLUME
objectName
This property is required.
Changes to this property will trigger replacement.
String
The fully qualified name of the object on which privileges will be granted.
objectType
This property is required.
Changes to this property will trigger replacement.
String
The object type of the account object on which privileges will be granted. Valid values are: USER | RESOURCE MONITOR | WAREHOUSE | COMPUTE POOL | DATABASE | INTEGRATION | FAILOVER GROUP | REPLICATION GROUP | EXTERNAL VOLUME

GrantPrivilegesToAccountRoleOnSchema
, GrantPrivilegesToAccountRoleOnSchemaArgs

AllSchemasInDatabase Changes to this property will trigger replacement. string
The fully qualified name of the database.
FutureSchemasInDatabase Changes to this property will trigger replacement. string
The fully qualified name of the database.
SchemaName Changes to this property will trigger replacement. string
The fully qualified name of the schema.
AllSchemasInDatabase Changes to this property will trigger replacement. string
The fully qualified name of the database.
FutureSchemasInDatabase Changes to this property will trigger replacement. string
The fully qualified name of the database.
SchemaName Changes to this property will trigger replacement. string
The fully qualified name of the schema.
allSchemasInDatabase Changes to this property will trigger replacement. String
The fully qualified name of the database.
futureSchemasInDatabase Changes to this property will trigger replacement. String
The fully qualified name of the database.
schemaName Changes to this property will trigger replacement. String
The fully qualified name of the schema.
allSchemasInDatabase Changes to this property will trigger replacement. string
The fully qualified name of the database.
futureSchemasInDatabase Changes to this property will trigger replacement. string
The fully qualified name of the database.
schemaName Changes to this property will trigger replacement. string
The fully qualified name of the schema.
all_schemas_in_database Changes to this property will trigger replacement. str
The fully qualified name of the database.
future_schemas_in_database Changes to this property will trigger replacement. str
The fully qualified name of the database.
schema_name Changes to this property will trigger replacement. str
The fully qualified name of the schema.
allSchemasInDatabase Changes to this property will trigger replacement. String
The fully qualified name of the database.
futureSchemasInDatabase Changes to this property will trigger replacement. String
The fully qualified name of the database.
schemaName Changes to this property will trigger replacement. String
The fully qualified name of the schema.

GrantPrivilegesToAccountRoleOnSchemaObject
, GrantPrivilegesToAccountRoleOnSchemaObjectArgs

All Changes to this property will trigger replacement. GrantPrivilegesToAccountRoleOnSchemaObjectAll
Configures the privilege to be granted on all objects in either a database or schema.
Future Changes to this property will trigger replacement. GrantPrivilegesToAccountRoleOnSchemaObjectFuture
Configures the privilege to be granted on future objects in either a database or schema.
ObjectName Changes to this property will trigger replacement. string
The fully qualified name of the object on which privileges will be granted.
ObjectType Changes to this property will trigger replacement. string
The object type of the schema object on which privileges will be granted. Valid values are: AGGREGATION POLICY | ALERT | AUTHENTICATION POLICY | CORTEX SEARCH SERVICE | DATA METRIC FUNCTION | DYNAMIC TABLE | EVENT TABLE | EXTERNAL TABLE | FILE FORMAT | FUNCTION | GIT REPOSITORY | HYBRID TABLE | IMAGE REPOSITORY | ICEBERG TABLE | MASKING POLICY | MATERIALIZED VIEW | MODEL | NETWORK RULE | NOTEBOOK | PACKAGES POLICY | PASSWORD POLICY | PIPE | PROCEDURE | PROJECTION POLICY | ROW ACCESS POLICY | SECRET | SERVICE | SESSION POLICY | SEQUENCE | SNAPSHOT | STAGE | STREAM | TABLE | TAG | TASK | VIEW | STREAMLIT | DATASET
All Changes to this property will trigger replacement. GrantPrivilegesToAccountRoleOnSchemaObjectAll
Configures the privilege to be granted on all objects in either a database or schema.
Future Changes to this property will trigger replacement. GrantPrivilegesToAccountRoleOnSchemaObjectFuture
Configures the privilege to be granted on future objects in either a database or schema.
ObjectName Changes to this property will trigger replacement. string
The fully qualified name of the object on which privileges will be granted.
ObjectType Changes to this property will trigger replacement. string
The object type of the schema object on which privileges will be granted. Valid values are: AGGREGATION POLICY | ALERT | AUTHENTICATION POLICY | CORTEX SEARCH SERVICE | DATA METRIC FUNCTION | DYNAMIC TABLE | EVENT TABLE | EXTERNAL TABLE | FILE FORMAT | FUNCTION | GIT REPOSITORY | HYBRID TABLE | IMAGE REPOSITORY | ICEBERG TABLE | MASKING POLICY | MATERIALIZED VIEW | MODEL | NETWORK RULE | NOTEBOOK | PACKAGES POLICY | PASSWORD POLICY | PIPE | PROCEDURE | PROJECTION POLICY | ROW ACCESS POLICY | SECRET | SERVICE | SESSION POLICY | SEQUENCE | SNAPSHOT | STAGE | STREAM | TABLE | TAG | TASK | VIEW | STREAMLIT | DATASET
all Changes to this property will trigger replacement. GrantPrivilegesToAccountRoleOnSchemaObjectAll
Configures the privilege to be granted on all objects in either a database or schema.
future Changes to this property will trigger replacement. GrantPrivilegesToAccountRoleOnSchemaObjectFuture
Configures the privilege to be granted on future objects in either a database or schema.
objectName Changes to this property will trigger replacement. String
The fully qualified name of the object on which privileges will be granted.
objectType Changes to this property will trigger replacement. String
The object type of the schema object on which privileges will be granted. Valid values are: AGGREGATION POLICY | ALERT | AUTHENTICATION POLICY | CORTEX SEARCH SERVICE | DATA METRIC FUNCTION | DYNAMIC TABLE | EVENT TABLE | EXTERNAL TABLE | FILE FORMAT | FUNCTION | GIT REPOSITORY | HYBRID TABLE | IMAGE REPOSITORY | ICEBERG TABLE | MASKING POLICY | MATERIALIZED VIEW | MODEL | NETWORK RULE | NOTEBOOK | PACKAGES POLICY | PASSWORD POLICY | PIPE | PROCEDURE | PROJECTION POLICY | ROW ACCESS POLICY | SECRET | SERVICE | SESSION POLICY | SEQUENCE | SNAPSHOT | STAGE | STREAM | TABLE | TAG | TASK | VIEW | STREAMLIT | DATASET
all Changes to this property will trigger replacement. GrantPrivilegesToAccountRoleOnSchemaObjectAll
Configures the privilege to be granted on all objects in either a database or schema.
future Changes to this property will trigger replacement. GrantPrivilegesToAccountRoleOnSchemaObjectFuture
Configures the privilege to be granted on future objects in either a database or schema.
objectName Changes to this property will trigger replacement. string
The fully qualified name of the object on which privileges will be granted.
objectType Changes to this property will trigger replacement. string
The object type of the schema object on which privileges will be granted. Valid values are: AGGREGATION POLICY | ALERT | AUTHENTICATION POLICY | CORTEX SEARCH SERVICE | DATA METRIC FUNCTION | DYNAMIC TABLE | EVENT TABLE | EXTERNAL TABLE | FILE FORMAT | FUNCTION | GIT REPOSITORY | HYBRID TABLE | IMAGE REPOSITORY | ICEBERG TABLE | MASKING POLICY | MATERIALIZED VIEW | MODEL | NETWORK RULE | NOTEBOOK | PACKAGES POLICY | PASSWORD POLICY | PIPE | PROCEDURE | PROJECTION POLICY | ROW ACCESS POLICY | SECRET | SERVICE | SESSION POLICY | SEQUENCE | SNAPSHOT | STAGE | STREAM | TABLE | TAG | TASK | VIEW | STREAMLIT | DATASET
all Changes to this property will trigger replacement. GrantPrivilegesToAccountRoleOnSchemaObjectAll
Configures the privilege to be granted on all objects in either a database or schema.
future Changes to this property will trigger replacement. GrantPrivilegesToAccountRoleOnSchemaObjectFuture
Configures the privilege to be granted on future objects in either a database or schema.
object_name Changes to this property will trigger replacement. str
The fully qualified name of the object on which privileges will be granted.
object_type Changes to this property will trigger replacement. str
The object type of the schema object on which privileges will be granted. Valid values are: AGGREGATION POLICY | ALERT | AUTHENTICATION POLICY | CORTEX SEARCH SERVICE | DATA METRIC FUNCTION | DYNAMIC TABLE | EVENT TABLE | EXTERNAL TABLE | FILE FORMAT | FUNCTION | GIT REPOSITORY | HYBRID TABLE | IMAGE REPOSITORY | ICEBERG TABLE | MASKING POLICY | MATERIALIZED VIEW | MODEL | NETWORK RULE | NOTEBOOK | PACKAGES POLICY | PASSWORD POLICY | PIPE | PROCEDURE | PROJECTION POLICY | ROW ACCESS POLICY | SECRET | SERVICE | SESSION POLICY | SEQUENCE | SNAPSHOT | STAGE | STREAM | TABLE | TAG | TASK | VIEW | STREAMLIT | DATASET
all Changes to this property will trigger replacement. Property Map
Configures the privilege to be granted on all objects in either a database or schema.
future Changes to this property will trigger replacement. Property Map
Configures the privilege to be granted on future objects in either a database or schema.
objectName Changes to this property will trigger replacement. String
The fully qualified name of the object on which privileges will be granted.
objectType Changes to this property will trigger replacement. String
The object type of the schema object on which privileges will be granted. Valid values are: AGGREGATION POLICY | ALERT | AUTHENTICATION POLICY | CORTEX SEARCH SERVICE | DATA METRIC FUNCTION | DYNAMIC TABLE | EVENT TABLE | EXTERNAL TABLE | FILE FORMAT | FUNCTION | GIT REPOSITORY | HYBRID TABLE | IMAGE REPOSITORY | ICEBERG TABLE | MASKING POLICY | MATERIALIZED VIEW | MODEL | NETWORK RULE | NOTEBOOK | PACKAGES POLICY | PASSWORD POLICY | PIPE | PROCEDURE | PROJECTION POLICY | ROW ACCESS POLICY | SECRET | SERVICE | SESSION POLICY | SEQUENCE | SNAPSHOT | STAGE | STREAM | TABLE | TAG | TASK | VIEW | STREAMLIT | DATASET

GrantPrivilegesToAccountRoleOnSchemaObjectAll
, GrantPrivilegesToAccountRoleOnSchemaObjectAllArgs

ObjectTypePlural
This property is required.
Changes to this property will trigger replacement.
string
The plural object type of the schema object on which privileges will be granted. Valid values are: AGGREGATION POLICIES | ALERTS | AUTHENTICATION POLICIES | CORTEX SEARCH SERVICES | DATA METRIC FUNCTIONS | DYNAMIC TABLES | EVENT TABLES | EXTERNAL TABLES | FILE FORMATS | FUNCTIONS | GIT REPOSITORIES | HYBRID TABLES | IMAGE REPOSITORIES | ICEBERG TABLES | MASKING POLICIES | MATERIALIZED VIEWS | MODELS | NETWORK RULES | NOTEBOOKS | PACKAGES POLICIES | PASSWORD POLICIES | PIPES | PROCEDURES | PROJECTION POLICIES | ROW ACCESS POLICIES | SECRETS | SERVICES | SESSION POLICIES | SEQUENCES | SNAPSHOTS | STAGES | STREAMS | TABLES | TAGS | TASKS | VIEWS | STREAMLITS | DATASETS.
InDatabase Changes to this property will trigger replacement. string
InSchema Changes to this property will trigger replacement. string
ObjectTypePlural
This property is required.
Changes to this property will trigger replacement.
string
The plural object type of the schema object on which privileges will be granted. Valid values are: AGGREGATION POLICIES | ALERTS | AUTHENTICATION POLICIES | CORTEX SEARCH SERVICES | DATA METRIC FUNCTIONS | DYNAMIC TABLES | EVENT TABLES | EXTERNAL TABLES | FILE FORMATS | FUNCTIONS | GIT REPOSITORIES | HYBRID TABLES | IMAGE REPOSITORIES | ICEBERG TABLES | MASKING POLICIES | MATERIALIZED VIEWS | MODELS | NETWORK RULES | NOTEBOOKS | PACKAGES POLICIES | PASSWORD POLICIES | PIPES | PROCEDURES | PROJECTION POLICIES | ROW ACCESS POLICIES | SECRETS | SERVICES | SESSION POLICIES | SEQUENCES | SNAPSHOTS | STAGES | STREAMS | TABLES | TAGS | TASKS | VIEWS | STREAMLITS | DATASETS.
InDatabase Changes to this property will trigger replacement. string
InSchema Changes to this property will trigger replacement. string
objectTypePlural
This property is required.
Changes to this property will trigger replacement.
String
The plural object type of the schema object on which privileges will be granted. Valid values are: AGGREGATION POLICIES | ALERTS | AUTHENTICATION POLICIES | CORTEX SEARCH SERVICES | DATA METRIC FUNCTIONS | DYNAMIC TABLES | EVENT TABLES | EXTERNAL TABLES | FILE FORMATS | FUNCTIONS | GIT REPOSITORIES | HYBRID TABLES | IMAGE REPOSITORIES | ICEBERG TABLES | MASKING POLICIES | MATERIALIZED VIEWS | MODELS | NETWORK RULES | NOTEBOOKS | PACKAGES POLICIES | PASSWORD POLICIES | PIPES | PROCEDURES | PROJECTION POLICIES | ROW ACCESS POLICIES | SECRETS | SERVICES | SESSION POLICIES | SEQUENCES | SNAPSHOTS | STAGES | STREAMS | TABLES | TAGS | TASKS | VIEWS | STREAMLITS | DATASETS.
inDatabase Changes to this property will trigger replacement. String
inSchema Changes to this property will trigger replacement. String
objectTypePlural
This property is required.
Changes to this property will trigger replacement.
string
The plural object type of the schema object on which privileges will be granted. Valid values are: AGGREGATION POLICIES | ALERTS | AUTHENTICATION POLICIES | CORTEX SEARCH SERVICES | DATA METRIC FUNCTIONS | DYNAMIC TABLES | EVENT TABLES | EXTERNAL TABLES | FILE FORMATS | FUNCTIONS | GIT REPOSITORIES | HYBRID TABLES | IMAGE REPOSITORIES | ICEBERG TABLES | MASKING POLICIES | MATERIALIZED VIEWS | MODELS | NETWORK RULES | NOTEBOOKS | PACKAGES POLICIES | PASSWORD POLICIES | PIPES | PROCEDURES | PROJECTION POLICIES | ROW ACCESS POLICIES | SECRETS | SERVICES | SESSION POLICIES | SEQUENCES | SNAPSHOTS | STAGES | STREAMS | TABLES | TAGS | TASKS | VIEWS | STREAMLITS | DATASETS.
inDatabase Changes to this property will trigger replacement. string
inSchema Changes to this property will trigger replacement. string
object_type_plural
This property is required.
Changes to this property will trigger replacement.
str
The plural object type of the schema object on which privileges will be granted. Valid values are: AGGREGATION POLICIES | ALERTS | AUTHENTICATION POLICIES | CORTEX SEARCH SERVICES | DATA METRIC FUNCTIONS | DYNAMIC TABLES | EVENT TABLES | EXTERNAL TABLES | FILE FORMATS | FUNCTIONS | GIT REPOSITORIES | HYBRID TABLES | IMAGE REPOSITORIES | ICEBERG TABLES | MASKING POLICIES | MATERIALIZED VIEWS | MODELS | NETWORK RULES | NOTEBOOKS | PACKAGES POLICIES | PASSWORD POLICIES | PIPES | PROCEDURES | PROJECTION POLICIES | ROW ACCESS POLICIES | SECRETS | SERVICES | SESSION POLICIES | SEQUENCES | SNAPSHOTS | STAGES | STREAMS | TABLES | TAGS | TASKS | VIEWS | STREAMLITS | DATASETS.
in_database Changes to this property will trigger replacement. str
in_schema Changes to this property will trigger replacement. str
objectTypePlural
This property is required.
Changes to this property will trigger replacement.
String
The plural object type of the schema object on which privileges will be granted. Valid values are: AGGREGATION POLICIES | ALERTS | AUTHENTICATION POLICIES | CORTEX SEARCH SERVICES | DATA METRIC FUNCTIONS | DYNAMIC TABLES | EVENT TABLES | EXTERNAL TABLES | FILE FORMATS | FUNCTIONS | GIT REPOSITORIES | HYBRID TABLES | IMAGE REPOSITORIES | ICEBERG TABLES | MASKING POLICIES | MATERIALIZED VIEWS | MODELS | NETWORK RULES | NOTEBOOKS | PACKAGES POLICIES | PASSWORD POLICIES | PIPES | PROCEDURES | PROJECTION POLICIES | ROW ACCESS POLICIES | SECRETS | SERVICES | SESSION POLICIES | SEQUENCES | SNAPSHOTS | STAGES | STREAMS | TABLES | TAGS | TASKS | VIEWS | STREAMLITS | DATASETS.
inDatabase Changes to this property will trigger replacement. String
inSchema Changes to this property will trigger replacement. String

GrantPrivilegesToAccountRoleOnSchemaObjectFuture
, GrantPrivilegesToAccountRoleOnSchemaObjectFutureArgs

ObjectTypePlural
This property is required.
Changes to this property will trigger replacement.
string
The plural object type of the schema object on which privileges will be granted. Valid values are: ALERTS | AUTHENTICATION POLICIES | DATA METRIC FUNCTIONS | DYNAMIC TABLES | EVENT TABLES | EXTERNAL TABLES | FILE FORMATS | FUNCTIONS | GIT REPOSITORIES | HYBRID TABLES | ICEBERG TABLES | MATERIALIZED VIEWS | MODELS | NETWORK RULES | NOTEBOOKS | PASSWORD POLICIES | PIPES | PROCEDURES | SECRETS | SERVICES | SEQUENCES | SNAPSHOTS | STAGES | STREAMS | TABLES | TASKS | VIEWS | DATASETS.
InDatabase Changes to this property will trigger replacement. string
InSchema Changes to this property will trigger replacement. string
ObjectTypePlural
This property is required.
Changes to this property will trigger replacement.
string
The plural object type of the schema object on which privileges will be granted. Valid values are: ALERTS | AUTHENTICATION POLICIES | DATA METRIC FUNCTIONS | DYNAMIC TABLES | EVENT TABLES | EXTERNAL TABLES | FILE FORMATS | FUNCTIONS | GIT REPOSITORIES | HYBRID TABLES | ICEBERG TABLES | MATERIALIZED VIEWS | MODELS | NETWORK RULES | NOTEBOOKS | PASSWORD POLICIES | PIPES | PROCEDURES | SECRETS | SERVICES | SEQUENCES | SNAPSHOTS | STAGES | STREAMS | TABLES | TASKS | VIEWS | DATASETS.
InDatabase Changes to this property will trigger replacement. string
InSchema Changes to this property will trigger replacement. string
objectTypePlural
This property is required.
Changes to this property will trigger replacement.
String
The plural object type of the schema object on which privileges will be granted. Valid values are: ALERTS | AUTHENTICATION POLICIES | DATA METRIC FUNCTIONS | DYNAMIC TABLES | EVENT TABLES | EXTERNAL TABLES | FILE FORMATS | FUNCTIONS | GIT REPOSITORIES | HYBRID TABLES | ICEBERG TABLES | MATERIALIZED VIEWS | MODELS | NETWORK RULES | NOTEBOOKS | PASSWORD POLICIES | PIPES | PROCEDURES | SECRETS | SERVICES | SEQUENCES | SNAPSHOTS | STAGES | STREAMS | TABLES | TASKS | VIEWS | DATASETS.
inDatabase Changes to this property will trigger replacement. String
inSchema Changes to this property will trigger replacement. String
objectTypePlural
This property is required.
Changes to this property will trigger replacement.
string
The plural object type of the schema object on which privileges will be granted. Valid values are: ALERTS | AUTHENTICATION POLICIES | DATA METRIC FUNCTIONS | DYNAMIC TABLES | EVENT TABLES | EXTERNAL TABLES | FILE FORMATS | FUNCTIONS | GIT REPOSITORIES | HYBRID TABLES | ICEBERG TABLES | MATERIALIZED VIEWS | MODELS | NETWORK RULES | NOTEBOOKS | PASSWORD POLICIES | PIPES | PROCEDURES | SECRETS | SERVICES | SEQUENCES | SNAPSHOTS | STAGES | STREAMS | TABLES | TASKS | VIEWS | DATASETS.
inDatabase Changes to this property will trigger replacement. string
inSchema Changes to this property will trigger replacement. string
object_type_plural
This property is required.
Changes to this property will trigger replacement.
str
The plural object type of the schema object on which privileges will be granted. Valid values are: ALERTS | AUTHENTICATION POLICIES | DATA METRIC FUNCTIONS | DYNAMIC TABLES | EVENT TABLES | EXTERNAL TABLES | FILE FORMATS | FUNCTIONS | GIT REPOSITORIES | HYBRID TABLES | ICEBERG TABLES | MATERIALIZED VIEWS | MODELS | NETWORK RULES | NOTEBOOKS | PASSWORD POLICIES | PIPES | PROCEDURES | SECRETS | SERVICES | SEQUENCES | SNAPSHOTS | STAGES | STREAMS | TABLES | TASKS | VIEWS | DATASETS.
in_database Changes to this property will trigger replacement. str
in_schema Changes to this property will trigger replacement. str
objectTypePlural
This property is required.
Changes to this property will trigger replacement.
String
The plural object type of the schema object on which privileges will be granted. Valid values are: ALERTS | AUTHENTICATION POLICIES | DATA METRIC FUNCTIONS | DYNAMIC TABLES | EVENT TABLES | EXTERNAL TABLES | FILE FORMATS | FUNCTIONS | GIT REPOSITORIES | HYBRID TABLES | ICEBERG TABLES | MATERIALIZED VIEWS | MODELS | NETWORK RULES | NOTEBOOKS | PASSWORD POLICIES | PIPES | PROCEDURES | SECRETS | SERVICES | SEQUENCES | SNAPSHOTS | STAGES | STREAMS | TABLES | TASKS | VIEWS | DATASETS.
inDatabase Changes to this property will trigger replacement. String
inSchema Changes to this property will trigger replacement. String

Package Details

Repository
Snowflake pulumi/pulumi-snowflake
License
Apache-2.0
Notes
This Pulumi package is based on the snowflake Terraform Provider.