alterRowAccessPolicyTags

Sets or removes tags on an existing row access policy in Snowflake.

Note: This change type does not support automatic rollback or database inspection features (snapshot, diff, diff-changelog, and generate-changelog commands).

Available attributes

Attribute

Type

Description

Required

catalogName

String

Name of the catalog (database) containing the policy

No

schemaName

String

Name of the schema containing the policy

No

policyName

String

Name of the row access policy to alter

Yes

ifExists

Boolean

Only alter if the policy exists using IF EXISTS

No

setTags

Map

Key-value pairs of tags to set on the policy*

No

unsetTags

List

List of tag names to remove from the policy*

No

* Exactly one of setTags or unsetTags must be specified. Tags must exist before use.

unsetTag attributes

Attribute

Type

Description

Required

tagName

String

Name of tag to remove

Yes

loading