Skip to content

/AWS1/CL_RSH=>MODIFYCLUSTERIAMROLES()

About ModifyClusterIamRoles

Modifies the list of Identity and Access Management (IAM) roles that can be used by the cluster to access other Amazon Web Services services.

The maximum number of IAM roles that you can associate is subject to a quota. For more information, go to Quotas and limits in the Amazon Redshift Cluster Management Guide.

Method Signature

IMPORTING

Required arguments:

IV_CLUSTERIDENTIFIER TYPE /AWS1/RSHSTRING /AWS1/RSHSTRING

The unique identifier of the cluster for which you want to associate or disassociate IAM roles.

Optional arguments:

IT_ADDIAMROLES TYPE /AWS1/CL_RSHIAMROLEARNLIST_W=>TT_IAMROLEARNLIST TT_IAMROLEARNLIST

Zero or more IAM roles to associate with the cluster. The roles must be in their Amazon Resource Name (ARN) format.

IT_REMOVEIAMROLES TYPE /AWS1/CL_RSHIAMROLEARNLIST_W=>TT_IAMROLEARNLIST TT_IAMROLEARNLIST

Zero or more IAM roles in ARN format to disassociate from the cluster.

IV_DEFAULTIAMROLEARN TYPE /AWS1/RSHSTRING /AWS1/RSHSTRING

The Amazon Resource Name (ARN) for the IAM role that was set as default for the cluster when the cluster was last modified.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_RSHMODCLSTIAMROLESRS /AWS1/CL_RSHMODCLSTIAMROLESRS