Skip to content

UpdateRoleMappings

Source code in docs_src/capo_eks/types/update_role_mappings.py
class UpdateRoleMappings(TypedDict, closed=True):
    add_or_update_role_mappings: NotRequired[
        "capo_eks.types.argo_cd_role_mapping_list.ArgoCdRoleMappingList"
    ]
    """<p>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.</p>"""
    remove_role_mappings: NotRequired[
        "capo_eks.types.argo_cd_role_mapping_list.ArgoCdRoleMappingList"
    ]
    """<p>A list of role mappings to remove from the RBAC configuration. Each mapping specifies an Argo CD role (<code>ADMIN</code>, <code>EDITOR</code>, or <code>VIEWER</code>) and the identities to remove from that role.</p>"""

add_or_update_role_mappings instance-attribute

add_or_update_role_mappings: NotRequired[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.

remove_role_mappings instance-attribute

remove_role_mappings: NotRequired[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.