Skip to content

/AWS1/CL_EKSUPDATEROLEMAPPINGS

Updates to RBAC role mappings for an Argo CD capability. You can add, update, or remove role mappings in a single operation.

CONSTRUCTOR

IMPORTING

Optional arguments:

it_addorupdaterolemappings TYPE /AWS1/CL_EKSARGOCDROLEMAPPING=>TT_ARGOCDROLEMAPPINGLIST TT_ARGOCDROLEMAPPINGLIST

A list of role mappings to add or update. If a mapping for the specified role already exists, it will be updated with the new identities. If it doesn't exist, a new mapping will be created.

it_removerolemappings TYPE /AWS1/CL_EKSARGOCDROLEMAPPING=>TT_ARGOCDROLEMAPPINGLIST TT_ARGOCDROLEMAPPINGLIST

A list of role mappings to remove from the RBAC configuration. Each mapping specifies an Argo CD role (ADMIN, EDITOR, or VIEWER) and the identities to remove from that role.


Queryable Attributes

addOrUpdateRoleMappings

A list of role mappings to add or update. If a mapping for the specified role already exists, it will be updated with the new identities. If it doesn't exist, a new mapping will be created.

Accessible with the following methods

Method Description
GET_ADDORUPDATEROLEMAPPINGS() Getter for ADDORUPDATEROLEMAPPINGS, with configurable defaul
ASK_ADDORUPDATEROLEMAPPINGS() Getter for ADDORUPDATEROLEMAPPINGS w/ exceptions if field ha
HAS_ADDORUPDATEROLEMAPPINGS() Determine if ADDORUPDATEROLEMAPPINGS has a value

removeRoleMappings

A list of role mappings to remove from the RBAC configuration. Each mapping specifies an Argo CD role (ADMIN, EDITOR, or VIEWER) and the identities to remove from that role.

Accessible with the following methods

Method Description
GET_REMOVEROLEMAPPINGS() Getter for REMOVEROLEMAPPINGS, with configurable default
ASK_REMOVEROLEMAPPINGS() Getter for REMOVEROLEMAPPINGS w/ exceptions if field has no
HAS_REMOVEROLEMAPPINGS() Determine if REMOVEROLEMAPPINGS has a value