Skip to main content

group_mappings

Creates, updates, deletes, gets or lists a group_mappings resource.

Overview

Namegroup_mappings
TypeResource
Idconfluent.iam.group_mappings

Fields

The following fields are returned by SELECT queries:

Group Mapping.

NameDatatypeDescription
idstringID is the "natural identifier" for an object within its scope/namespace; it is normally unique across time but not space. That is, you can assume that the ID will not be reclaimed and reused after an object is deleted ("time"); however, it may collide with IDs for other object kinds or objects of the same kind within a different scope/namespace ("space"). (example: dlz-f3a90de)
display_namestringThe name of the group mapping. (example: Application Developers)
api_versionstringAPIVersion defines the schema version of this representation of a resource. (iam.v2/sso)
descriptionstringA description explaining the purpose and use of the group mapping. (example: Admin access to production environment for Engineering)
filterstringA single group identifier or a condition based on supported CEL operators that defines which groups are included. (example: "kafka" in groups && "all" in groups || "everyone" in groups)
kindstringKind defines the object this REST resource represents. (GroupMapping)
metadataobjectObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
principalstringThe unique federated identity associated with this group mapping. (example: group-a1b2)
statestringThe current state of the group mapping. (example: ENABLED)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_iam_v2_sso_group_mappingselectidMake a request to read a group mapping.
list_iam_v2_sso_group_mappingsselectpage_size, page_tokenRetrieve a sorted, filtered, paginated list of all group mappings.
create_iam_v2_sso_group_mappinginsertdisplay_name, description, filterMake a request to create a group mapping.
update_iam_v2_sso_group_mappingupdateidMake a request to update a group mapping.

delete_iam_v2_sso_group_mappingdeleteidMake a request to delete a group mapping.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
idstringThe unique identifier for the group mapping.
page_sizeintegerA pagination size for collection requests.
page_tokenstringAn opaque pagination token for collection requests.

SELECT examples

Make a request to read a group mapping.

SELECT
id,
display_name,
api_version,
description,
filter,
kind,
metadata,
principal,
state
FROM confluent.iam.group_mappings
WHERE id = '{{ id }}' -- required
;

INSERT examples

Make a request to create a group mapping.

INSERT INTO confluent.iam.group_mappings (
display_name,
description,
filter
)
SELECT
'{{ display_name }}' /* required */,
'{{ description }}' /* required */,
'{{ filter }}' /* required */
RETURNING
id,
display_name,
api_version,
description,
filter,
kind,
metadata,
principal,
state
;

UPDATE examples

Make a request to update a group mapping.

UPDATE confluent.iam.group_mappings
SET
display_name = '{{ display_name }}',
description = '{{ description }}',
filter = '{{ filter }}'
WHERE
id = '{{ id }}' --required
RETURNING
id,
display_name,
api_version,
description,
filter,
kind,
metadata,
principal,
state;

DELETE examples

Make a request to delete a group mapping.

DELETE FROM confluent.iam.group_mappings
WHERE id = '{{ id }}' --required
;