:doc:`RDS <../../rds>` / Client / add_role_to_db_cluster

**********************
add_role_to_db_cluster
**********************



.. py:method:: RDS.Client.add_role_to_db_cluster(**kwargs)

  

  Associates an Identity and Access Management (IAM) role with a DB cluster.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AddRoleToDBCluster>`_  


  **Request Syntax**
  ::

    response = client.add_role_to_db_cluster(
        DBClusterIdentifier='string',
        RoleArn='string',
        FeatureName='string'
    )
    
  :type DBClusterIdentifier: string
  :param DBClusterIdentifier: **[REQUIRED]** 

    The name of the DB cluster to associate the IAM role with.

    

  
  :type RoleArn: string
  :param RoleArn: **[REQUIRED]** 

    The Amazon Resource Name (ARN) of the IAM role to associate with the Aurora DB cluster, for example ``arn:aws:iam::123456789012:role/AuroraAccessRole``.

    

  
  :type FeatureName: string
  :param FeatureName: 

    The name of the feature for the DB cluster that the IAM role is to be associated with. For information about supported feature names, see  DBEngineVersion.

    

  
  
  :returns: None
  **Exceptions**
  
  *   :py:class:`RDS.Client.exceptions.DBClusterRoleQuotaExceededFault`

  
  *   :py:class:`RDS.Client.exceptions.InvalidDBClusterStateFault`

  
  *   :py:class:`RDS.Client.exceptions.DBClusterRoleAlreadyExistsFault`

  
  *   :py:class:`RDS.Client.exceptions.DBClusterNotFoundFault`

  