Updated on 2026-11-06 GMT+08:00

ALTER ROLE

Function

ALTER ROLE is used to modify a role in LakeFormation.

Syntax

  • Syntax 1
    1
    ALTER ROLE role_name [ options ] name_list;
    

    options can be:

    1
    2
    | ADD USER/USER GROUP/AGENT
    | DROP USER/USER GROUP/AGENT
    
  • Syntax 2
    1
    ALTER ROLE role_name COMMENT comment_text;
    

Parameter Description

  • role_name: name of the role
  • name_list: list of users, user groups, and agencies
  • comment_text: description