snowflake.FailoverGroupGrant
Explore with Pulumi AI
Create FailoverGroupGrant Resource
new FailoverGroupGrant(name: string, args: FailoverGroupGrantArgs, opts?: CustomResourceOptions);
@overload
def FailoverGroupGrant(resource_name: str,
opts: Optional[ResourceOptions] = None,
enable_multiple_grants: Optional[bool] = None,
failover_group_name: Optional[str] = None,
privilege: Optional[str] = None,
revert_ownership_to_role_name: Optional[str] = None,
roles: Optional[Sequence[str]] = None,
with_grant_option: Optional[bool] = None)
@overload
def FailoverGroupGrant(resource_name: str,
args: FailoverGroupGrantArgs,
opts: Optional[ResourceOptions] = None)
func NewFailoverGroupGrant(ctx *Context, name string, args FailoverGroupGrantArgs, opts ...ResourceOption) (*FailoverGroupGrant, error)
public FailoverGroupGrant(string name, FailoverGroupGrantArgs args, CustomResourceOptions? opts = null)
public FailoverGroupGrant(String name, FailoverGroupGrantArgs args)
public FailoverGroupGrant(String name, FailoverGroupGrantArgs args, CustomResourceOptions options)
type: snowflake:FailoverGroupGrant
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FailoverGroupGrantArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args FailoverGroupGrantArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args FailoverGroupGrantArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FailoverGroupGrantArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FailoverGroupGrantArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
FailoverGroupGrant Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The FailoverGroupGrant resource accepts the following input properties:
- Roles List<string>
Grants privilege to these roles.
- Enable
Multiple boolGrants When this is set to true, multiple grants of the same type can be created. This will cause Terraform to not revoke grants applied to roles and objects outside Terraform.
- Failover
Group stringName The name of the failover group on which to grant privileges.
- Privilege string
The privilege to grant on the failover group. To grant all privileges, use the value
ALL PRIVILEGES
- Revert
Ownership stringTo Role Name The name of the role to revert ownership to on destroy. Has no effect unless
privilege
is set toOWNERSHIP
- With
Grant boolOption When this is set to true, allows the recipient role to grant the privileges to other roles.
- Roles []string
Grants privilege to these roles.
- Enable
Multiple boolGrants When this is set to true, multiple grants of the same type can be created. This will cause Terraform to not revoke grants applied to roles and objects outside Terraform.
- Failover
Group stringName The name of the failover group on which to grant privileges.
- Privilege string
The privilege to grant on the failover group. To grant all privileges, use the value
ALL PRIVILEGES
- Revert
Ownership stringTo Role Name The name of the role to revert ownership to on destroy. Has no effect unless
privilege
is set toOWNERSHIP
- With
Grant boolOption When this is set to true, allows the recipient role to grant the privileges to other roles.
- roles List<String>
Grants privilege to these roles.
- enable
Multiple BooleanGrants When this is set to true, multiple grants of the same type can be created. This will cause Terraform to not revoke grants applied to roles and objects outside Terraform.
- failover
Group StringName The name of the failover group on which to grant privileges.
- privilege String
The privilege to grant on the failover group. To grant all privileges, use the value
ALL PRIVILEGES
- revert
Ownership StringTo Role Name The name of the role to revert ownership to on destroy. Has no effect unless
privilege
is set toOWNERSHIP
- with
Grant BooleanOption When this is set to true, allows the recipient role to grant the privileges to other roles.
- roles string[]
Grants privilege to these roles.
- enable
Multiple booleanGrants When this is set to true, multiple grants of the same type can be created. This will cause Terraform to not revoke grants applied to roles and objects outside Terraform.
- failover
Group stringName The name of the failover group on which to grant privileges.
- privilege string
The privilege to grant on the failover group. To grant all privileges, use the value
ALL PRIVILEGES
- revert
Ownership stringTo Role Name The name of the role to revert ownership to on destroy. Has no effect unless
privilege
is set toOWNERSHIP
- with
Grant booleanOption When this is set to true, allows the recipient role to grant the privileges to other roles.
- roles Sequence[str]
Grants privilege to these roles.
- enable_
multiple_ boolgrants When this is set to true, multiple grants of the same type can be created. This will cause Terraform to not revoke grants applied to roles and objects outside Terraform.
- failover_
group_ strname The name of the failover group on which to grant privileges.
- privilege str
The privilege to grant on the failover group. To grant all privileges, use the value
ALL PRIVILEGES
- revert_
ownership_ strto_ role_ name The name of the role to revert ownership to on destroy. Has no effect unless
privilege
is set toOWNERSHIP
- with_
grant_ booloption When this is set to true, allows the recipient role to grant the privileges to other roles.
- roles List<String>
Grants privilege to these roles.
- enable
Multiple BooleanGrants When this is set to true, multiple grants of the same type can be created. This will cause Terraform to not revoke grants applied to roles and objects outside Terraform.
- failover
Group StringName The name of the failover group on which to grant privileges.
- privilege String
The privilege to grant on the failover group. To grant all privileges, use the value
ALL PRIVILEGES
- revert
Ownership StringTo Role Name The name of the role to revert ownership to on destroy. Has no effect unless
privilege
is set toOWNERSHIP
- with
Grant BooleanOption When this is set to true, allows the recipient role to grant the privileges to other roles.
Outputs
All input properties are implicitly available as output properties. Additionally, the FailoverGroupGrant 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 FailoverGroupGrant Resource
Get an existing FailoverGroupGrant 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?: FailoverGroupGrantState, opts?: CustomResourceOptions): FailoverGroupGrant
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
enable_multiple_grants: Optional[bool] = None,
failover_group_name: Optional[str] = None,
privilege: Optional[str] = None,
revert_ownership_to_role_name: Optional[str] = None,
roles: Optional[Sequence[str]] = None,
with_grant_option: Optional[bool] = None) -> FailoverGroupGrant
func GetFailoverGroupGrant(ctx *Context, name string, id IDInput, state *FailoverGroupGrantState, opts ...ResourceOption) (*FailoverGroupGrant, error)
public static FailoverGroupGrant Get(string name, Input<string> id, FailoverGroupGrantState? state, CustomResourceOptions? opts = null)
public static FailoverGroupGrant get(String name, Output<String> id, FailoverGroupGrantState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Enable
Multiple boolGrants When this is set to true, multiple grants of the same type can be created. This will cause Terraform to not revoke grants applied to roles and objects outside Terraform.
- Failover
Group stringName The name of the failover group on which to grant privileges.
- Privilege string
The privilege to grant on the failover group. To grant all privileges, use the value
ALL PRIVILEGES
- Revert
Ownership stringTo Role Name The name of the role to revert ownership to on destroy. Has no effect unless
privilege
is set toOWNERSHIP
- Roles List<string>
Grants privilege to these roles.
- With
Grant boolOption When this is set to true, allows the recipient role to grant the privileges to other roles.
- Enable
Multiple boolGrants When this is set to true, multiple grants of the same type can be created. This will cause Terraform to not revoke grants applied to roles and objects outside Terraform.
- Failover
Group stringName The name of the failover group on which to grant privileges.
- Privilege string
The privilege to grant on the failover group. To grant all privileges, use the value
ALL PRIVILEGES
- Revert
Ownership stringTo Role Name The name of the role to revert ownership to on destroy. Has no effect unless
privilege
is set toOWNERSHIP
- Roles []string
Grants privilege to these roles.
- With
Grant boolOption When this is set to true, allows the recipient role to grant the privileges to other roles.
- enable
Multiple BooleanGrants When this is set to true, multiple grants of the same type can be created. This will cause Terraform to not revoke grants applied to roles and objects outside Terraform.
- failover
Group StringName The name of the failover group on which to grant privileges.
- privilege String
The privilege to grant on the failover group. To grant all privileges, use the value
ALL PRIVILEGES
- revert
Ownership StringTo Role Name The name of the role to revert ownership to on destroy. Has no effect unless
privilege
is set toOWNERSHIP
- roles List<String>
Grants privilege to these roles.
- with
Grant BooleanOption When this is set to true, allows the recipient role to grant the privileges to other roles.
- enable
Multiple booleanGrants When this is set to true, multiple grants of the same type can be created. This will cause Terraform to not revoke grants applied to roles and objects outside Terraform.
- failover
Group stringName The name of the failover group on which to grant privileges.
- privilege string
The privilege to grant on the failover group. To grant all privileges, use the value
ALL PRIVILEGES
- revert
Ownership stringTo Role Name The name of the role to revert ownership to on destroy. Has no effect unless
privilege
is set toOWNERSHIP
- roles string[]
Grants privilege to these roles.
- with
Grant booleanOption When this is set to true, allows the recipient role to grant the privileges to other roles.
- enable_
multiple_ boolgrants When this is set to true, multiple grants of the same type can be created. This will cause Terraform to not revoke grants applied to roles and objects outside Terraform.
- failover_
group_ strname The name of the failover group on which to grant privileges.
- privilege str
The privilege to grant on the failover group. To grant all privileges, use the value
ALL PRIVILEGES
- revert_
ownership_ strto_ role_ name The name of the role to revert ownership to on destroy. Has no effect unless
privilege
is set toOWNERSHIP
- roles Sequence[str]
Grants privilege to these roles.
- with_
grant_ booloption When this is set to true, allows the recipient role to grant the privileges to other roles.
- enable
Multiple BooleanGrants When this is set to true, multiple grants of the same type can be created. This will cause Terraform to not revoke grants applied to roles and objects outside Terraform.
- failover
Group StringName The name of the failover group on which to grant privileges.
- privilege String
The privilege to grant on the failover group. To grant all privileges, use the value
ALL PRIVILEGES
- revert
Ownership StringTo Role Name The name of the role to revert ownership to on destroy. Has no effect unless
privilege
is set toOWNERSHIP
- roles List<String>
Grants privilege to these roles.
- with
Grant BooleanOption When this is set to true, allows the recipient role to grant the privileges to other roles.
Package Details
- Repository
- Snowflake pulumi/pulumi-snowflake
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
snowflake
Terraform Provider.