published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
Create HardcodedGroupMapper Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new HardcodedGroupMapper(name: string, args: HardcodedGroupMapperArgs, opts?: CustomResourceOptions);@overload
def HardcodedGroupMapper(resource_name: str,
args: HardcodedGroupMapperArgs,
opts: Optional[ResourceOptions] = None)
@overload
def HardcodedGroupMapper(resource_name: str,
opts: Optional[ResourceOptions] = None,
group: Optional[str] = None,
ldap_user_federation_id: Optional[str] = None,
realm_id: Optional[str] = None,
name: Optional[str] = None)func NewHardcodedGroupMapper(ctx *Context, name string, args HardcodedGroupMapperArgs, opts ...ResourceOption) (*HardcodedGroupMapper, error)public HardcodedGroupMapper(string name, HardcodedGroupMapperArgs args, CustomResourceOptions? opts = null)
public HardcodedGroupMapper(String name, HardcodedGroupMapperArgs args)
public HardcodedGroupMapper(String name, HardcodedGroupMapperArgs args, CustomResourceOptions options)
type: keycloak:ldap:HardcodedGroupMapper
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args HardcodedGroupMapperArgs
- 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 HardcodedGroupMapperArgs
- 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 HardcodedGroupMapperArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args HardcodedGroupMapperArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args HardcodedGroupMapperArgs
- 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 hardcodedGroupMapperResource = new Keycloak.Ldap.HardcodedGroupMapper("hardcodedGroupMapperResource", new()
{
Group = "string",
LdapUserFederationId = "string",
RealmId = "string",
Name = "string",
});
example, err := ldap.NewHardcodedGroupMapper(ctx, "hardcodedGroupMapperResource", &ldap.HardcodedGroupMapperArgs{
Group: pulumi.String("string"),
LdapUserFederationId: pulumi.String("string"),
RealmId: pulumi.String("string"),
Name: pulumi.String("string"),
})
var hardcodedGroupMapperResource = new HardcodedGroupMapper("hardcodedGroupMapperResource", HardcodedGroupMapperArgs.builder()
.group("string")
.ldapUserFederationId("string")
.realmId("string")
.name("string")
.build());
hardcoded_group_mapper_resource = keycloak.ldap.HardcodedGroupMapper("hardcodedGroupMapperResource",
group="string",
ldap_user_federation_id="string",
realm_id="string",
name="string")
const hardcodedGroupMapperResource = new keycloak.ldap.HardcodedGroupMapper("hardcodedGroupMapperResource", {
group: "string",
ldapUserFederationId: "string",
realmId: "string",
name: "string",
});
type: keycloak:ldap:HardcodedGroupMapper
properties:
group: string
ldapUserFederationId: string
name: string
realmId: string
HardcodedGroupMapper 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 HardcodedGroupMapper resource accepts the following input properties:
- Group string
- Group to grant to user.
- Ldap
User stringFederation Id - The ldap user federation provider to attach this mapper to.
- Realm
Id string - The realm in which the ldap user federation provider exists.
- Name string
- Display name of the mapper when displayed in the console.
- Group string
- Group to grant to user.
- Ldap
User stringFederation Id - The ldap user federation provider to attach this mapper to.
- Realm
Id string - The realm in which the ldap user federation provider exists.
- Name string
- Display name of the mapper when displayed in the console.
- group String
- Group to grant to user.
- ldap
User StringFederation Id - The ldap user federation provider to attach this mapper to.
- realm
Id String - The realm in which the ldap user federation provider exists.
- name String
- Display name of the mapper when displayed in the console.
- group string
- Group to grant to user.
- ldap
User stringFederation Id - The ldap user federation provider to attach this mapper to.
- realm
Id string - The realm in which the ldap user federation provider exists.
- name string
- Display name of the mapper when displayed in the console.
- group str
- Group to grant to user.
- ldap_
user_ strfederation_ id - The ldap user federation provider to attach this mapper to.
- realm_
id str - The realm in which the ldap user federation provider exists.
- name str
- Display name of the mapper when displayed in the console.
- group String
- Group to grant to user.
- ldap
User StringFederation Id - The ldap user federation provider to attach this mapper to.
- realm
Id String - The realm in which the ldap user federation provider exists.
- name String
- Display name of the mapper when displayed in the console.
Outputs
All input properties are implicitly available as output properties. Additionally, the HardcodedGroupMapper 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 HardcodedGroupMapper Resource
Get an existing HardcodedGroupMapper 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?: HardcodedGroupMapperState, opts?: CustomResourceOptions): HardcodedGroupMapper@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
group: Optional[str] = None,
ldap_user_federation_id: Optional[str] = None,
name: Optional[str] = None,
realm_id: Optional[str] = None) -> HardcodedGroupMapperfunc GetHardcodedGroupMapper(ctx *Context, name string, id IDInput, state *HardcodedGroupMapperState, opts ...ResourceOption) (*HardcodedGroupMapper, error)public static HardcodedGroupMapper Get(string name, Input<string> id, HardcodedGroupMapperState? state, CustomResourceOptions? opts = null)public static HardcodedGroupMapper get(String name, Output<String> id, HardcodedGroupMapperState state, CustomResourceOptions options)resources: _: type: keycloak:ldap:HardcodedGroupMapper get: id: ${id}- 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.
- Group string
- Group to grant to user.
- Ldap
User stringFederation Id - The ldap user federation provider to attach this mapper to.
- Name string
- Display name of the mapper when displayed in the console.
- Realm
Id string - The realm in which the ldap user federation provider exists.
- Group string
- Group to grant to user.
- Ldap
User stringFederation Id - The ldap user federation provider to attach this mapper to.
- Name string
- Display name of the mapper when displayed in the console.
- Realm
Id string - The realm in which the ldap user federation provider exists.
- group String
- Group to grant to user.
- ldap
User StringFederation Id - The ldap user federation provider to attach this mapper to.
- name String
- Display name of the mapper when displayed in the console.
- realm
Id String - The realm in which the ldap user federation provider exists.
- group string
- Group to grant to user.
- ldap
User stringFederation Id - The ldap user federation provider to attach this mapper to.
- name string
- Display name of the mapper when displayed in the console.
- realm
Id string - The realm in which the ldap user federation provider exists.
- group str
- Group to grant to user.
- ldap_
user_ strfederation_ id - The ldap user federation provider to attach this mapper to.
- name str
- Display name of the mapper when displayed in the console.
- realm_
id str - The realm in which the ldap user federation provider exists.
- group String
- Group to grant to user.
- ldap
User StringFederation Id - The ldap user federation provider to attach this mapper to.
- name String
- Display name of the mapper when displayed in the console.
- realm
Id String - The realm in which the ldap user federation provider exists.
Package Details
- Repository
- Keycloak pulumi/pulumi-keycloak
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
keycloakTerraform Provider.
published on Monday, Mar 9, 2026 by Pulumi
