keycloak.UsersPermissions
Create UsersPermissions Resource
new UsersPermissions(name: string, args: UsersPermissionsArgs, opts?: CustomResourceOptions);
@overload
def UsersPermissions(resource_name: str,
opts: Optional[ResourceOptions] = None,
impersonate_scope: Optional[UsersPermissionsImpersonateScopeArgs] = None,
manage_group_membership_scope: Optional[UsersPermissionsManageGroupMembershipScopeArgs] = None,
manage_scope: Optional[UsersPermissionsManageScopeArgs] = None,
map_roles_scope: Optional[UsersPermissionsMapRolesScopeArgs] = None,
realm_id: Optional[str] = None,
user_impersonated_scope: Optional[UsersPermissionsUserImpersonatedScopeArgs] = None,
view_scope: Optional[UsersPermissionsViewScopeArgs] = None)
@overload
def UsersPermissions(resource_name: str,
args: UsersPermissionsArgs,
opts: Optional[ResourceOptions] = None)
func NewUsersPermissions(ctx *Context, name string, args UsersPermissionsArgs, opts ...ResourceOption) (*UsersPermissions, error)
public UsersPermissions(string name, UsersPermissionsArgs args, CustomResourceOptions? opts = null)
public UsersPermissions(String name, UsersPermissionsArgs args)
public UsersPermissions(String name, UsersPermissionsArgs args, CustomResourceOptions options)
type: keycloak:UsersPermissions
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args UsersPermissionsArgs
- 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 UsersPermissionsArgs
- 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 UsersPermissionsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args UsersPermissionsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args UsersPermissionsArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
UsersPermissions 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 UsersPermissions resource accepts the following input properties:
- Realm
Id string - Impersonate
Scope UsersPermissions Impersonate Scope Args - Manage
Group UsersMembership Scope Permissions Manage Group Membership Scope Args - Manage
Scope UsersPermissions Manage Scope Args - Map
Roles UsersScope Permissions Map Roles Scope Args - User
Impersonated UsersScope Permissions User Impersonated Scope Args - View
Scope UsersPermissions View Scope Args
- Realm
Id string - Impersonate
Scope UsersPermissions Impersonate Scope Args - Manage
Group UsersMembership Scope Permissions Manage Group Membership Scope Args - Manage
Scope UsersPermissions Manage Scope Args - Map
Roles UsersScope Permissions Map Roles Scope Args - User
Impersonated UsersScope Permissions User Impersonated Scope Args - View
Scope UsersPermissions View Scope Args
- realm
Id String - impersonate
Scope UsersPermissions Impersonate Scope Args - manage
Group UsersMembership Scope Permissions Manage Group Membership Scope Args - manage
Scope UsersPermissions Manage Scope Args - map
Roles UsersScope Permissions Map Roles Scope Args - user
Impersonated UsersScope Permissions User Impersonated Scope Args - view
Scope UsersPermissions View Scope Args
- realm
Id string - impersonate
Scope UsersPermissions Impersonate Scope Args - manage
Group UsersMembership Scope Permissions Manage Group Membership Scope Args - manage
Scope UsersPermissions Manage Scope Args - map
Roles UsersScope Permissions Map Roles Scope Args - user
Impersonated UsersScope Permissions User Impersonated Scope Args - view
Scope UsersPermissions View Scope Args
- realm_
id str - impersonate_
scope UsersPermissions Impersonate Scope Args - manage_
group_ Usersmembership_ scope Permissions Manage Group Membership Scope Args - manage_
scope UsersPermissions Manage Scope Args - map_
roles_ Usersscope Permissions Map Roles Scope Args - user_
impersonated_ Usersscope Permissions User Impersonated Scope Args - view_
scope UsersPermissions View Scope Args
Outputs
All input properties are implicitly available as output properties. Additionally, the UsersPermissions resource produces the following output properties:
Look up Existing UsersPermissions Resource
Get an existing UsersPermissions 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?: UsersPermissionsState, opts?: CustomResourceOptions): UsersPermissions
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
authorization_resource_server_id: Optional[str] = None,
enabled: Optional[bool] = None,
impersonate_scope: Optional[UsersPermissionsImpersonateScopeArgs] = None,
manage_group_membership_scope: Optional[UsersPermissionsManageGroupMembershipScopeArgs] = None,
manage_scope: Optional[UsersPermissionsManageScopeArgs] = None,
map_roles_scope: Optional[UsersPermissionsMapRolesScopeArgs] = None,
realm_id: Optional[str] = None,
user_impersonated_scope: Optional[UsersPermissionsUserImpersonatedScopeArgs] = None,
view_scope: Optional[UsersPermissionsViewScopeArgs] = None) -> UsersPermissions
func GetUsersPermissions(ctx *Context, name string, id IDInput, state *UsersPermissionsState, opts ...ResourceOption) (*UsersPermissions, error)
public static UsersPermissions Get(string name, Input<string> id, UsersPermissionsState? state, CustomResourceOptions? opts = null)
public static UsersPermissions get(String name, Output<String> id, UsersPermissionsState 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.
- string
Resource server id representing the realm management client on which this permission is managed
- Enabled bool
- Impersonate
Scope UsersPermissions Impersonate Scope Args - Manage
Group UsersMembership Scope Permissions Manage Group Membership Scope Args - Manage
Scope UsersPermissions Manage Scope Args - Map
Roles UsersScope Permissions Map Roles Scope Args - Realm
Id string - User
Impersonated UsersScope Permissions User Impersonated Scope Args - View
Scope UsersPermissions View Scope Args
- string
Resource server id representing the realm management client on which this permission is managed
- Enabled bool
- Impersonate
Scope UsersPermissions Impersonate Scope Args - Manage
Group UsersMembership Scope Permissions Manage Group Membership Scope Args - Manage
Scope UsersPermissions Manage Scope Args - Map
Roles UsersScope Permissions Map Roles Scope Args - Realm
Id string - User
Impersonated UsersScope Permissions User Impersonated Scope Args - View
Scope UsersPermissions View Scope Args
- String
Resource server id representing the realm management client on which this permission is managed
- enabled Boolean
- impersonate
Scope UsersPermissions Impersonate Scope Args - manage
Group UsersMembership Scope Permissions Manage Group Membership Scope Args - manage
Scope UsersPermissions Manage Scope Args - map
Roles UsersScope Permissions Map Roles Scope Args - realm
Id String - user
Impersonated UsersScope Permissions User Impersonated Scope Args - view
Scope UsersPermissions View Scope Args
- string
Resource server id representing the realm management client on which this permission is managed
- enabled boolean
- impersonate
Scope UsersPermissions Impersonate Scope Args - manage
Group UsersMembership Scope Permissions Manage Group Membership Scope Args - manage
Scope UsersPermissions Manage Scope Args - map
Roles UsersScope Permissions Map Roles Scope Args - realm
Id string - user
Impersonated UsersScope Permissions User Impersonated Scope Args - view
Scope UsersPermissions View Scope Args
- str
Resource server id representing the realm management client on which this permission is managed
- enabled bool
- impersonate_
scope UsersPermissions Impersonate Scope Args - manage_
group_ Usersmembership_ scope Permissions Manage Group Membership Scope Args - manage_
scope UsersPermissions Manage Scope Args - map_
roles_ Usersscope Permissions Map Roles Scope Args - realm_
id str - user_
impersonated_ Usersscope Permissions User Impersonated Scope Args - view_
scope UsersPermissions View Scope Args
- String
Resource server id representing the realm management client on which this permission is managed
- enabled Boolean
- impersonate
Scope Property Map - manage
Group Property MapMembership Scope - manage
Scope Property Map - map
Roles Property MapScope - realm
Id String - user
Impersonated Property MapScope - view
Scope Property Map
Supporting Types
UsersPermissionsImpersonateScope
- Decision
Strategy string - Description string
- Policies List<string>
- Decision
Strategy string - Description string
- Policies []string
- decision
Strategy String - description String
- policies List<String>
- decision
Strategy string - description string
- policies string[]
- decision_
strategy str - description str
- policies Sequence[str]
- decision
Strategy String - description String
- policies List<String>
UsersPermissionsManageGroupMembershipScope
- Decision
Strategy string - Description string
- Policies List<string>
- Decision
Strategy string - Description string
- Policies []string
- decision
Strategy String - description String
- policies List<String>
- decision
Strategy string - description string
- policies string[]
- decision_
strategy str - description str
- policies Sequence[str]
- decision
Strategy String - description String
- policies List<String>
UsersPermissionsManageScope
- Decision
Strategy string - Description string
- Policies List<string>
- Decision
Strategy string - Description string
- Policies []string
- decision
Strategy String - description String
- policies List<String>
- decision
Strategy string - description string
- policies string[]
- decision_
strategy str - description str
- policies Sequence[str]
- decision
Strategy String - description String
- policies List<String>
UsersPermissionsMapRolesScope
- Decision
Strategy string - Description string
- Policies List<string>
- Decision
Strategy string - Description string
- Policies []string
- decision
Strategy String - description String
- policies List<String>
- decision
Strategy string - description string
- policies string[]
- decision_
strategy str - description str
- policies Sequence[str]
- decision
Strategy String - description String
- policies List<String>
UsersPermissionsUserImpersonatedScope
- Decision
Strategy string - Description string
- Policies List<string>
- Decision
Strategy string - Description string
- Policies []string
- decision
Strategy String - description String
- policies List<String>
- decision
Strategy string - description string
- policies string[]
- decision_
strategy str - description str
- policies Sequence[str]
- decision
Strategy String - description String
- policies List<String>
UsersPermissionsViewScope
- Decision
Strategy string - Description string
- Policies List<string>
- Decision
Strategy string - Description string
- Policies []string
- decision
Strategy String - description String
- policies List<String>
- decision
Strategy string - description string
- policies string[]
- decision_
strategy str - description str
- policies Sequence[str]
- decision
Strategy String - description String
- policies List<String>
Package Details
- Repository
- Keycloak pulumi/pulumi-keycloak
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
keycloak
Terraform Provider.