snowflake.GrantOwnership
Explore with Pulumi AI
Import
Import examples
OnObject on Schema ToAccountRole
$ pulumi import snowflake:index/grantOwnership:GrantOwnership example 'ToAccountRole|"account_role"|COPY|OnObject|SCHEMA|"database_name"."schema_name"'`
OnObject on Schema ToDatabaseRole
$ pulumi import snowflake:index/grantOwnership:GrantOwnership example 'ToDatabaseRole|"database_name"."database_role_name"|COPY|OnObject|SCHEMA|"database_name"."schema_name"'`
OnObject on Table
$ pulumi import snowflake:index/grantOwnership:GrantOwnership example 'ToAccountRole|"account_role"|COPY|OnObject|TABLE|"database_name"."schema_name"."table_name"'`
OnAll InDatabase
$ pulumi import snowflake:index/grantOwnership:GrantOwnership example 'ToAccountRole|"account_role"|REVOKE|OnAll|TABLES|InDatabase|"database_name"'`
OnAll InSchema
$ pulumi import snowflake:index/grantOwnership:GrantOwnership example 'ToAccountRole|"account_role"||OnAll|TABLES|InSchema|"database_name"."schema_name"'`
OnFuture InDatabase
$ pulumi import snowflake:index/grantOwnership:GrantOwnership example 'ToAccountRole|"account_role"||OnFuture|TABLES|InDatabase|"database_name"'`
OnFuture InSchema
$ pulumi import snowflake:index/grantOwnership:GrantOwnership example 'ToAccountRole|"account_role"|COPY|OnFuture|TABLES|InSchema|"database_name"."schema_name"'`
Create GrantOwnership Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new GrantOwnership(name: string, args: GrantOwnershipArgs, opts?: CustomResourceOptions);
@overload
def GrantOwnership(resource_name: str,
args: GrantOwnershipArgs,
opts: Optional[ResourceOptions] = None)
@overload
def GrantOwnership(resource_name: str,
opts: Optional[ResourceOptions] = None,
on: Optional[GrantOwnershipOnArgs] = None,
account_role_name: Optional[str] = None,
database_role_name: Optional[str] = None,
outbound_privileges: Optional[str] = None)
func NewGrantOwnership(ctx *Context, name string, args GrantOwnershipArgs, opts ...ResourceOption) (*GrantOwnership, error)
public GrantOwnership(string name, GrantOwnershipArgs args, CustomResourceOptions? opts = null)
public GrantOwnership(String name, GrantOwnershipArgs args)
public GrantOwnership(String name, GrantOwnershipArgs args, CustomResourceOptions options)
type: snowflake:GrantOwnership
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. GrantOwnershipArgs - 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. GrantOwnershipArgs - 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. GrantOwnershipArgs - 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. GrantOwnershipArgs - 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. GrantOwnershipArgs - 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 grantOwnershipResource = new Snowflake.GrantOwnership("grantOwnershipResource", new()
{
On = new Snowflake.Inputs.GrantOwnershipOnArgs
{
All = new Snowflake.Inputs.GrantOwnershipOnAllArgs
{
ObjectTypePlural = "string",
InDatabase = "string",
InSchema = "string",
},
Future = new Snowflake.Inputs.GrantOwnershipOnFutureArgs
{
ObjectTypePlural = "string",
InDatabase = "string",
InSchema = "string",
},
ObjectName = "string",
ObjectType = "string",
},
AccountRoleName = "string",
DatabaseRoleName = "string",
OutboundPrivileges = "string",
});
example, err := snowflake.NewGrantOwnership(ctx, "grantOwnershipResource", &snowflake.GrantOwnershipArgs{
On: &snowflake.GrantOwnershipOnArgs{
All: &snowflake.GrantOwnershipOnAllArgs{
ObjectTypePlural: pulumi.String("string"),
InDatabase: pulumi.String("string"),
InSchema: pulumi.String("string"),
},
Future: &snowflake.GrantOwnershipOnFutureArgs{
ObjectTypePlural: pulumi.String("string"),
InDatabase: pulumi.String("string"),
InSchema: pulumi.String("string"),
},
ObjectName: pulumi.String("string"),
ObjectType: pulumi.String("string"),
},
AccountRoleName: pulumi.String("string"),
DatabaseRoleName: pulumi.String("string"),
OutboundPrivileges: pulumi.String("string"),
})
var grantOwnershipResource = new GrantOwnership("grantOwnershipResource", GrantOwnershipArgs.builder()
.on(GrantOwnershipOnArgs.builder()
.all(GrantOwnershipOnAllArgs.builder()
.objectTypePlural("string")
.inDatabase("string")
.inSchema("string")
.build())
.future(GrantOwnershipOnFutureArgs.builder()
.objectTypePlural("string")
.inDatabase("string")
.inSchema("string")
.build())
.objectName("string")
.objectType("string")
.build())
.accountRoleName("string")
.databaseRoleName("string")
.outboundPrivileges("string")
.build());
grant_ownership_resource = snowflake.GrantOwnership("grantOwnershipResource",
on={
"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",
},
account_role_name="string",
database_role_name="string",
outbound_privileges="string")
const grantOwnershipResource = new snowflake.GrantOwnership("grantOwnershipResource", {
on: {
all: {
objectTypePlural: "string",
inDatabase: "string",
inSchema: "string",
},
future: {
objectTypePlural: "string",
inDatabase: "string",
inSchema: "string",
},
objectName: "string",
objectType: "string",
},
accountRoleName: "string",
databaseRoleName: "string",
outboundPrivileges: "string",
});
type: snowflake:GrantOwnership
properties:
accountRoleName: string
databaseRoleName: string
"on":
all:
inDatabase: string
inSchema: string
objectTypePlural: string
future:
inDatabase: string
inSchema: string
objectTypePlural: string
objectName: string
objectType: string
outboundPrivileges: string
GrantOwnership 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 GrantOwnership resource accepts the following input properties:
- On
This property is required. Changes to this property will trigger replacement.
Ownership On - Configures which object(s) should transfer their ownership to the specified role.
- Account
Role Name Changes to this property will trigger replacement.
- The fully qualified name of the account role to which privileges will be granted. For more information about this resource, see docs.
- Database
Role Name Changes to this property will trigger replacement.
- The fully qualified name of the database role to which privileges will be granted. For more information about this resource, see docs.
- Outbound
Privileges Changes to this property will trigger replacement.
- Specifies whether to remove or transfer all existing outbound privileges on the object when ownership is transferred to a new role. Available options are: REVOKE for removing existing privileges and COPY to transfer them with ownership. For more information head over to Snowflake documentation.
- On
This property is required. Changes to this property will trigger replacement.
Ownership On Args - Configures which object(s) should transfer their ownership to the specified role.
- Account
Role Name Changes to this property will trigger replacement.
- The fully qualified name of the account role to which privileges will be granted. For more information about this resource, see docs.
- Database
Role Name Changes to this property will trigger replacement.
- The fully qualified name of the database role to which privileges will be granted. For more information about this resource, see docs.
- Outbound
Privileges Changes to this property will trigger replacement.
- Specifies whether to remove or transfer all existing outbound privileges on the object when ownership is transferred to a new role. Available options are: REVOKE for removing existing privileges and COPY to transfer them with ownership. For more information head over to Snowflake documentation.
- on
This property is required. Changes to this property will trigger replacement.
Ownership On - Configures which object(s) should transfer their ownership to the specified role.
- account
Role Name Changes to this property will trigger replacement.
- The fully qualified name of the account role to which privileges will be granted. For more information about this resource, see docs.
- database
Role Name Changes to this property will trigger replacement.
- The fully qualified name of the database role to which privileges will be granted. For more information about this resource, see docs.
- outbound
Privileges Changes to this property will trigger replacement.
- Specifies whether to remove or transfer all existing outbound privileges on the object when ownership is transferred to a new role. Available options are: REVOKE for removing existing privileges and COPY to transfer them with ownership. For more information head over to Snowflake documentation.
- on
This property is required. Changes to this property will trigger replacement.
Ownership On - Configures which object(s) should transfer their ownership to the specified role.
- account
Role Name Changes to this property will trigger replacement.
- The fully qualified name of the account role to which privileges will be granted. For more information about this resource, see docs.
- database
Role Name Changes to this property will trigger replacement.
- The fully qualified name of the database role to which privileges will be granted. For more information about this resource, see docs.
- outbound
Privileges Changes to this property will trigger replacement.
- Specifies whether to remove or transfer all existing outbound privileges on the object when ownership is transferred to a new role. Available options are: REVOKE for removing existing privileges and COPY to transfer them with ownership. For more information head over to Snowflake documentation.
- on
This property is required. Changes to this property will trigger replacement.
Ownership On Args - Configures which object(s) should transfer their ownership to the specified role.
- account_
role_ name Changes to this property will trigger replacement.
- The fully qualified name of the account role to which privileges will be granted. For more information about this resource, see docs.
- database_
role_ name Changes to this property will trigger replacement.
- The fully qualified name of the database role to which privileges will be granted. For more information about this resource, see docs.
- outbound_
privileges Changes to this property will trigger replacement.
- Specifies whether to remove or transfer all existing outbound privileges on the object when ownership is transferred to a new role. Available options are: REVOKE for removing existing privileges and COPY to transfer them with ownership. For more information head over to Snowflake documentation.
- on
This property is required. Changes to this property will trigger replacement.
- Configures which object(s) should transfer their ownership to the specified role.
- account
Role Name Changes to this property will trigger replacement.
- The fully qualified name of the account role to which privileges will be granted. For more information about this resource, see docs.
- database
Role Name Changes to this property will trigger replacement.
- The fully qualified name of the database role to which privileges will be granted. For more information about this resource, see docs.
- outbound
Privileges Changes to this property will trigger replacement.
- Specifies whether to remove or transfer all existing outbound privileges on the object when ownership is transferred to a new role. Available options are: REVOKE for removing existing privileges and COPY to transfer them with ownership. For more information head over to Snowflake documentation.
Outputs
All input properties are implicitly available as output properties. Additionally, the GrantOwnership 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 GrantOwnership Resource
Get an existing GrantOwnership 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?: GrantOwnershipState, opts?: CustomResourceOptions): GrantOwnership
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_role_name: Optional[str] = None,
database_role_name: Optional[str] = None,
on: Optional[GrantOwnershipOnArgs] = None,
outbound_privileges: Optional[str] = None) -> GrantOwnership
func GetGrantOwnership(ctx *Context, name string, id IDInput, state *GrantOwnershipState, opts ...ResourceOption) (*GrantOwnership, error)
public static GrantOwnership Get(string name, Input<string> id, GrantOwnershipState? state, CustomResourceOptions? opts = null)
public static GrantOwnership get(String name, Output<String> id, GrantOwnershipState state, CustomResourceOptions options)
resources: _: type: snowflake:GrantOwnership 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.
- Account
Role Name Changes to this property will trigger replacement.
- The fully qualified name of the account role to which privileges will be granted. For more information about this resource, see docs.
- Database
Role Name Changes to this property will trigger replacement.
- The fully qualified name of the database role to which privileges will be granted. For more information about this resource, see docs.
- On
Changes to this property will trigger replacement.
Ownership On - Configures which object(s) should transfer their ownership to the specified role.
- Outbound
Privileges Changes to this property will trigger replacement.
- Specifies whether to remove or transfer all existing outbound privileges on the object when ownership is transferred to a new role. Available options are: REVOKE for removing existing privileges and COPY to transfer them with ownership. For more information head over to Snowflake documentation.
- Account
Role Name Changes to this property will trigger replacement.
- The fully qualified name of the account role to which privileges will be granted. For more information about this resource, see docs.
- Database
Role Name Changes to this property will trigger replacement.
- The fully qualified name of the database role to which privileges will be granted. For more information about this resource, see docs.
- On
Changes to this property will trigger replacement.
Ownership On Args - Configures which object(s) should transfer their ownership to the specified role.
- Outbound
Privileges Changes to this property will trigger replacement.
- Specifies whether to remove or transfer all existing outbound privileges on the object when ownership is transferred to a new role. Available options are: REVOKE for removing existing privileges and COPY to transfer them with ownership. For more information head over to Snowflake documentation.
- account
Role Name Changes to this property will trigger replacement.
- The fully qualified name of the account role to which privileges will be granted. For more information about this resource, see docs.
- database
Role Name Changes to this property will trigger replacement.
- The fully qualified name of the database role to which privileges will be granted. For more information about this resource, see docs.
- on
Changes to this property will trigger replacement.
Ownership On - Configures which object(s) should transfer their ownership to the specified role.
- outbound
Privileges Changes to this property will trigger replacement.
- Specifies whether to remove or transfer all existing outbound privileges on the object when ownership is transferred to a new role. Available options are: REVOKE for removing existing privileges and COPY to transfer them with ownership. For more information head over to Snowflake documentation.
- account
Role Name Changes to this property will trigger replacement.
- The fully qualified name of the account role to which privileges will be granted. For more information about this resource, see docs.
- database
Role Name Changes to this property will trigger replacement.
- The fully qualified name of the database role to which privileges will be granted. For more information about this resource, see docs.
- on
Changes to this property will trigger replacement.
Ownership On - Configures which object(s) should transfer their ownership to the specified role.
- outbound
Privileges Changes to this property will trigger replacement.
- Specifies whether to remove or transfer all existing outbound privileges on the object when ownership is transferred to a new role. Available options are: REVOKE for removing existing privileges and COPY to transfer them with ownership. For more information head over to Snowflake documentation.
- account_
role_ name Changes to this property will trigger replacement.
- The fully qualified name of the account role to which privileges will be granted. For more information about this resource, see docs.
- database_
role_ name Changes to this property will trigger replacement.
- The fully qualified name of the database role to which privileges will be granted. For more information about this resource, see docs.
- on
Changes to this property will trigger replacement.
Ownership On Args - Configures which object(s) should transfer their ownership to the specified role.
- outbound_
privileges Changes to this property will trigger replacement.
- Specifies whether to remove or transfer all existing outbound privileges on the object when ownership is transferred to a new role. Available options are: REVOKE for removing existing privileges and COPY to transfer them with ownership. For more information head over to Snowflake documentation.
- account
Role Name Changes to this property will trigger replacement.
- The fully qualified name of the account role to which privileges will be granted. For more information about this resource, see docs.
- database
Role Name Changes to this property will trigger replacement.
- The fully qualified name of the database role to which privileges will be granted. For more information about this resource, see docs.
- on
Changes to this property will trigger replacement.
- Configures which object(s) should transfer their ownership to the specified role.
- outbound
Privileges Changes to this property will trigger replacement.
- Specifies whether to remove or transfer all existing outbound privileges on the object when ownership is transferred to a new role. Available options are: REVOKE for removing existing privileges and COPY to transfer them with ownership. For more information head over to Snowflake documentation.
Supporting Types
GrantOwnershipOn, GrantOwnershipOnArgs
- All
Changes to this property will trigger replacement.
Ownership On All - Configures the privilege to be granted on all objects in either a database or schema.
- Future
Changes to this property will trigger replacement.
Ownership On Future - Configures the privilege to be granted on all objects in either a database or schema.
- Object
Name Changes to this property will trigger replacement.
- Specifies the identifier for the object on which you are transferring ownership.
- Object
Type Changes to this property will trigger replacement.
- Specifies the type of object on which you are transferring ownership. Available values are: AGGREGATION POLICY | ALERT | AUTHENTICATION POLICY | COMPUTE POOL | DATA METRIC FUNCTION | DATABASE | DATABASE ROLE | DYNAMIC TABLE | EVENT TABLE | EXTERNAL TABLE | EXTERNAL VOLUME | FAILOVER GROUP | FILE FORMAT | FUNCTION | GIT REPOSITORY | HYBRID TABLE | ICEBERG TABLE | IMAGE REPOSITORY | INTEGRATION | MATERIALIZED VIEW | NETWORK POLICY | NETWORK RULE | PACKAGES POLICY | PIPE | PROCEDURE | MASKING POLICY | PASSWORD POLICY | PROJECTION POLICY | REPLICATION GROUP | RESOURCE MONITOR | ROLE | ROW ACCESS POLICY | SCHEMA | SESSION POLICY | SECRET | SEQUENCE | STAGE | STREAM | TABLE | TAG | TASK | USER | VIEW | WAREHOUSE
- All
Changes to this property will trigger replacement.
Ownership On All - Configures the privilege to be granted on all objects in either a database or schema.
- Future
Changes to this property will trigger replacement.
Ownership On Future - Configures the privilege to be granted on all objects in either a database or schema.
- Object
Name Changes to this property will trigger replacement.
- Specifies the identifier for the object on which you are transferring ownership.
- Object
Type Changes to this property will trigger replacement.
- Specifies the type of object on which you are transferring ownership. Available values are: AGGREGATION POLICY | ALERT | AUTHENTICATION POLICY | COMPUTE POOL | DATA METRIC FUNCTION | DATABASE | DATABASE ROLE | DYNAMIC TABLE | EVENT TABLE | EXTERNAL TABLE | EXTERNAL VOLUME | FAILOVER GROUP | FILE FORMAT | FUNCTION | GIT REPOSITORY | HYBRID TABLE | ICEBERG TABLE | IMAGE REPOSITORY | INTEGRATION | MATERIALIZED VIEW | NETWORK POLICY | NETWORK RULE | PACKAGES POLICY | PIPE | PROCEDURE | MASKING POLICY | PASSWORD POLICY | PROJECTION POLICY | REPLICATION GROUP | RESOURCE MONITOR | ROLE | ROW ACCESS POLICY | SCHEMA | SESSION POLICY | SECRET | SEQUENCE | STAGE | STREAM | TABLE | TAG | TASK | USER | VIEW | WAREHOUSE
- all
Changes to this property will trigger replacement.
Ownership On All - Configures the privilege to be granted on all objects in either a database or schema.
- future
Changes to this property will trigger replacement.
Ownership On Future - Configures the privilege to be granted on all objects in either a database or schema.
- object
Name Changes to this property will trigger replacement.
- Specifies the identifier for the object on which you are transferring ownership.
- object
Type Changes to this property will trigger replacement.
- Specifies the type of object on which you are transferring ownership. Available values are: AGGREGATION POLICY | ALERT | AUTHENTICATION POLICY | COMPUTE POOL | DATA METRIC FUNCTION | DATABASE | DATABASE ROLE | DYNAMIC TABLE | EVENT TABLE | EXTERNAL TABLE | EXTERNAL VOLUME | FAILOVER GROUP | FILE FORMAT | FUNCTION | GIT REPOSITORY | HYBRID TABLE | ICEBERG TABLE | IMAGE REPOSITORY | INTEGRATION | MATERIALIZED VIEW | NETWORK POLICY | NETWORK RULE | PACKAGES POLICY | PIPE | PROCEDURE | MASKING POLICY | PASSWORD POLICY | PROJECTION POLICY | REPLICATION GROUP | RESOURCE MONITOR | ROLE | ROW ACCESS POLICY | SCHEMA | SESSION POLICY | SECRET | SEQUENCE | STAGE | STREAM | TABLE | TAG | TASK | USER | VIEW | WAREHOUSE
- all
Changes to this property will trigger replacement.
Ownership On All - Configures the privilege to be granted on all objects in either a database or schema.
- future
Changes to this property will trigger replacement.
Ownership On Future - Configures the privilege to be granted on all objects in either a database or schema.
- object
Name Changes to this property will trigger replacement.
- Specifies the identifier for the object on which you are transferring ownership.
- object
Type Changes to this property will trigger replacement.
- Specifies the type of object on which you are transferring ownership. Available values are: AGGREGATION POLICY | ALERT | AUTHENTICATION POLICY | COMPUTE POOL | DATA METRIC FUNCTION | DATABASE | DATABASE ROLE | DYNAMIC TABLE | EVENT TABLE | EXTERNAL TABLE | EXTERNAL VOLUME | FAILOVER GROUP | FILE FORMAT | FUNCTION | GIT REPOSITORY | HYBRID TABLE | ICEBERG TABLE | IMAGE REPOSITORY | INTEGRATION | MATERIALIZED VIEW | NETWORK POLICY | NETWORK RULE | PACKAGES POLICY | PIPE | PROCEDURE | MASKING POLICY | PASSWORD POLICY | PROJECTION POLICY | REPLICATION GROUP | RESOURCE MONITOR | ROLE | ROW ACCESS POLICY | SCHEMA | SESSION POLICY | SECRET | SEQUENCE | STAGE | STREAM | TABLE | TAG | TASK | USER | VIEW | WAREHOUSE
- all
Changes to this property will trigger replacement.
Ownership On All - Configures the privilege to be granted on all objects in either a database or schema.
- future
Changes to this property will trigger replacement.
Ownership On Future - Configures the privilege to be granted on all objects in either a database or schema.
- object_
name Changes to this property will trigger replacement.
- Specifies the identifier for the object on which you are transferring ownership.
- object_
type Changes to this property will trigger replacement.
- Specifies the type of object on which you are transferring ownership. Available values are: AGGREGATION POLICY | ALERT | AUTHENTICATION POLICY | COMPUTE POOL | DATA METRIC FUNCTION | DATABASE | DATABASE ROLE | DYNAMIC TABLE | EVENT TABLE | EXTERNAL TABLE | EXTERNAL VOLUME | FAILOVER GROUP | FILE FORMAT | FUNCTION | GIT REPOSITORY | HYBRID TABLE | ICEBERG TABLE | IMAGE REPOSITORY | INTEGRATION | MATERIALIZED VIEW | NETWORK POLICY | NETWORK RULE | PACKAGES POLICY | PIPE | PROCEDURE | MASKING POLICY | PASSWORD POLICY | PROJECTION POLICY | REPLICATION GROUP | RESOURCE MONITOR | ROLE | ROW ACCESS POLICY | SCHEMA | SESSION POLICY | SECRET | SEQUENCE | STAGE | STREAM | TABLE | TAG | TASK | USER | VIEW | WAREHOUSE
- all
Changes to this property will trigger replacement.
- Configures the privilege to be granted on all objects in either a database or schema.
- future
Changes to this property will trigger replacement.
- Configures the privilege to be granted on all objects in either a database or schema.
- object
Name Changes to this property will trigger replacement.
- Specifies the identifier for the object on which you are transferring ownership.
- object
Type Changes to this property will trigger replacement.
- Specifies the type of object on which you are transferring ownership. Available values are: AGGREGATION POLICY | ALERT | AUTHENTICATION POLICY | COMPUTE POOL | DATA METRIC FUNCTION | DATABASE | DATABASE ROLE | DYNAMIC TABLE | EVENT TABLE | EXTERNAL TABLE | EXTERNAL VOLUME | FAILOVER GROUP | FILE FORMAT | FUNCTION | GIT REPOSITORY | HYBRID TABLE | ICEBERG TABLE | IMAGE REPOSITORY | INTEGRATION | MATERIALIZED VIEW | NETWORK POLICY | NETWORK RULE | PACKAGES POLICY | PIPE | PROCEDURE | MASKING POLICY | PASSWORD POLICY | PROJECTION POLICY | REPLICATION GROUP | RESOURCE MONITOR | ROLE | ROW ACCESS POLICY | SCHEMA | SESSION POLICY | SECRET | SEQUENCE | STAGE | STREAM | TABLE | TAG | TASK | USER | VIEW | WAREHOUSE
GrantOwnershipOnAll, GrantOwnershipOnAllArgs
- Object
Type Plural This property is required. Changes to this property will trigger replacement.
- Specifies the type of object in plural form on which you are transferring ownership. Available values are: AGGREGATION POLICIES | ALERTS | AUTHENTICATION POLICIES | COMPUTE POOLS | DATA METRIC FUNCTIONS | DATABASES | DATABASE ROLES | DYNAMIC TABLES | EVENT TABLES | EXTERNAL TABLES | EXTERNAL VOLUMES | FAILOVER GROUPS | FILE FORMATS | FUNCTIONS | GIT REPOSITORIES | HYBRID TABLES | ICEBERG TABLES | IMAGE REPOSITORIES | INTEGRATIONS | MATERIALIZED VIEWS | NETWORK POLICIES | NETWORK RULES | PACKAGES POLICIES | PIPES | PROCEDURES | MASKING POLICIES | PASSWORD POLICIES | PROJECTION POLICIES | REPLICATION GROUPS | RESOURCE MONITORS | ROLES | ROW ACCESS POLICIES | SCHEMAS | SESSION POLICIES | SECRETS | SEQUENCES | STAGES | STREAMS | TABLES | TAGS | TASKS | USERS | VIEWS | WAREHOUSES. For more information head over to Snowflake documentation.
- In
Database Changes to this property will trigger replacement.
- The fully qualified name of the database. For more information about this resource, see docs.
- In
Schema Changes to this property will trigger replacement.
- The fully qualified name of the schema. For more information about this resource, see docs.
- Object
Type Plural This property is required. Changes to this property will trigger replacement.
- Specifies the type of object in plural form on which you are transferring ownership. Available values are: AGGREGATION POLICIES | ALERTS | AUTHENTICATION POLICIES | COMPUTE POOLS | DATA METRIC FUNCTIONS | DATABASES | DATABASE ROLES | DYNAMIC TABLES | EVENT TABLES | EXTERNAL TABLES | EXTERNAL VOLUMES | FAILOVER GROUPS | FILE FORMATS | FUNCTIONS | GIT REPOSITORIES | HYBRID TABLES | ICEBERG TABLES | IMAGE REPOSITORIES | INTEGRATIONS | MATERIALIZED VIEWS | NETWORK POLICIES | NETWORK RULES | PACKAGES POLICIES | PIPES | PROCEDURES | MASKING POLICIES | PASSWORD POLICIES | PROJECTION POLICIES | REPLICATION GROUPS | RESOURCE MONITORS | ROLES | ROW ACCESS POLICIES | SCHEMAS | SESSION POLICIES | SECRETS | SEQUENCES | STAGES | STREAMS | TABLES | TAGS | TASKS | USERS | VIEWS | WAREHOUSES. For more information head over to Snowflake documentation.
- In
Database Changes to this property will trigger replacement.
- The fully qualified name of the database. For more information about this resource, see docs.
- In
Schema Changes to this property will trigger replacement.
- The fully qualified name of the schema. For more information about this resource, see docs.
- object
Type Plural This property is required. Changes to this property will trigger replacement.
- Specifies the type of object in plural form on which you are transferring ownership. Available values are: AGGREGATION POLICIES | ALERTS | AUTHENTICATION POLICIES | COMPUTE POOLS | DATA METRIC FUNCTIONS | DATABASES | DATABASE ROLES | DYNAMIC TABLES | EVENT TABLES | EXTERNAL TABLES | EXTERNAL VOLUMES | FAILOVER GROUPS | FILE FORMATS | FUNCTIONS | GIT REPOSITORIES | HYBRID TABLES | ICEBERG TABLES | IMAGE REPOSITORIES | INTEGRATIONS | MATERIALIZED VIEWS | NETWORK POLICIES | NETWORK RULES | PACKAGES POLICIES | PIPES | PROCEDURES | MASKING POLICIES | PASSWORD POLICIES | PROJECTION POLICIES | REPLICATION GROUPS | RESOURCE MONITORS | ROLES | ROW ACCESS POLICIES | SCHEMAS | SESSION POLICIES | SECRETS | SEQUENCES | STAGES | STREAMS | TABLES | TAGS | TASKS | USERS | VIEWS | WAREHOUSES. For more information head over to Snowflake documentation.
- in
Database Changes to this property will trigger replacement.
- The fully qualified name of the database. For more information about this resource, see docs.
- in
Schema Changes to this property will trigger replacement.
- The fully qualified name of the schema. For more information about this resource, see docs.
- object
Type Plural This property is required. Changes to this property will trigger replacement.
- Specifies the type of object in plural form on which you are transferring ownership. Available values are: AGGREGATION POLICIES | ALERTS | AUTHENTICATION POLICIES | COMPUTE POOLS | DATA METRIC FUNCTIONS | DATABASES | DATABASE ROLES | DYNAMIC TABLES | EVENT TABLES | EXTERNAL TABLES | EXTERNAL VOLUMES | FAILOVER GROUPS | FILE FORMATS | FUNCTIONS | GIT REPOSITORIES | HYBRID TABLES | ICEBERG TABLES | IMAGE REPOSITORIES | INTEGRATIONS | MATERIALIZED VIEWS | NETWORK POLICIES | NETWORK RULES | PACKAGES POLICIES | PIPES | PROCEDURES | MASKING POLICIES | PASSWORD POLICIES | PROJECTION POLICIES | REPLICATION GROUPS | RESOURCE MONITORS | ROLES | ROW ACCESS POLICIES | SCHEMAS | SESSION POLICIES | SECRETS | SEQUENCES | STAGES | STREAMS | TABLES | TAGS | TASKS | USERS | VIEWS | WAREHOUSES. For more information head over to Snowflake documentation.
- in
Database Changes to this property will trigger replacement.
- The fully qualified name of the database. For more information about this resource, see docs.
- in
Schema Changes to this property will trigger replacement.
- The fully qualified name of the schema. For more information about this resource, see docs.
- object_
type_ plural This property is required. Changes to this property will trigger replacement.
- Specifies the type of object in plural form on which you are transferring ownership. Available values are: AGGREGATION POLICIES | ALERTS | AUTHENTICATION POLICIES | COMPUTE POOLS | DATA METRIC FUNCTIONS | DATABASES | DATABASE ROLES | DYNAMIC TABLES | EVENT TABLES | EXTERNAL TABLES | EXTERNAL VOLUMES | FAILOVER GROUPS | FILE FORMATS | FUNCTIONS | GIT REPOSITORIES | HYBRID TABLES | ICEBERG TABLES | IMAGE REPOSITORIES | INTEGRATIONS | MATERIALIZED VIEWS | NETWORK POLICIES | NETWORK RULES | PACKAGES POLICIES | PIPES | PROCEDURES | MASKING POLICIES | PASSWORD POLICIES | PROJECTION POLICIES | REPLICATION GROUPS | RESOURCE MONITORS | ROLES | ROW ACCESS POLICIES | SCHEMAS | SESSION POLICIES | SECRETS | SEQUENCES | STAGES | STREAMS | TABLES | TAGS | TASKS | USERS | VIEWS | WAREHOUSES. For more information head over to Snowflake documentation.
- in_
database Changes to this property will trigger replacement.
- The fully qualified name of the database. For more information about this resource, see docs.
- in_
schema Changes to this property will trigger replacement.
- The fully qualified name of the schema. For more information about this resource, see docs.
- object
Type Plural This property is required. Changes to this property will trigger replacement.
- Specifies the type of object in plural form on which you are transferring ownership. Available values are: AGGREGATION POLICIES | ALERTS | AUTHENTICATION POLICIES | COMPUTE POOLS | DATA METRIC FUNCTIONS | DATABASES | DATABASE ROLES | DYNAMIC TABLES | EVENT TABLES | EXTERNAL TABLES | EXTERNAL VOLUMES | FAILOVER GROUPS | FILE FORMATS | FUNCTIONS | GIT REPOSITORIES | HYBRID TABLES | ICEBERG TABLES | IMAGE REPOSITORIES | INTEGRATIONS | MATERIALIZED VIEWS | NETWORK POLICIES | NETWORK RULES | PACKAGES POLICIES | PIPES | PROCEDURES | MASKING POLICIES | PASSWORD POLICIES | PROJECTION POLICIES | REPLICATION GROUPS | RESOURCE MONITORS | ROLES | ROW ACCESS POLICIES | SCHEMAS | SESSION POLICIES | SECRETS | SEQUENCES | STAGES | STREAMS | TABLES | TAGS | TASKS | USERS | VIEWS | WAREHOUSES. For more information head over to Snowflake documentation.
- in
Database Changes to this property will trigger replacement.
- The fully qualified name of the database. For more information about this resource, see docs.
- in
Schema Changes to this property will trigger replacement.
- The fully qualified name of the schema. For more information about this resource, see docs.
GrantOwnershipOnFuture, GrantOwnershipOnFutureArgs
- Object
Type Plural This property is required. Changes to this property will trigger replacement.
- Specifies the type of object in plural form on which you are transferring ownership. Available values are: AGGREGATION POLICIES | ALERTS | AUTHENTICATION POLICIES | COMPUTE POOLS | DATA METRIC FUNCTIONS | DATABASES | DATABASE ROLES | DYNAMIC TABLES | EVENT TABLES | EXTERNAL TABLES | EXTERNAL VOLUMES | FAILOVER GROUPS | FILE FORMATS | FUNCTIONS | GIT REPOSITORIES | HYBRID TABLES | ICEBERG TABLES | IMAGE REPOSITORIES | INTEGRATIONS | MATERIALIZED VIEWS | NETWORK POLICIES | NETWORK RULES | PACKAGES POLICIES | PIPES | PROCEDURES | MASKING POLICIES | PASSWORD POLICIES | PROJECTION POLICIES | REPLICATION GROUPS | RESOURCE MONITORS | ROLES | ROW ACCESS POLICIES | SCHEMAS | SESSION POLICIES | SECRETS | SEQUENCES | STAGES | STREAMS | TABLES | TAGS | TASKS | USERS | VIEWS | WAREHOUSES. For more information head over to Snowflake documentation.
- In
Database Changes to this property will trigger replacement.
- The fully qualified name of the database. For more information about this resource, see docs.
- In
Schema Changes to this property will trigger replacement.
- The fully qualified name of the schema. For more information about this resource, see docs.
- Object
Type Plural This property is required. Changes to this property will trigger replacement.
- Specifies the type of object in plural form on which you are transferring ownership. Available values are: AGGREGATION POLICIES | ALERTS | AUTHENTICATION POLICIES | COMPUTE POOLS | DATA METRIC FUNCTIONS | DATABASES | DATABASE ROLES | DYNAMIC TABLES | EVENT TABLES | EXTERNAL TABLES | EXTERNAL VOLUMES | FAILOVER GROUPS | FILE FORMATS | FUNCTIONS | GIT REPOSITORIES | HYBRID TABLES | ICEBERG TABLES | IMAGE REPOSITORIES | INTEGRATIONS | MATERIALIZED VIEWS | NETWORK POLICIES | NETWORK RULES | PACKAGES POLICIES | PIPES | PROCEDURES | MASKING POLICIES | PASSWORD POLICIES | PROJECTION POLICIES | REPLICATION GROUPS | RESOURCE MONITORS | ROLES | ROW ACCESS POLICIES | SCHEMAS | SESSION POLICIES | SECRETS | SEQUENCES | STAGES | STREAMS | TABLES | TAGS | TASKS | USERS | VIEWS | WAREHOUSES. For more information head over to Snowflake documentation.
- In
Database Changes to this property will trigger replacement.
- The fully qualified name of the database. For more information about this resource, see docs.
- In
Schema Changes to this property will trigger replacement.
- The fully qualified name of the schema. For more information about this resource, see docs.
- object
Type Plural This property is required. Changes to this property will trigger replacement.
- Specifies the type of object in plural form on which you are transferring ownership. Available values are: AGGREGATION POLICIES | ALERTS | AUTHENTICATION POLICIES | COMPUTE POOLS | DATA METRIC FUNCTIONS | DATABASES | DATABASE ROLES | DYNAMIC TABLES | EVENT TABLES | EXTERNAL TABLES | EXTERNAL VOLUMES | FAILOVER GROUPS | FILE FORMATS | FUNCTIONS | GIT REPOSITORIES | HYBRID TABLES | ICEBERG TABLES | IMAGE REPOSITORIES | INTEGRATIONS | MATERIALIZED VIEWS | NETWORK POLICIES | NETWORK RULES | PACKAGES POLICIES | PIPES | PROCEDURES | MASKING POLICIES | PASSWORD POLICIES | PROJECTION POLICIES | REPLICATION GROUPS | RESOURCE MONITORS | ROLES | ROW ACCESS POLICIES | SCHEMAS | SESSION POLICIES | SECRETS | SEQUENCES | STAGES | STREAMS | TABLES | TAGS | TASKS | USERS | VIEWS | WAREHOUSES. For more information head over to Snowflake documentation.
- in
Database Changes to this property will trigger replacement.
- The fully qualified name of the database. For more information about this resource, see docs.
- in
Schema Changes to this property will trigger replacement.
- The fully qualified name of the schema. For more information about this resource, see docs.
- object
Type Plural This property is required. Changes to this property will trigger replacement.
- Specifies the type of object in plural form on which you are transferring ownership. Available values are: AGGREGATION POLICIES | ALERTS | AUTHENTICATION POLICIES | COMPUTE POOLS | DATA METRIC FUNCTIONS | DATABASES | DATABASE ROLES | DYNAMIC TABLES | EVENT TABLES | EXTERNAL TABLES | EXTERNAL VOLUMES | FAILOVER GROUPS | FILE FORMATS | FUNCTIONS | GIT REPOSITORIES | HYBRID TABLES | ICEBERG TABLES | IMAGE REPOSITORIES | INTEGRATIONS | MATERIALIZED VIEWS | NETWORK POLICIES | NETWORK RULES | PACKAGES POLICIES | PIPES | PROCEDURES | MASKING POLICIES | PASSWORD POLICIES | PROJECTION POLICIES | REPLICATION GROUPS | RESOURCE MONITORS | ROLES | ROW ACCESS POLICIES | SCHEMAS | SESSION POLICIES | SECRETS | SEQUENCES | STAGES | STREAMS | TABLES | TAGS | TASKS | USERS | VIEWS | WAREHOUSES. For more information head over to Snowflake documentation.
- in
Database Changes to this property will trigger replacement.
- The fully qualified name of the database. For more information about this resource, see docs.
- in
Schema Changes to this property will trigger replacement.
- The fully qualified name of the schema. For more information about this resource, see docs.
- object_
type_ plural This property is required. Changes to this property will trigger replacement.
- Specifies the type of object in plural form on which you are transferring ownership. Available values are: AGGREGATION POLICIES | ALERTS | AUTHENTICATION POLICIES | COMPUTE POOLS | DATA METRIC FUNCTIONS | DATABASES | DATABASE ROLES | DYNAMIC TABLES | EVENT TABLES | EXTERNAL TABLES | EXTERNAL VOLUMES | FAILOVER GROUPS | FILE FORMATS | FUNCTIONS | GIT REPOSITORIES | HYBRID TABLES | ICEBERG TABLES | IMAGE REPOSITORIES | INTEGRATIONS | MATERIALIZED VIEWS | NETWORK POLICIES | NETWORK RULES | PACKAGES POLICIES | PIPES | PROCEDURES | MASKING POLICIES | PASSWORD POLICIES | PROJECTION POLICIES | REPLICATION GROUPS | RESOURCE MONITORS | ROLES | ROW ACCESS POLICIES | SCHEMAS | SESSION POLICIES | SECRETS | SEQUENCES | STAGES | STREAMS | TABLES | TAGS | TASKS | USERS | VIEWS | WAREHOUSES. For more information head over to Snowflake documentation.
- in_
database Changes to this property will trigger replacement.
- The fully qualified name of the database. For more information about this resource, see docs.
- in_
schema Changes to this property will trigger replacement.
- The fully qualified name of the schema. For more information about this resource, see docs.
- object
Type Plural This property is required. Changes to this property will trigger replacement.
- Specifies the type of object in plural form on which you are transferring ownership. Available values are: AGGREGATION POLICIES | ALERTS | AUTHENTICATION POLICIES | COMPUTE POOLS | DATA METRIC FUNCTIONS | DATABASES | DATABASE ROLES | DYNAMIC TABLES | EVENT TABLES | EXTERNAL TABLES | EXTERNAL VOLUMES | FAILOVER GROUPS | FILE FORMATS | FUNCTIONS | GIT REPOSITORIES | HYBRID TABLES | ICEBERG TABLES | IMAGE REPOSITORIES | INTEGRATIONS | MATERIALIZED VIEWS | NETWORK POLICIES | NETWORK RULES | PACKAGES POLICIES | PIPES | PROCEDURES | MASKING POLICIES | PASSWORD POLICIES | PROJECTION POLICIES | REPLICATION GROUPS | RESOURCE MONITORS | ROLES | ROW ACCESS POLICIES | SCHEMAS | SESSION POLICIES | SECRETS | SEQUENCES | STAGES | STREAMS | TABLES | TAGS | TASKS | USERS | VIEWS | WAREHOUSES. For more information head over to Snowflake documentation.
- in
Database Changes to this property will trigger replacement.
- The fully qualified name of the database. For more information about this resource, see docs.
- in
Schema Changes to this property will trigger replacement.
- The fully qualified name of the schema. For more information about this resource, see docs.
Package Details
- Repository
- Snowflake pulumi/pulumi-snowflake
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
snowflake
Terraform Provider.