Interface IamRoleAccess.Builder

  • Method Details

    • roleArn

      IamRoleAccess.Builder roleArn(String roleArn)

      The IAM role that AWS Context assumes to read this connection's data source. The role must be in your account. AWS Context rejects a role in another account. It has the same format as ingestionConfig.roleArn. You must have iam:PassRole permission on the role to pass it to AWS Context. Otherwise, CreateConnection and UpdateConnection fail with AccessDeniedException.

      Parameters:
      roleArn - The IAM role that AWS Context assumes to read this connection's data source. The role must be in your account. AWS Context rejects a role in another account. It has the same format as ingestionConfig.roleArn. You must have iam:PassRole permission on the role to pass it to AWS Context. Otherwise, CreateConnection and UpdateConnection fail with AccessDeniedException.
      Returns:
      Returns a reference to this object so that method calls can be chained together.